From c25e0780514e3cd0bd12983a54c69cc2b8a7b673 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Thu, 28 Oct 1999 03:42:49 +0000 Subject: [PATCH] 1999-10-27 Andreas Jaeger * ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for target "mips*-*-linux-gnu*". --- ld/ChangeLog | 5 +++++ ld/configure.host | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 700848680..99f59627b 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +1999-10-27 Andreas Jaeger + + * ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for + target "mips*-*-linux-gnu*". + 1999-10-27 Scott Bambrough * emultempl/armelf.em: Include ctype.h to prevent compile time diff --git a/ld/configure.host b/ld/configure.host index 90cfc52a0..e7ed18849 100644 --- a/ld/configure.host +++ b/ld/configure.host @@ -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 ;; -- 2.11.4.GIT