diff options
author | Alan Modra <amodra@gmail.com> | 2002-08-26 10:44:12 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2002-08-26 10:44:12 +0000 |
commit | 96e97d9be16c343e1adc8eb7b0cb643ac21446ba (patch) | |
tree | 40289eda77bf8b49268d0437c08769ada7931fdd /gas/testsuite | |
parent | 6c091933f43268650b537c3e7859db6492ecd30e (diff) | |
download | gdb-96e97d9be16c343e1adc8eb7b0cb643ac21446ba.zip gdb-96e97d9be16c343e1adc8eb7b0cb643ac21446ba.tar.gz gdb-96e97d9be16c343e1adc8eb7b0cb643ac21446ba.tar.bz2 |
* gas/sparc/sparc.exp (sparc_elf_setup): New.
Use it to xfail for non-ELF targets.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/ChangeLog | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/sparc/sparc.exp | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index e026344..d18d631 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2002-08-26 Alan Modra <amodra@bigpond.net.au> + * gas/sparc/sparc.exp (sparc_elf_setup): New. + Use it to xfail for non-ELF targets. + * gas/tic54x/align.s: Add comment. * gas/tic54x/align.d: Adjust .text size for 2002-05-23 write.c change. * gas/tic54x/extaddr.d: Similarly adjust disassembly tail. diff --git a/gas/testsuite/gas/sparc/sparc.exp b/gas/testsuite/gas/sparc/sparc.exp index 7298256..b7811b7 100644 --- a/gas/testsuite/gas/sparc/sparc.exp +++ b/gas/testsuite/gas/sparc/sparc.exp @@ -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" |