[Bug target/49860] [x32] Error: cannot represent relocation type BFD_RELOC_64 in x32 mode

hjl.tools at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Jul 27 12:39:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49860

--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2011-07-27 12:39:39 UTC ---
(In reply to comment #1)
> Assembler should accept R_X86_64_64 and zero-extend it to 8 bytes. It is the
> same issue as [1].
> 
> [1] http://gcc.gnu.org/ml/gcc-patches/2011-07/msg01825.html

X32 is 32bit environment. For this testcase, x32 should generate
very similar code to ia32, except for additional 8 registers. In
another word, if a memory operand is OK for ia32, it must be OK
for x32.



More information about the Gcc-bugs mailing list