aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog2
-rw-r--r--ld/configure.host4
2 files changed, 6 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index dcf5847..2d5b2bd 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,7 @@
2002-11-30 Alan Modra <amodra@bigpond.net.au>
+ * configure.host: Correct dynamic-linker for powerpc64 hosts.
+
* Makefile.am (eelf32ppcwindiss.c): Correct dependencies.
* Makefile.in: Regenerate.
diff --git a/ld/configure.host b/ld/configure.host
index 7e76c74..4c93c10 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,"`
;;