This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
testsuite fixes
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sourceware dot org
- Date: Thu, 9 Aug 2007 20:56:23 +0930
- Subject: testsuite fixes
i486-*-linuxaout fails these tests just like other aout targets.
binutils/testsuite/
* binutils-all/copy-2.d (not-target): Match *-*-*aout.
* binutils-all/copy-3.d (not-target): Likewise.
* binutils-all/objcopy.exp (objcopy_test): Remove extraneous
setup_xfail.
gas/testsuite/
* gas/all/weakref1u.d (not-target): Match *-*-*aout.
Index: binutils/testsuite/binutils-all/copy-2.d
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/copy-2.d,v
retrieving revision 1.3
diff -u -p -r1.3 copy-2.d
--- binutils/testsuite/binutils-all/copy-2.d 2 May 2006 17:46:41 -0000 1.3
+++ binutils/testsuite/binutils-all/copy-2.d 9 Aug 2007 01:40:59 -0000
@@ -3,7 +3,7 @@
#objcopy: --set-section-flags foo=contents,alloc,load,code
#name: copy with setting section flags 2
#source: copytest.s
-#not-target: *-*-aout
+#not-target: *-*-*aout
# Note - we use copytest.s and a section named "foo" rather
# than .text because for some file formats (eg PE) the .text
# section has a fixed set of flags and these cannot be changed.
Index: binutils/testsuite/binutils-all/copy-3.d
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/copy-3.d,v
retrieving revision 1.4
diff -u -p -r1.4 copy-3.d
--- binutils/testsuite/binutils-all/copy-3.d 8 Jan 2007 17:21:49 -0000 1.4
+++ binutils/testsuite/binutils-all/copy-3.d 9 Aug 2007 01:40:59 -0000
@@ -3,7 +3,7 @@
#objcopy: --set-section-flags .text=alloc,data
#name: copy with setting section flags 3
#source: bintest.s
-#not-target: *-*-aout *-*-*pe *-*-*coff i*86-*-cygwin* i*86-*-mingw32* x86_64-*-mingw*
+#not-target: *-*-*aout *-*-*pe *-*-*coff i*86-*-cygwin* i*86-*-mingw32* x86_64-*-mingw*
# The .text # section in PE/COFF has a fixed set of flags and these
# cannot be changed. We skip it for them.
Index: binutils/testsuite/binutils-all/objcopy.exp
===================================================================
RCS file: /cvs/src/src/binutils/testsuite/binutils-all/objcopy.exp,v
retrieving revision 1.46
diff -u -p -r1.46 objcopy.exp
--- binutils/testsuite/binutils-all/objcopy.exp 5 Jul 2007 16:54:45 -0000 1.46
+++ binutils/testsuite/binutils-all/objcopy.exp 9 Aug 2007 01:40:59 -0000
@@ -103,9 +103,6 @@ proc objcopy_test {testname srcfile} {
# On OSF/1, this succeeds with gas and fails with /bin/as.
setup_xfail "alpha*-*-osf*"
- # This fails for COFF i960-vxworks targets.
- setup_xfail "i960-*-vxworks*"
-
fail "objcopy ($testname)"
}
}
Index: gas/testsuite/gas/all/weakref1u.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/all/weakref1u.d,v
retrieving revision 1.3
diff -u -p -r1.3 weakref1u.d
--- gas/testsuite/gas/all/weakref1u.d 20 Nov 2005 22:03:25 -0000 1.3
+++ gas/testsuite/gas/all/weakref1u.d 9 Aug 2007 01:41:09 -0000
@@ -3,7 +3,7 @@
#source: weakref1.s
# aout turns undefined into *ABS* symbols.
# see weakref1.d for comments on the other not-targets
-#not-target: *-*-aout ns32k-*-netbsd alpha*-*-osf* *-*-ecoff pdp11-*-aout
+#not-target: *-*-*aout ns32k-*-netbsd alpha*-*-osf* *-*-ecoff
# the rest of this file is generated with the following script:
# # script begin
--
Alan Modra
Australia Development Lab, IBM