aboutsummaryrefslogtreecommitdiff
path: root/ld/configure.host
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>1999-07-15 14:57:35 +0000
committerMark Mitchell <mark@codesourcery.com>1999-07-15 14:57:35 +0000
commit88659ef5b692fe64c9caabffea3cb41f3bd844f8 (patch)
treec1064bc6d08ad5f32482b5f3ae51aceb1f70136c /ld/configure.host
parentac352105e17fc3336019c5172fc43eeec25c707b (diff)
downloadgdb-88659ef5b692fe64c9caabffea3cb41f3bd844f8.zip
gdb-88659ef5b692fe64c9caabffea3cb41f3bd844f8.tar.gz
gdb-88659ef5b692fe64c9caabffea3cb41f3bd844f8.tar.bz2
* configure.host: Set up HOSTING_CRT0 and HOSTING_LIBS for IRIX6.
Diffstat (limited to 'ld/configure.host')
-rw-r--r--ld/configure.host7
1 files changed, 6 insertions, 1 deletions
diff --git a/ld/configure.host b/ld/configure.host
index 88eb311..701d46c 100644
--- a/ld/configure.host
+++ b/ld/configure.host
@@ -109,11 +109,16 @@ mips*-sgi-irix4*)
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc /usr/lib/crtn.o'
;;
-mips*-sgi-irix[56]*)
+mips*-sgi-irix5*)
HOSTING_CRT0=/usr/lib/crt1.o
HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -lc /usr/lib/crtn.o'
;;
+mips*-sgi-irix6*)
+ HOSTING_CRT0='/usr/lib32/crt1.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/usr/lib32 -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o ; else gcc -print-file-name=crtend.o; fi` /usr/lib32/crtn.o -init __do_global_ctors -fini __do_global_dtors'
+ ;;
+
m68*-*-linux*aout*)
HOSTING_CRT0=/usr/lib/crt0.o
;;