diff options
author | Alan Modra <amodra@gmail.com> | 2002-11-30 09:00:36 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-11-30 09:00:36 +0000 |
commit | 08a1b063ad62ecc1d30f920adf32d46cdc04b1d7 (patch) | |
tree | 84ef797d1c987b86d135addb56b5c549fbbfd389 /ld | |
parent | 4a1359d7a7edec6a49e96dc2244ffc850c394489 (diff) | |
download | gdb-08a1b063ad62ecc1d30f920adf32d46cdc04b1d7.zip gdb-08a1b063ad62ecc1d30f920adf32d46cdc04b1d7.tar.gz gdb-08a1b063ad62ecc1d30f920adf32d46cdc04b1d7.tar.bz2 |
* configure.host: Correct dynamic-linker for powerpc64 hosts.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 2 | ||||
-rw-r--r-- | ld/configure.host | 4 |
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,"` ;; |