diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2013-04-24 18:58:14 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2013-04-24 18:58:14 +0000 |
commit | 05567e3d0b0f3d8811997497aca9cde51100c9ec (patch) | |
tree | 91fafbf48956181bb734df237680b91bf85685c9 /ld/configure.tgt | |
parent | 3cf62c1d5c6456a65214498f311bdb7d2a796567 (diff) | |
download | ppe42-binutils-05567e3d0b0f3d8811997497aca9cde51100c9ec.tar.gz ppe42-binutils-05567e3d0b0f3d8811997497aca9cde51100c9ec.zip |
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*.
Diffstat (limited to 'ld/configure.tgt')
-rw-r--r-- | ld/configure.tgt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ld/configure.tgt b/ld/configure.tgt index 3b06dd39d3..cd840e94df 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -278,7 +278,9 @@ x86_64-*-netbsd*) targ_emul=elf_x86_64 i[3-7]86-*-netware) targ_emul=i386nw ;; i[3-7]86-*-elf*) targ_emul=elf_i386 ;; x86_64-*-elf*) targ_emul=elf_x86_64 - targ_extra_emuls="elf_i386 elf_l1om elf_k1om" + targ_extra_emuls="elf_i386 elf32_x86_64 elf_l1om elf_k1om" + targ_extra_libpath="elf_i386 elf32_x86_64 elf_l1om elf_k1om" + tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'` ;; i[3-7]86-*-kaos*) targ_emul=elf_i386 ;; i[3-7]86-*-freebsdaout* | i[3-7]86-*-freebsd[12].* | i[3-7]86-*-freebsd[12]) |