diff options
author | Nick Clifton <nickc@redhat.com> | 2003-06-17 11:01:17 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2003-06-17 11:01:17 +0000 |
commit | 40bdaaa8eda86bf285af6b11b72738f90adcad0c (patch) | |
tree | f8e89c2a3ef3a14d328225768e4979e9774ce85a /ld/configure.host | |
parent | b613960add9c5795487fac9952fe4a999e3c7d72 (diff) | |
download | gdb-40bdaaa8eda86bf285af6b11b72738f90adcad0c.zip gdb-40bdaaa8eda86bf285af6b11b72738f90adcad0c.tar.gz gdb-40bdaaa8eda86bf285af6b11b72738f90adcad0c.tar.bz2 |
* ld-undefined/undefined.exp (i?86-*-freebsd*): Remove xfail.
* configure.host (*-*-freebsd*): Add known path for ld-elf.so.1 if not produced by gcc.
Diffstat (limited to 'ld/configure.host')
-rw-r--r-- | ld/configure.host | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/ld/configure.host b/ld/configure.host index 69132cd..c11b13b 100644 --- a/ld/configure.host +++ b/ld/configure.host @@ -19,11 +19,7 @@ HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ]; then libgcc=../gcc/libgcc.a; else libg case "${host}" in *-*-freebsd*) - # Older versions of gcc do not use a specs file. In those cases, - # gcc -print-file-name=specs will simply print specs. We create a - # dummy specs files to handle this. - echo "-dynamic-linker `${CC} --print-file-name=ld-elf.so.1`" > specs - HOSTING_CRT0='-dynamic-linker `${CC} --print-prog-name=ld-elf.so.1` `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=crti.o` `${CC} --print-file-name=crtbegin.o`' + HOSTING_CRT0='-dynamic-linker `[ -f \`${CC} --print-prog-name=ld-elf.so.1\` ] || echo /usr/libexec/``${CC} --print-prog-name=ld-elf.so.1` `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=crti.o` `${CC} --print-file-name=crtbegin.o`' HOSTING_LIBS='-L`dirname \`${CC} --print-file-name=libc.so\`` '"$HOSTING_LIBS"' `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` `${CC} --print-file-name=crtn.o`' ;; |