diff options
author | Alan Modra <amodra@gmail.com> | 2001-06-06 12:11:23 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-06-06 12:11:23 +0000 |
commit | 3277f888ebe48c337590250a640e12dede66d415 (patch) | |
tree | e1cbddc00e1a93f445c83ca1ec44d5e3f63d401f | |
parent | 6e139bf09ab7be0fc692bfe94646048bef6498f6 (diff) | |
download | gdb-3277f888ebe48c337590250a640e12dede66d415.zip gdb-3277f888ebe48c337590250a640e12dede66d415.tar.gz gdb-3277f888ebe48c337590250a640e12dede66d415.tar.bz2 |
* configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390.
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/configure.host | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 2d9bfbc..a58b2d2 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2001-06-06 Martin Schwidefsky <schwidefsky@de.ibm.com> + + * configure.host: Set HOSTING_CRT0/HOSTING_LIBS correctly for s/390. + 2001-06-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz> * emultempl/pe.em (init): Reduce default stack reserve to 0x200000. diff --git a/ld/configure.host b/ld/configure.host index 7936877..522d05d 100644 --- a/ld/configure.host +++ b/ld/configure.host @@ -189,12 +189,12 @@ powerpc*-*-linux-gnu*) HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` /usr/lib/crtn.o' ;; -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`' +s390x-*-linux-gnu*) + HOSTING_CRT0='-dynamic-linker /lib/ld64.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) +s390-*-linux-gnu*) 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' ;; |