summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2003-06-17 11:01:17 +0000
committerNick Clifton <nickc@redhat.com>2003-06-17 11:01:17 +0000
commit40bdaaa8eda86bf285af6b11b72738f90adcad0c (patch)
treef8e89c2a3ef3a14d328225768e4979e9774ce85a
parentb613960add9c5795487fac9952fe4a999e3c7d72 (diff)
downloadppe42-binutils-40bdaaa8eda86bf285af6b11b72738f90adcad0c.tar.gz
ppe42-binutils-40bdaaa8eda86bf285af6b11b72738f90adcad0c.zip
* 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.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/configure.host6
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-undefined/undefined.exp4
4 files changed, 10 insertions, 9 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index f765b4f4dc..d8706a1594 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com>
+
+ * configure.host (*-*-freebsd*): Add known path for ld-elf.so.1
+ if not produced by gcc.
+
2003-06-16 Hans-Peter Nilsson <hp@axis.com>
* configure.tgt: Add specific case for cris-*-linux-gnu*
diff --git a/ld/configure.host b/ld/configure.host
index 69132cda5a..c11b13bb40 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 7abdca720e..401c020980 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2003-06-17 Loren James Rittle <rittle@latour.rsch.comm.mot.com>
+
+ * ld-undefined/undefined.exp (i?86-*-freebsd*): Remove xfail.
+
2003-06-16 Alan Modra <amodra@bigpond.net.au>
* ld-powerpc/tlsexetoc.d: Update.
diff --git a/ld/testsuite/ld-undefined/undefined.exp b/ld/testsuite/ld-undefined/undefined.exp
index a8a27cdc4e..ac7c98600c 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-*-*"
OpenPOWER on IntegriCloud