From 08a1b063ad62ecc1d30f920adf32d46cdc04b1d7 Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Sat, 30 Nov 2002 09:00:36 +0000 Subject: [PATCH] * configure.host: Correct dynamic-linker for powerpc64 hosts. --- ld/ChangeLog | 2 ++ ld/configure.host | 4 ++++ 2 files changed, 6 insertions(+) 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 + * 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,"` ;; -- 2.7.4