This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49860] [x32] Error: cannot represent relocation type BFD_RELOC_64 in x32 mode
- From: "hjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 2 Aug 2011 14:09:37 +0000
- Subject: [Bug target/49860] [x32] Error: cannot represent relocation type BFD_RELOC_64 in x32 mode
- Auto-submitted: auto-generated
- References: <bug-49860-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49860
--- Comment #12 from hjl at gcc dot gnu.org <hjl at gcc dot gnu.org> 2011-08-02 14:03:40 UTC ---
Author: hjl
Date: Tue Aug 2 14:03:36 2011
New Revision: 177158
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=177158
Log:
Allow movabs for x32.
2011-08-02 H.J. Lu <hongjiu.lu@intel.com>
Revert
PR target/49860
* config/i386/i386.md (*movdi_internal_rex64): Only allow moving
integer constants into 64bit registers for TARGET_X32.
(*movabs<mode>_1): Only allow for TARGET_LP64.
(*movabs<mode>_2): Likewise.
* config/i386/predicates.md (x86_64_immediate_operand): Always
allow the offsetted memory references for TARGET_X32.
(x86_64_zext_immediate_operand): Likewise.
Modified:
branches/x32/gcc/ChangeLog.x32
branches/x32/gcc/config/i386/i386.md
branches/x32/gcc/config/i386/predicates.md