2002-07-31 H.J. Lu <hjl@gnu.org>
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 1 Aug 2002 06:29:44 +0000 (06:29 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 1 Aug 2002 06:29:44 +0000 (06:29 +0000)
* configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
--enable-64-bit-bfd.

ld/ChangeLog
ld/configure.tgt

index 10237f1..6f2824a 100644 (file)
@@ -1,5 +1,10 @@
 2002-07-31  H.J. Lu <hjl@gnu.org>
 
+       * configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
+       --enable-64-bit-bfd.
+
+2002-07-31  H.J. Lu <hjl@gnu.org>
+
        * configure.tgt: Enable x86-64 emulation for Linux/i386 if
        64bit BFD is selected.
 
index 88e7eb1..1c1bd84 100644 (file)
@@ -457,7 +457,11 @@ powerpc*-*-linux*)
                tdir_elf32ppcsim=$tdir_elf32ppc ;;
        *)      targ_emul=elf32ppclinux
                targ_extra_emuls="elf32ppc elf32ppcsim"
-               targ_extra_libpath=elf32ppc ;;
+               targ_extra_libpath=elf32ppc
+               if test "${want64}" = "true"; then
+                 targ_extra_emuls="$targ_extra_emuls elf64ppc"
+               fi
+               ;;
        esac ;;
 powerpc*le-*-elf* | powerpc*le-*-eabi* | powerpc*le-*-solaris* \
   | powerpc*le-*-sysv* | powerpc*le-*-vxworks*)