* configure.host: Move alpha*-*-linux-gnu* entry to generic
authorAlan Modra <amodra@gmail.com>
Tue, 23 Oct 2001 05:49:02 +0000 (05:49 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 23 Oct 2001 05:49:02 +0000 (05:49 +0000)
entries, and match *-*-linux*.

ld/ChangeLog
ld/configure.host

index 50816d095315b182ef509b68c16ddfca9ec9057d..26ed67d70173e6af4edfdf0bf6e5462486b83f2d 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-23  Alan Modra  <amodra@bigpond.net.au>
+
+       * configure.host: Move alpha*-*-linux-gnu* entry to generic
+       entries, and match *-*-linux*.
+
 2001-10-20  Alan Modra  <amodra@bigpond.net.au>
 
        * ldgram.y (mri_script_command): Surround processing of INCLUDE
index 522d05d57bdecd883d28d12a1d90c32dcd329504..1b65fcb85cefe6db7f40df86eec0f470ef160826 100644 (file)
@@ -16,11 +16,6 @@ NATIVE_LIB_DIRS=
 
 case "${host}" in
 
-alpha*-*-linux-gnu*)
-  HOSTING_CRT0='-dynamic-linker `egrep "ld[^ ]*\.so" \`${CC} --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[  ][      ]*\(.*/ld[^ ]*.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`'
-  ;;
-
 alpha*-*-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
@@ -229,6 +224,11 @@ sparc64-*-linux-gnu*)
   HOSTING_LIBS='`${CC} -print-libgcc-file-name` -L`dirname \`${CC} --print-file-name=libc.so\`` -lc `${CC} -print-libgcc-file-name` `${CC} --print-file-name=crtend.o` `${CC} --print-file-name=crtn.o`'
   ;;
 
+*-*-linux*)
+  HOSTING_CRT0='-dynamic-linker `egrep "ld[^ ]*\.so" \`${CC} --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[  ][      ]*\(.*/ld[^ ]*.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`'
+  ;;
+
 alpha*-*-*)
   HOSTING_CRT0=/usr/ccs/lib/crt0.o
   NATIVE_LIB_DIRS=/usr/ccs/lib