From 49d579a06ccbe0b672884d73c80e73c2ce53ba8d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 2 Feb 1998 19:14:33 +0000 Subject: [PATCH] * configure.host: Correct HOSTING_CRT0 in alpha*-*-linux* case to accept either ld.so or ld-linux.so. --- ld/ChangeLog | 5 +++++ ld/configure.host | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 404780fabbc..4e538f2467a 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +Mon Feb 2 14:10:59 1998 Ian Lance Taylor + + * configure.host: Correct HOSTING_CRT0 in alpha*-*-linux* case to + accept either ld.so or ld-linux.so. + Fri Jan 30 19:16:28 1998 Doug Evans * Makefile.am ({CC,CXX}_FOR_TARGET): Change program_transform_name diff --git a/ld/configure.host b/ld/configure.host index 8f739f6a318..fc05cdc5267 100644 --- a/ld/configure.host +++ b/ld/configure.host @@ -17,7 +17,8 @@ NATIVE_LIB_DIRS= case "${host}" in alpha*-*-linux*) - HOSTING_CRT0=/usr/lib/crt1.o + HOSTING_CRT0='-dynamic-linker `egrep "ld[^ ]*\.so" \`gcc --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[ ][ ]*\(.*/ld[^ ]*.so..\).*,\1,"` `gcc --print-file-name=crt1.o` `gcc --print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc --print-file-name=crtbegin.o; fi`' + HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -L`dirname \`gcc --print-file-name=libc.so\`` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc --print-file-name=crtend.o; fi` `gcc --print-file-name=crtn.o`' ;; alpha*-*-*) -- 2.30.2