Applied patch from Scott Bambrough <scottb@netwinder.org>:
authorNick Clifton <nickc@redhat.com>
Mon, 6 Sep 1999 09:51:16 +0000 (09:51 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 6 Sep 1999 09:51:16 +0000 (09:51 +0000)
Added HOSTING_CRT0, HOSTING_LIBS for target "arm*-*-linux-gnu*"

ld/ChangeLog
ld/configure.host

index 72edd8b7dff44d3044a850c79fa317dccf5c57d2..db9a03986d71d7d5bd2af761e4ce7d5efaf89750 100644 (file)
@@ -1,3 +1,8 @@
+1999-09-03  Scott Bambrough  <scottb@netwinder.org>
+
+       * ld/configure.host: Added HOSTING_CRT0, HOSTING_LIBS for 
+       target "arm*-*-linux-gnu*"
+
 1999-09-04  Steve Chamberlain  <sac@pobox.com>
 
        * configure.tgt (pjl-*-*, pj-*-*): New targets.
index 6ba345036346bc5d9f5895951d82943149bc5e5d..90cfc52a0e96afc76bd854a6d06f3f686355462b 100644 (file)
@@ -35,6 +35,11 @@ alpha*-*-*)
   NATIVE_LIB_DIRS=/usr/ccs/lib
   ;;
 
+arm*-*-linux-gnu*)
+  HOSTING_CRT0='-p -dynamic-linker `fgrep ld-linux.so \`${CC} --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[         ][      ]*\(.*/ld-linux.so..\).*,\1,"` `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=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` -L`dirname \`${CC} --print-file-name=libc.so\`` -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` `${CC} --print-file-name=crtn.o`'
+  ;;
+
 i[3456]86-*-bsd* | i[3456]86-*-freebsd* | i[3456]86-*-netbsd*)
   # The new BSD `make' has a bug: it doesn't pass empty arguments in
   # shell commands.  So we need to make this value non-empty in order