From 40bdaaa8eda86bf285af6b11b72738f90adcad0c Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Tue, 17 Jun 2003 11:01:17 +0000 Subject: [PATCH] * 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. --- ld/ChangeLog | 5 +++++ ld/configure.host | 6 +----- ld/testsuite/ChangeLog | 4 ++++ ld/testsuite/ld-undefined/undefined.exp | 4 ---- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index f765b4f4dc0..d8706a15948 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2003-06-17 Loren James Rittle + + * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1 + if not produced by gcc. + 2003-06-16 Hans-Peter Nilsson * configure.tgt: Add specific case for cris-*-linux-gnu* diff --git a/ld/configure.host b/ld/configure.host index 69132cda5a6..c11b13bb405 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`' ;; diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 7abdca720e0..401c020980c 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2003-06-17 Loren James Rittle + + * ld-undefined/undefined.exp (i?86-*-freebsd*): Remove xfail. + 2003-06-16 Alan Modra * ld-powerpc/tlsexetoc.d: Update. diff --git a/ld/testsuite/ld-undefined/undefined.exp b/ld/testsuite/ld-undefined/undefined.exp index a8a27cdc4e1..ac7c98600c7 100644 --- a/ld/testsuite/ld-undefined/undefined.exp +++ b/ld/testsuite/ld-undefined/undefined.exp @@ -129,10 +129,6 @@ set ml "undefined.c:9: undefined reference to `*this_function_is_not_defined'" # # hence the xfails below. -#setup_xfail arm-*-elf -setup_xfail i?86-*-freebsd* -#setup_xfail strongarm-*-elf -#setup_xfail thumb-*-elf setup_xfail mcore-*-elf setup_xfail mips-sgi-irix6* setup_xfail "sh64-*-*" -- 2.30.2