From ae97059cc156145e6fa042230c7e542154c40bba Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 8 Aug 1999 15:30:08 +0000 Subject: [PATCH] 1999-08-08 Jakub Jelinek * configure.host (sparc-*-linux-gnu*): New host. (sparc64-*-linux-gnu*): New host. --- ld/ChangeLog | 5 +++++ ld/configure.host | 10 ++++++++++ 2 files changed, 15 insertions(+) diff --git a/ld/ChangeLog b/ld/ChangeLog index 4c7f4f3d2ca..d2b0e57c624 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +1999-08-08 Jakub Jelinek + + * configure.host (sparc-*-linux-gnu*): New host. + (sparc64-*-linux-gnu*): New host. + 1999-08-06 Ian Lance Taylor * lexsup.c (is_num): Reindent. diff --git a/ld/configure.host b/ld/configure.host index f99c8115043..86fdff15c48 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 -- 2.30.2