aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>2000-05-02 00:39:34 +0000
committerJim Wilson <wilson@tuliptree.org>2000-05-02 00:39:34 +0000
commitebd6fc293526ed2a9fedac3ecc4f46d5087d8acd (patch)
tree0e602a496bee92de28f59359538325e0e2d92029
parent85e22c7ef1a4a185bc1e19bbc1127d319e9a162d (diff)
downloadgdb-ebd6fc293526ed2a9fedac3ecc4f46d5087d8acd.zip
gdb-ebd6fc293526ed2a9fedac3ecc4f46d5087d8acd.tar.gz
gdb-ebd6fc293526ed2a9fedac3ecc4f46d5087d8acd.tar.bz2
Ld testsuite support for ia64-linux.
* configure.host: Added HOSTING_CRT0, HOSTING_LIBS for host "ia64-*-linux-gnu*".
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/configure.host5
2 files changed, 10 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index c8d8aa1..8109dd9 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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.
diff --git a/ld/configure.host b/ld/configure.host
index 38ad347..99496bb 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
;;