From: Alan Modra Date: Sat, 30 Nov 2002 09:00:36 +0000 (+0000) Subject: * configure.host: Correct dynamic-linker for powerpc64 hosts. X-Git-Tag: cagney-unwind-20030108-branchpoint~576 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=08a1b063ad62ecc1d30f920adf32d46cdc04b1d7;p=platform%2Fupstream%2Fbinutils.git * configure.host: Correct dynamic-linker for powerpc64 hosts. --- 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,"` ;;