Add support for an x86_64-elf target
authorNick Clifton <nickc@redhat.com>
Tue, 15 Mar 2005 14:14:08 +0000 (14:14 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 15 Mar 2005 14:14:08 +0000 (14:14 +0000)
bfd/ChangeLog
bfd/config.bfd
ld/ChangeLog
ld/configure.tgt

index d0991181ac44259f3841ab945a4cb69ea64072f5..c69b07653b0d81d159187b9c8d7987ad324474bd 100644 (file)
@@ -1,3 +1,7 @@
+2005-03-15  Mikkel Krautz  <krautz@gmail.com>
+
+       * config.bfd (x86_64-elf): Add target.
+
 2005-03-15  Alan Modra  <amodra@bigpond.net.au>
 
        * po/es.po: Commit new Spanish translation.
index 52abbc6b103e4cf9ad3dad64d33676bbaa9094a2..41b953c03321c9c0807097bcf02e3c66f8260466 100644 (file)
@@ -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"
index 26ca8901cb7abc96f740b7c4f67e682f5eecd155..c093dab2f1415a18c2e7ba37694640fc36f4beac 100644 (file)
@@ -1,3 +1,7 @@
+2005-03-15  Mikkel Krautz  <krautz@gmail.com>
+
+       * configure.tgt (x86_64-elf): Add target.
+
 2005-03-15  Alan Modra  <amodra@bigpond.net.au>
 
        * po/es.po: Commit new Spanish translation.
index 183445f2c374543bc3c56cd8b0a943ab1a0c5a2d..486e21fcf87d37424b10c1e1ace72a096dde9598 100644 (file)
@@ -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 ;;