* ld-undefined/undefined.exp (i?86-*-freebsd*): Remove xfail.
authorNick Clifton <nickc@redhat.com>
Tue, 17 Jun 2003 11:01:17 +0000 (11:01 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 17 Jun 2003 11:01:17 +0000 (11:01 +0000)
* configure.host (*-*-freebsd*): Add known path for ld-elf.so.1 if not produced by gcc.

ld/ChangeLog
ld/configure.host
ld/testsuite/ChangeLog
ld/testsuite/ld-undefined/undefined.exp

index f765b4f4dc0d26ed7b9862a2bdf803375ee5e44c..d8706a159486c85ccd0049544fd7236de63ac103 100644 (file)
@@ -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*
index 69132cda5a6f63715c3501df80636495316ee4c6..c11b13bb4053de8f0c43258a5471a74d9fb84ebe 100644 (file)
@@ -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`'
   ;;
 
index 7abdca720e0d1e9474da56b0ac518d1c2f0142e6..401c020980cd96fe3f178329c46180f7e9e367fa 100644 (file)
@@ -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.
index a8a27cdc4e1be0f4ecf623d25e5bf06097390cf4..ac7c98600c7c2bb1780b21f086604a76c2555192 100644 (file)
@@ -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-*-*"