aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ld/testsuite/ChangeLog11
-rw-r--r--ld/testsuite/ld-bootstrap/bootstrap.exp8
-rw-r--r--ld/testsuite/ld-undefined/undefined.exp1
3 files changed, 19 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 242ea2b..603c211 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -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
diff --git a/ld/testsuite/ld-bootstrap/bootstrap.exp b/ld/testsuite/ld-bootstrap/bootstrap.exp
index a3f8a19..27eebd6 100644
--- a/ld/testsuite/ld-bootstrap/bootstrap.exp
+++ b/ld/testsuite/ld-bootstrap/bootstrap.exp
@@ -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"} {
diff --git a/ld/testsuite/ld-undefined/undefined.exp b/ld/testsuite/ld-undefined/undefined.exp
index e49b90c..f3f4448 100644
--- a/ld/testsuite/ld-undefined/undefined.exp
+++ b/ld/testsuite/ld-undefined/undefined.exp
@@ -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