This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
correct dynamic-linker for native ppc64 ld tests
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Date: Sat, 30 Nov 2002 19:30:11 +1030
- Subject: correct dynamic-linker for native ppc64 ld tests
* configure.host: Correct dynamic-linker for powerpc64 hosts.
Index: ld/configure.host
===================================================================
RCS file: /cvs/src/src/ld/configure.host,v
retrieving revision 1.24
diff -u -p -r1.24 configure.host
--- ld/configure.host 28 Nov 2002 02:10:38 -0000 1.24
+++ ld/configure.host 30 Nov 2002 06:01:03 -0000
@@ -184,6 +184,10 @@ m88*-motorola-sysv3)
HOSTING_LIBS="$HOSTING_LIBS"' `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} -print-file-name=crtend.o; fi`'
;;
+powerpc64*-*-linux-gnu*)
+ HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`egrep.*\"\\\`,/lib64/ld64.so.1,"`
+ ;;
+
powerpc*-*-linux-gnu*)
HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,\\\`egrep.*\"\\\`,/lib/ld.so.1,"`
;;
--
Alan Modra
IBM OzLabs - Linux Technology Centre