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 /bfd | |
parent | 3cf62c1d5c6456a65214498f311bdb7d2a796567 (diff) | |
download | gdb-05567e3d0b0f3d8811997497aca9cde51100c9ec.zip gdb-05567e3d0b0f3d8811997497aca9cde51100c9ec.tar.gz gdb-05567e3d0b0f3d8811997497aca9cde51100c9ec.tar.bz2 |
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 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/config.bfd | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index fd960e2..103c57c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2013-04-24 H.J. Lu <hongjiu.lu@intel.com> + + * config.bfd (targ_selvecs): Add bfd_elf32_x86_64_vec for + x86_64-*-elf*. + 2013-04-24 Roland McGrath <mcgrathr@google.com> * elf32-arm.c (elf32_arm_allocate_plt_entry): If HTAB->nacl_p, diff --git a/bfd/config.bfd b/bfd/config.bfd index 10820e2..aef60c7 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -644,7 +644,7 @@ case "${targ}" in ;; x86_64-*-elf*) targ_defvec=bfd_elf64_x86_64_vec - targ_selvecs="bfd_elf32_i386_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec i386coff_vec" + targ_selvecs="bfd_elf32_i386_vec bfd_elf32_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec" want64=true ;; x86_64-*-dragonfly*) |