Enable x32 for x86_64-*-elf*
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 24 Apr 2013 18:58:14 +0000 (18:58 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 24 Apr 2013 18:58:14 +0000 (18:58 +0000)
commit05567e3d0b0f3d8811997497aca9cde51100c9ec
tree91fafbf48956181bb734df237680b91bf85685c9
parent3cf62c1d5c6456a65214498f311bdb7d2a796567
Enable x32 for x86_64-*-elf*

This patch enables x32 for x86_64-*-elf* for embedded target and disables
rex tests since it uses '/' as prefix separator which is `\' for
x86_64-*-elf*.

bfd/

* config.bfd (targ_selvecs): Add bfd_elf32_x86_64_vec for
x86_64-*-elf*.

gas/testsuite/

* gas/i386/rex.d: Skip x86_64-*-elf*.
* gas/i386/ilp32/rex.d: Likewise.

ld/

* configure.tgt (targ_extra_emuls): Adds elf32_x86_64 for
x86_64-*-elf*.
(targ_extra_libpath): Likewise.
(tdir_elf_i386): Replace x86_64 with i386 for x86_64-*-elf*.
bfd/ChangeLog
bfd/config.bfd
gas/testsuite/ChangeLog
gas/testsuite/gas/i386/ilp32/rex.d
gas/testsuite/gas/i386/rex.d
ld/ChangeLog
ld/configure.tgt