This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Go patch committed: Always put immutable structs in unique section


Hello!

Patch [1] or [2] introduce following warning on alpha:

/space/uros/gcc-build/gcc/testsuite/go2/../../gccgo
-B/space/uros/gcc-build/gcc/testsuite/go2/../../
/home/uros/gcc-svn/trunk/gcc/testsuite/go.test/test/cmplxdivide.go
/home/uros/gcc-svn/trunk/gcc/testsuite/go.test/test/cmplxdivide1.go
-fno-diagnostics-show-caret -fdiagnostics-color=never
-I/space/uros/gcc-build/alphaev68-unknown-linux-gnu/./libgo
-pedantic-errors
-L/space/uros/gcc-build/alphaev68-unknown-linux-gnu/./libgo
-L/space/uros/gcc-build/alphaev68-unknown-linux-gnu/./libgo/.libs  -lm
  -o ./cmplxdivide.o

cmplxdivide.s: Assembler messages:
cmplxdivide.s:357: Warning: setting incorrect section attributes for
.rodata.__go_tdn_main.Test
cmplxdivide.o: file not recognized: File truncated
collect2: error: ld returned 1 exit status

The warning can be fixed If I manually change section attribute of the
above mentioned section from "aw" to "a" in the attached source.

[1] http://gcc.gnu.org/ml/gcc-patches/2013-08/msg00103.html
[2] http://gcc.gnu.org/ml/gcc-patches/2013-08/msg00099.html

Uros.

Attachment: cmplxdivide.s.bz2
Description: BZip2 compressed data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]