This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

[PATCH] ld expected testsuite failures for FreeBSD/i386


I would like to apply this to the 2_11-branch, and the
ld-undefined/undefined.exp patch to mainline.


Index: ChangeLog
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ChangeLog,v
retrieving revision 1.50.2.2
diff -u -r1.50.2.2 ChangeLog
--- ChangeLog	2001/03/18 16:39:39	1.50.2.2
+++ ChangeLog	2001/04/01 03:05:43
@@ -1,3 +1,12 @@
+001-03-31  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-03-18  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
 
 	* ld-selective/selective.exp: Don't run test for 68hc11 and 68hc12
Index: ld-bootstrap/bootstrap.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-bootstrap/bootstrap.exp,v
retrieving revision 1.2
diff -u -r1.2 bootstrap.exp
--- bootstrap.exp	2000/08/03 18:31:50	1.2
+++ bootstrap.exp	2001/04/01 03:05:43
@@ -71,6 +71,14 @@
 	}
     }
 
+    # 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: ld-undefined/undefined.exp
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-undefined/undefined.exp,v
retrieving revision 1.5
diff -u -r1.5 undefined.exp
--- undefined.exp	2000/08/30 22:01:47	1.5
+++ undefined.exp	2001/04/01 03:05:43
@@ -126,6 +126,7 @@
 # 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]