]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
2001-04-01 David O'Brien <obrien@FreeBSD.org> binutils-2_11
authorDavid O'Brien <obrien@FreeBSD.org>
Mon, 2 Apr 2001 23:38:42 +0000 (23:38 +0000)
committerDavid O'Brien <obrien@FreeBSD.org>
Mon, 2 Apr 2001 23:38:42 +0000 (23:38 +0000)
* ld-bootstrap/bootstrap.exp: FreeBSD 4.3+ will fail on the --static test
as the static ELF binary needs to have its EI_OSABI set to a supported
value.  There is no longer a fallback interpretation due to a security
issue.
* ld-undefined/undefined.exp: XFAIL on FreeBSD/i386 for the usual (even
though it doesn't use DWARF2 yet (but its output is identical).

Approved by:  Alan Modra <alan@linuxcare.com.au>
              <Pine.LNX.4.21.0104021511350.487-100000@front.linuxcare.com.au>

ld/testsuite/ChangeLog
ld/testsuite/ld-bootstrap/bootstrap.exp
ld/testsuite/ld-undefined/undefined.exp

index 242ea2bd7c5a7330b6a23f33090c9c45f809ec92..603c211cd6c6ae70e9cba8137f1cffac75ac2f3f 100644 (file)
@@ -1,4 +1,13 @@
-001-03-31  David O'Brien  <obrien@FreeBSD.org>
+2001-04-01  David O'Brien  <obrien@FreeBSD.org>
+
+       * ld-bootstrap/bootstrap.exp: FreeBSD 4.3+ will fail on the --static test
+       as the static ELF binary needs to have its EI_OSABI set to a supported
+       value.  There is no longer a fallback interpretation due to a security
+       issue.
+       * ld-undefined/undefined.exp: XFAIL on FreeBSD/i386 for the usual (even
+       though it doesn't use DWARF2 yet (but its output is identical).
+
+2001-04-01  David O'Brien  <obrien@FreeBSD.org>
 
        * ld-selective/selective.exp: Use -O with gcc rather than -O2.
        This optimization level is buggy on some platforms, and this test
index a3f8a190230510cda814b0b24289da529b0f6ee7..27eebd65647a2c15b5a156682a0c4e0d0adff2e5 100644 (file)
@@ -71,6 +71,14 @@ foreach flags {"" "strip" "--static" "--traditional-format" "--no-keep-memory"}
        }
     }
 
+    # On FreeBSD, running static ELF binaries requires that they have their
+    # EI_OSABI set to a supported value.  There is no longer a fallback
+    # interpretation.
+    if {"$flags" == "--static"} {
+       setup_xfail "*-*-freebsd4*"
+       setup_xfail "*-*-freebsd5*"
+    }
+
     # On Irix 5, linking with --static only works if all the files are
     # compiled using -non_shared.
     if {"$flags" == "--static"} {
index e49b90cc91bfc0c8f67f2f0e1dba77b687390b38..f3f4448bef0ae424af51bb138a6408c768478632 100644 (file)
@@ -126,6 +126,7 @@ 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