From 34723071b54c6f1bcc8e705c978efa3ddb47f2b2 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 15 Mar 2005 14:14:08 +0000 Subject: [PATCH] Add support for an x86_64-elf target --- bfd/ChangeLog | 4 ++++ bfd/config.bfd | 4 ++++ ld/ChangeLog | 4 ++++ ld/configure.tgt | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d0991181ac4..c69b07653b0 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2005-03-15 Mikkel Krautz + + * config.bfd (x86_64-elf): Add target. + 2005-03-15 Alan Modra * po/es.po: Commit new Spanish translation. diff --git a/bfd/config.bfd b/bfd/config.bfd index 52abbc6b103..41b953c0332 100644 --- a/bfd/config.bfd +++ b/bfd/config.bfd @@ -535,6 +535,10 @@ case "${targ}" in targ64_selvecs=bfd_elf64_x86_64_vec ;; #ifdef BFD64 + x86_64-*-elf*) + targ_defvec=bfd_elf64_x86_64_vec + targ_selvecs="bfd_elf32_i386_vec i386coff_vec" + ;; x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) targ_defvec=bfd_elf64_x86_64_vec targ_selvecs="bfd_elf32_i386_vec i386coff_vec bfd_efi_app_ia32_vec" diff --git a/ld/ChangeLog b/ld/ChangeLog index 26ca8901cb7..c093dab2f14 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2005-03-15 Mikkel Krautz + + * configure.tgt (x86_64-elf): Add target. + 2005-03-15 Alan Modra * po/es.po: Commit new Spanish translation. diff --git a/ld/configure.tgt b/ld/configure.tgt index 183445f2c37..486e21fcf87 100644 --- a/ld/configure.tgt +++ b/ld/configure.tgt @@ -202,6 +202,10 @@ 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 + ;; 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]) targ_emul=i386bsd ;; -- 2.30.2