diff options
author | Nick Clifton <nickc@redhat.com> | 2001-02-10 00:58:38 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-02-10 00:58:38 +0000 |
commit | a85d7ed0f0b65504f7d8027319d1a4a9adb9d8c1 (patch) | |
tree | d46823b360b1d614fb1c65de41cdc778a68984ff /ld/configure.host | |
parent | 356d255deb0cb49d4dade90addbb7bdcde0d7e36 (diff) | |
download | gdb-a85d7ed0f0b65504f7d8027319d1a4a9adb9d8c1.zip gdb-a85d7ed0f0b65504f7d8027319d1a4a9adb9d8c1.tar.gz gdb-a85d7ed0f0b65504f7d8027319d1a4a9adb9d8c1.tar.bz2 |
Add s390 support
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 be14e01..ed09cfe 100644 --- a/ld/configure.host +++ b/ld/configure.host @@ -206,6 +206,16 @@ romp-*-*) HDEFINES=-DNO_VARARGS ;; +s390x-*-linux) + HOSTING_CRT0='-dynamic-linker /lib/ld.so.1 /usr/lib/crt1.o /usr/lib/crti.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; elif [ -f /usr/lib/crtbegin.o ]; then echo /usr/lib/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` -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; elif [ -f /usr/lib/crtend.o ]; then echo /usr/lib/crtend.o; else gcc --print-file-name=crtend.o; fi` /usr/lib/crtn.o' + ;; + +s390-*-linux) + HOSTING_CRT0='-dynamic-linker /lib/ld.so.1 /usr/lib/crt1.o /usr/lib/crti.o `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; elif [ -f /usr/lib/crtbegin.o ]; then echo /usr/lib/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` -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; elif [ -f /usr/lib/crtend.o ]; then echo /usr/lib/crtend.o; else gcc --print-file-name=crtend.o; fi` /usr/lib/crtn.o' + ;; + sparc*-*-solaris2*) HOSTING_CRT0='`if [ -f ../gcc/crt1.o ]; then echo ../gcc/crt1.o; else ${CC} -print-file-name=crt1.o; fi` `if [ -f ../gcc/crti.o ]; then echo ../gcc/crti.o; else ${CC} -print-file-name=crti.o; fi` /usr/ccs/lib/values-Xa.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` -lc `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} -print-file-name=crtend.o; fi` `if [ -f ../gcc/crtn.o ]; then echo ../gcc/crtn.o; else ${CC} -print-file-name=crtn.o; fi`' |