aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-08-08 15:30:08 +0000
committerIan Lance Taylor <ian@airs.com>1999-08-08 15:30:08 +0000
commitae97059cc156145e6fa042230c7e542154c40bba (patch)
tree916932d4a9b9e1e62ca6907787df75ee799cf00f
parent3d9f627799755b6588edd7ae1fba1d740179e595 (diff)
downloadgdb-ae97059cc156145e6fa042230c7e542154c40bba.zip
gdb-ae97059cc156145e6fa042230c7e542154c40bba.tar.gz
gdb-ae97059cc156145e6fa042230c7e542154c40bba.tar.bz2
1999-08-08 Jakub Jelinek <jj@ultra.linux.cz>
* configure.host (sparc-*-linux-gnu*): New host. (sparc64-*-linux-gnu*): New host.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/configure.host10
2 files changed, 15 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 4c7f4f3..d2b0e57 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -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.
diff --git a/ld/configure.host b/ld/configure.host
index f99c811..86fdff1 100644
--- a/ld/configure.host
+++ b/ld/configure.host
@@ -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