diff options
author | Alan Modra <amodra@gmail.com> | 2001-10-23 05:49:02 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-10-23 05:49:02 +0000 |
commit | 1a3d33ce816075410cb4283e161bee7c79f827e4 (patch) | |
tree | d02aa70c317b38a15051c0f47f1c92c8cc81db9c /ld | |
parent | 39e74e8198597a799a699a3abd77198577dc285e (diff) | |
download | fsf-binutils-gdb-1a3d33ce816075410cb4283e161bee7c79f827e4.zip fsf-binutils-gdb-1a3d33ce816075410cb4283e161bee7c79f827e4.tar.gz fsf-binutils-gdb-1a3d33ce816075410cb4283e161bee7c79f827e4.tar.bz2 |
* configure.host: Move alpha*-*-linux-gnu* entry to generic
entries, and match *-*-linux*.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 5 | ||||
-rw-r--r-- | ld/configure.host | 10 |
2 files changed, 10 insertions, 5 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index 50816d0..26ed67d 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2001-10-23 Alan Modra <amodra@bigpond.net.au> + + * configure.host: Move alpha*-*-linux-gnu* entry to generic + entries, and match *-*-linux*. + 2001-10-20 Alan Modra <amodra@bigpond.net.au> * ldgram.y (mri_script_command): Surround processing of INCLUDE diff --git a/ld/configure.host b/ld/configure.host index 522d05d..1b65fcb 100644 --- a/ld/configure.host +++ b/ld/configure.host @@ -16,11 +16,6 @@ NATIVE_LIB_DIRS= case "${host}" in -alpha*-*-linux-gnu*) - HOSTING_CRT0='-dynamic-linker `egrep "ld[^ ]*\.so" \`${CC} --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[ ][ ]*\(.*/ld[^ ]*.so..\).*,\1,"` `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=crti.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` -L`dirname \`${CC} --print-file-name=libc.so\`` -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` `${CC} --print-file-name=crtn.o`' - ;; - alpha*-*-netbsd*) # The new BSD `make' has a bug: it doesn't pass empty arguments in # shell commands. So we need to make this value non-empty in order @@ -229,6 +224,11 @@ sparc64-*-linux-gnu*) HOSTING_LIBS='`${CC} -print-libgcc-file-name` -L`dirname \`${CC} --print-file-name=libc.so\`` -lc `${CC} -print-libgcc-file-name` `${CC} --print-file-name=crtend.o` `${CC} --print-file-name=crtn.o`' ;; +*-*-linux*) + HOSTING_CRT0='-dynamic-linker `egrep "ld[^ ]*\.so" \`${CC} --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[ ][ ]*\(.*/ld[^ ]*.so..\).*,\1,"` `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=crti.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` -L`dirname \`${CC} --print-file-name=libc.so\`` -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` `${CC} --print-file-name=crtn.o`' + ;; + alpha*-*-*) HOSTING_CRT0=/usr/ccs/lib/crt0.o NATIVE_LIB_DIRS=/usr/ccs/lib |