1999-08-08 Jakub Jelinek <jj@ultra.linux.cz>
authorIan Lance Taylor <ian@airs.com>
Sun, 8 Aug 1999 15:30:08 +0000 (15:30 +0000)
committerIan Lance Taylor <ian@airs.com>
Sun, 8 Aug 1999 15:30:08 +0000 (15:30 +0000)
* configure.host (sparc-*-linux-gnu*): New host.
(sparc64-*-linux-gnu*): New host.

ld/ChangeLog
ld/configure.host

index 4c7f4f3d2ca5af4e722db9ef7addbaad51f82c0c..d2b0e57c62436ae7b681495a14bbf30b408c452f 100644 (file)
@@ -1,3 +1,8 @@
+1999-08-08  Jakub Jelinek  <jj@ultra.linux.cz>
+
+       * configure.host (sparc-*-linux-gnu*): New host.
+       (sparc64-*-linux-gnu*): New host.
+
 1999-08-06  Ian Lance Taylor  <ian@zembu.com>
 
        * lexsup.c (is_num): Reindent.
index f99c811504391766c35f1f1800f4aa3e26f49e01..86fdff15c48eb7338deb5c463c62550a98b232d9 100644 (file)
@@ -179,4 +179,14 @@ sparc*-*-solaris2*)
   NATIVE_LIB_DIRS=/usr/ccs/lib
   ;;
 
+sparc-*-linux-gnu*)
+  HOSTING_CRT0='-dynamic-linker /lib/ld-linux.so.2 `gcc --print-file-name=crt1.o` `gcc --print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc --print-file-name=crtbegin.o; fi`'
+  HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -L`dirname \`gcc --print-file-name=libc.so\`` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc --print-file-name=crtend.o; fi` `gcc --print-file-name=crtn.o`'
+  ;;
+
+sparc64-*-linux-gnu*)
+  HOSTING_CRT0='-dynamic-linker /lib64/ld-linux.so.2 `gcc --print-file-name=crt1.o` `gcc --print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else gcc --print-file-name=crtbegin.o; fi`'
+  HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` -L`dirname \`gcc --print-file-name=libc.so\`` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else gcc -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else gcc --print-file-name=crtend.o; fi` `gcc --print-file-name=crtn.o`'
+  ;;
+
 esac