* configure.host: Set up HOSTING_CRT0 and HOSTING_LIBS for IRIX6.
authorMark Mitchell <mark@codesourcery.com>
Thu, 15 Jul 1999 14:57:35 +0000 (14:57 +0000)
committerMark Mitchell <mark@codesourcery.com>
Thu, 15 Jul 1999 14:57:35 +0000 (14:57 +0000)
ld/ChangeLog
ld/configure.host

index aebb4deee0659235001077760baf9ba24e81e6f7..b6a962906f46ea36bf2ddcb69b86f69068931663 100644 (file)
@@ -1,3 +1,7 @@
+Thu Jul 15 15:55:15 1999  Mark P. Mitchell  <mark@codesourcery.com>
+
+       * configure.host: Set up HOSTING_CRT0 and HOSTING_LIBS for IRIX6.
+
 1999-07-15  Ian Lance Taylor  <ian@zembu.com>
 
        * configure.in: Bump version number to 2.9.5.
index 88eb311c49adc0b743871d43d9d79f110e09c34d..701d46c667a402f36530d2c448f54ef0dbb52846 100644 (file)
@@ -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
   ;;