diff options
author | Nick Clifton <nickc@redhat.com> | 1999-09-06 09:51:16 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 1999-09-06 09:51:16 +0000 |
commit | 1c56fb878fb73b5bd2552d8a659de926b72f5fe6 (patch) | |
tree | 4951df7bcecf9849fa87ea47a5574c51a8f2e0fd /ld/configure.host | |
parent | fed79cc616affa1f8b87d897616a9b9e9ae9ea99 (diff) | |
download | gdb-1c56fb878fb73b5bd2552d8a659de926b72f5fe6.zip gdb-1c56fb878fb73b5bd2552d8a659de926b72f5fe6.tar.gz gdb-1c56fb878fb73b5bd2552d8a659de926b72f5fe6.tar.bz2 |
Applied patch from Scott Bambrough <scottb@netwinder.org>:
Added HOSTING_CRT0, HOSTING_LIBS for target "arm*-*-linux-gnu*"
Diffstat (limited to 'ld/configure.host')
-rw-r--r-- | ld/configure.host | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/configure.host b/ld/configure.host index 6ba3450..90cfc52 100644 --- a/ld/configure.host +++ b/ld/configure.host @@ -35,6 +35,11 @@ alpha*-*-*) NATIVE_LIB_DIRS=/usr/ccs/lib ;; +arm*-*-linux-gnu*) + HOSTING_CRT0='-p -dynamic-linker `fgrep ld-linux.so \`${CC} --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[ ][ ]*\(.*/ld-linux.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`' + ;; + i[3456]86-*-bsd* | i[3456]86-*-freebsd* | i[3456]86-*-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 |