Enable x86-64 for Linux/i386 if 64bit BFD is selected.
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 1 Aug 2002 06:24:53 +0000 (06:24 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 1 Aug 2002 06:24:53 +0000 (06:24 +0000)
bfd/ChangeLog
bfd/config.bfd
ld/ChangeLog
ld/configure.tgt

index 51647a51e2d5023cf29532dfc79fa132313d2d55..97f906527f6c2967d4a20b6710c6a26e2393bd11 100644 (file)
@@ -1,3 +1,8 @@
+2002-07-31  H.J. Lu <hjl@gnu.org>
+
+       * config.bfd: Add x86-64 vector to Linux/i386 if 64bit BFD is
+       selected.
+
 2002-07-31  H.J. Lu <hjl@gnu.org>
 
        * config.bfd: Add n32 vectors to 32bit Linux/mips if 64bit BFD
index 1974a385d6b3a09c15448fcb746dfebdfc65d66b..bfd26f150426916c7624e128f3a712ed08297b08 100644 (file)
@@ -420,6 +420,7 @@ case "${targ}" in
   i[3456]86-*-linux-gnu*)
     targ_defvec=bfd_elf32_i386_vec
     targ_selvecs="i386linux_vec bfd_efi_app_ia32_vec"
+    targ64_selvecs=bfd_elf64_x86_64_vec
     ;;
 #ifdef BFD64
   x86_64-*-freebsd*)
index 7ecca11c51f1478adcaf9b3d10bec7a9986444b5..10237f17a103f8c0dabda8e8affd7720a578acbb 100644 (file)
@@ -1,3 +1,8 @@
+2002-07-31  H.J. Lu <hjl@gnu.org>
+
+       * configure.tgt: Enable x86-64 emulation for Linux/i386 if
+       64bit BFD is selected.
+
 2002-07-31  H.J. Lu <hjl@gnu.org>
 
        * configure.tgt: Enable 64bit emulations for 32bit Linux/mips
index 6217f65f15ede30e73db59fbde420dcf409173a4..88e7eb1b3faf00b596c22b48c0d75f02f62e5eb5 100644 (file)
@@ -144,6 +144,9 @@ i[3456]86-*-linux*aout*)    targ_emul=i386linux
 i[3456]86-*-linux*oldld)       targ_emul=i386linux; targ_extra_emuls=elf_i386 ;;
 i[3456]86-*-linux-gnu*)        targ_emul=elf_i386
                        targ_extra_emuls=i386linux
+                       if test x${want64} = xtrue; then
+                         targ_extra_emuls="$targ_extra_emuls elf_x86_64"
+                       fi
                        tdir_i386linux=${targ_alias}aout
                        ;;
 x86_64-*-linux-gnu*)   targ_emul=elf_x86_64
This page took 0.033636 seconds and 4 git commands to generate.