This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/47446] [x32] .quad instead of .long is used for address
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 25 Jan 2011 21:53:55 +0000
- Subject: [Bug target/47446] [x32] .quad instead of .long is used for address
- Auto-submitted: auto-generated
- References: <bug-47446-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47446
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-01-25 21:53:55 UTC ---
The same testcase failed with -fPIC:
[hjl@gnu-6 ilp32-18]$ /export/build/gnu/gcc-x32/build-x86_64-linux/gcc/xgcc
-B/export/build/gnu/gcc-x32/build-x86_64-linux/gcc/ -mx32 -O -fPIC -dp -c
-o x.o x.i
/tmp/ccnSNxF1.s: Assembler messages:
/tmp/ccnSNxF1.s:21: Error: invalid sections for operation on `L0' and `.L3'
/tmp/ccnSNxF1.s:22: Error: invalid sections for operation on `L0' and `.L2'
/tmp/ccnSNxF1.s:23: Error: invalid sections for operation on `L0' and `.L2'
/tmp/ccnSNxF1.s:24: Error: invalid sections for operation on `L0' and `.L2'
/tmp/ccnSNxF1.s:25: Error: invalid sections for operation on `L0' and `.L3'
/tmp/ccnSNxF1.s:26: Error: invalid sections for operation on `L0' and `.L4'
/tmp/ccnSNxF1.s:27: Error: invalid sections for operation on `L0' and `.L8'
/tmp/ccnSNxF1.s:28: Error: invalid sections for operation on `L0' and `.L6'
[hjl@gnu-6 ilp32-18]$