summaryrefslogtreecommitdiff
path: root/ld/configure.host
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2002-11-30 09:00:36 +0000
committerAlan Modra <amodra@bigpond.net.au>2002-11-30 09:00:36 +0000
commit528eddec3be410dd96c6a99b3e21826724847666 (patch)
tree0b1164da405b6514676834ea5a183905d35f3906 /ld/configure.host
parentebdfb027adb4006eb94f0031a4521f916ba89d69 (diff)
downloadbinutils-redhat-528eddec3be410dd96c6a99b3e21826724847666.tar.gz
* configure.host: Correct dynamic-linker for powerpc64 hosts.
Diffstat (limited to 'ld/configure.host')
-rw-r--r--ld/configure.host4
1 files changed, 4 insertions, 0 deletions
diff --git a/ld/configure.host b/ld/configure.host
index 7e76c7462f..4c93c1000e 100644
--- a/ld/configure.host
+++ b/ld/configure.host
@@ -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,"`
;;