aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.host
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-11-30 09:00:36 +0000
committerAlan Modra <amodra@gmail.com>2002-11-30 09:00:36 +0000
commit08a1b063ad62ecc1d30f920adf32d46cdc04b1d7 (patch)
tree84ef797d1c987b86d135addb56b5c549fbbfd389 /ld/configure.host
parent4a1359d7a7edec6a49e96dc2244ffc850c394489 (diff)
downloadgdb-08a1b063ad62ecc1d30f920adf32d46cdc04b1d7.zip
gdb-08a1b063ad62ecc1d30f920adf32d46cdc04b1d7.tar.gz
gdb-08a1b063ad62ecc1d30f920adf32d46cdc04b1d7.tar.bz2
* 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 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,"`
;;