summaryrefslogtreecommitdiff
path: root/ld/configure.host
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 /ld/configure.host
parent85e22c7ef1a4a185bc1e19bbc1127d319e9a162d (diff)
downloadbinutils-gdb-ebd6fc293526ed2a9fedac3ecc4f46d5087d8acd.tar.gz
Ld testsuite support for ia64-linux.
* configure.host: Added HOSTING_CRT0, HOSTING_LIBS for host "ia64-*-linux-gnu*".
Diffstat (limited to 'ld/configure.host')
-rw-r--r--ld/configure.host5
1 files changed, 5 insertions, 0 deletions
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
;;