This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
sparc gas testsuite fixes
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Date: Mon, 26 Aug 2002 20:12:07 +0930
- Subject: sparc gas testsuite fixes
Applying mainline and branch.
gas/testsuite/ChangeLog
* gas/sparc/sparc.exp (sparc_elf_setup): New.
Use it to xfail for non-ELF targets.
Index: gas/testsuite/gas/sparc/sparc.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/sparc/sparc.exp,v
retrieving revision 1.4
diff -u -p -r1.4 sparc.exp
--- gas/testsuite/gas/sparc/sparc.exp 21 Dec 2001 22:35:24 -0000 1.4
+++ gas/testsuite/gas/sparc/sparc.exp 26 Aug 2002 08:25:37 -0000
@@ -16,10 +16,21 @@ proc gas_64_check { } {
return [regexp "elf64\[_-\]sparc" $nm_help];
}
+proc sparc_elf_setup { } {
+ setup_xfail "sparc*-*-*aout*" "sparc*-*-sunos4*" "sparc*-*-vxworks*"
+ setup_xfail "sparc*-fujitsu-none" "sparc*-*-*n*bsd*"
+ setup_xfail "sparc*-*-coff" "sparc*-*-lynxos*"
+ clear_xfail "sparc64*-*-*n*bsd*"
+}
+
if [istarget sparc*-*-*] {
run_dump_test "synth"
+ # The next three tests are ELF only.
+ sparc_elf_setup
run_dump_test "unalign"
+ sparc_elf_setup
run_dump_test "pcrel"
+ sparc_elf_setup
run_dump_test "plt"
if [gas_64_check] {
run_dump_test "asi"
--
Alan Modra
IBM OzLabs - Linux Technology Centre