Ld testsuite support for ia64-linux.
authorJim Wilson <wilson@tuliptree.org>
Tue, 2 May 2000 00:39:34 +0000 (00:39 +0000)
committerJim Wilson <wilson@tuliptree.org>
Tue, 2 May 2000 00:39:34 +0000 (00:39 +0000)
* configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
host "ia64-*-linux-gnu*".

ld/ChangeLog
ld/configure.host

index c8d8aa148fdd70d0cc1c82e5a59c1da77b0c6a83..8109dd9e7e41e5ee581e6fa4bd950ad61f291184 100644 (file)
@@ -1,3 +1,8 @@
+Mon May  1 17:34:34 2000  Jim Wilson  <wilson@cygnus.com>
+
+       * configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
+       host "ia64-*-linux-gnu*".
+
 2000-04-29  Andreas Jaeger  <aj@suse.de>
 
        * ld.h: Correctly check GCC version.
index 38ad347218c2c034321b72f8cc4136e7b0860cad..99496bbdf6687d1f8610af0e3eab72004a360997 100644 (file)
@@ -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
   ;;