This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] ppc extra libpath targets


Hi!

Any idea why elf64ppc is not in targ_extra_libpath on
powerpc-*-linux* --enable-64-bit-bfd
and similarly elf32ppc in powerpc64-*-linux*?

2003-03-31  Jakub Jelinek  <jakub at redhat dot com>

	* configure.tgt (powerpc*-*-linux*): Add elf32ppc to ppc64
	targ_extra_libpath.  Add elf64ppc to ppc targ_extra_libpath
	if --enable-64-bit-bfd.

--- ld/configure.tgt.jj	2003-03-17 07:03:06.000000000 -0500
+++ ld/configure.tgt	2003-03-31 15:43:30.000000000 -0500
@@ -464,7 +464,7 @@ powerpc*-*-linux*)
 	case "${targ}" in
 	*64*)	targ_emul=elf64ppc
 		targ_extra_emuls="elf32ppclinux elf32ppc elf32ppcsim"
-		targ_extra_libpath=elf32ppclinux
+		targ_extra_libpath="elf32ppclinux elf32ppc"
 		tdir_elf32ppc=`echo "${targ_alias}" | sed -e 's/64//'`
 		tdir_elf32ppclinux=$tdir_elf32ppc
 		tdir_elf32ppcsim=$tdir_elf32ppc ;;
@@ -473,6 +473,7 @@ powerpc*-*-linux*)
 		targ_extra_libpath=elf32ppc
 		if test "${want64}" = "true"; then
 		  targ_extra_emuls="$targ_extra_emuls elf64ppc"
+		  targ_extra_libpath="$targ_extra_libpath elf64ppc"
 		fi
 		;;
 	esac ;;

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]