diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-08-08 15:30:08 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-08-08 15:30:08 +0000 |
commit | ae97059cc156145e6fa042230c7e542154c40bba (patch) | |
tree | 916932d4a9b9e1e62ca6907787df75ee799cf00f /ld/configure.host | |
parent | 3d9f627799755b6588edd7ae1fba1d740179e595 (diff) | |
download | gdb-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.
Diffstat (limited to 'ld/configure.host')
-rw-r--r-- | ld/configure.host | 10 |
1 files changed, 10 insertions, 0 deletions
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 |