From ebd6fc293526ed2a9fedac3ecc4f46d5087d8acd Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Tue, 2 May 2000 00:39:34 +0000 Subject: [PATCH] Ld testsuite support for ia64-linux. * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for host "ia64-*-linux-gnu*". --- ld/ChangeLog | 5 +++++ ld/configure.host | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index c8d8aa148fd..8109dd9e7e4 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +Mon May 1 17:34:34 2000 Jim Wilson + + * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for + host "ia64-*-linux-gnu*". + 2000-04-29 Andreas Jaeger * ld.h: Correctly check GCC version. diff --git a/ld/configure.host b/ld/configure.host index 38ad347218c..99496bbdf66 100644 --- a/ld/configure.host +++ b/ld/configure.host @@ -125,6 +125,11 @@ i[3456]86-pc-interix*) HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -L $$X/local_bin -L $$INTERIX_ROOT/usr/lib -lc -lcpsx -lc -lcpsx $$INTERIX_ROOT/usr/lib/psxdll.a $$INTERIX_ROOT/usr/lib/psxdll2.a' ;; +ia64-*-linux-gnu*) + HOSTING_CRT0='-dynamic-linker `egrep "ld-linux-ia64.so" \`gcc --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[ ][ ]*\(.*/ld-linux-ia64.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`' + ;; + mips*-dec-bsd*) HOSTING_CRT0=/usr/lib/crt0.o ;; -- 2.30.2