PATCH: Enable elf64ppc for Linux/ppc

H. J. Lu hjl@lucon.org
Wed Jul 31 13:21:00 GMT 2002


This patch enables elf64ppc for Linux/ppc if 64bit BFD is selected.


H.J.
-------------- next part --------------
2002-06-25  H.J. Lu <hjl@gnu.org>

	* configure.tgt (powerpc*-*-linux*): Enable elf64ppc for
	--enable-64-bit-bfd.

--- binutils/ld/configure.tgt.64bit	Tue Jun 18 20:44:30 2002
+++ binutils/ld/configure.tgt	Tue Jun 25 10:10:48 2002
@@ -438,7 +438,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*)


More information about the Binutils mailing list