aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-10-28 03:42:49 +0000
committerIan Lance Taylor <ian@airs.com>1999-10-28 03:42:49 +0000
commitd7498c1ee197a02c6401584d15b984ae94deaeba (patch)
tree78fd4f033d6caff65872bcb49c272e4201827fe9 /ld
parentd24de309dfc187688fee3e6f23a960ea46986f58 (diff)
downloadgdb-d7498c1ee197a02c6401584d15b984ae94deaeba.zip
gdb-d7498c1ee197a02c6401584d15b984ae94deaeba.tar.gz
gdb-d7498c1ee197a02c6401584d15b984ae94deaeba.tar.bz2
1999-10-27 Andreas Jaeger <aj@suse.de>
* ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for target "mips*-*-linux-gnu*".
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/configure.host5
2 files changed, 10 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 7008486..99f5962 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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
diff --git a/ld/configure.host b/ld/configure.host
index 90cfc52..e7ed188 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
;;