1999-10-27 Andreas Jaeger <aj@suse.de>
authorIan Lance Taylor <ian@airs.com>
Thu, 28 Oct 1999 03:42:49 +0000 (03:42 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 28 Oct 1999 03:42:49 +0000 (03:42 +0000)
* ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for
target "mips*-*-linux-gnu*".

ld/ChangeLog
ld/configure.host

index 70084868063e443f19cedbb2288fb15467802b0e..99f59627b33c1a31bc6b9382487431082af9fe7d 100644 (file)
@@ -1,3 +1,8 @@
+1999-10-27  Andreas Jaeger  <aj@suse.de>
+
+       * ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for 
+       target "mips*-*-linux-gnu*".
+
 1999-10-27  Scott Bambrough  <scottb@netwinder.org>
 
        * emultempl/armelf.em: Include ctype.h to prevent compile time
index 90cfc52a0e96afc76bd854a6d06f3f686355462b..e7ed18849f32ff53b924d5898e71631e62562fea 100644 (file)
@@ -130,6 +130,11 @@ mips*-sgi-irix6*)
   HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -L/usr/lib32 -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o ; else ${CC} -print-file-name=crtend.o; fi` /usr/lib32/crtn.o -init __do_global_ctors -fini __do_global_dtors'
   ;;
 
+mips*-*-linux-gnu*)
+  HOSTING_CRT0='-dynamic-linker /lib/ld.so.1 /usr/lib/crt1.o /usr/lib/crti.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} --print-file-name=crtbegin.o; fi`'
+  HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` /usr/lib/crtn.o'
+  ;;
+
 m68*-*-linux*aout*)
   HOSTING_CRT0=/usr/lib/crt0.o
   ;;