X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Fsparc%2Fsparc.exp;fp=gas%2Ftestsuite%2Fgas%2Fsparc%2Fsparc.exp;h=dfb62494f328cbe8fa7c1be5080b747e28a17e6a;hp=876f9acf80111153f7207754770a243326e6d6e9;hb=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 diff --git a/gas/testsuite/gas/sparc/sparc.exp b/gas/testsuite/gas/sparc/sparc.exp index 876f9ac..dfb6249 100644 --- a/gas/testsuite/gas/sparc/sparc.exp +++ b/gas/testsuite/gas/sparc/sparc.exp @@ -10,10 +10,9 @@ proc gas_64_check { } { global NM global NMFLAGS - global srcdir - catch "exec $srcdir/lib/run $NM $NMFLAGS --help" nm_help - return [regexp "elf64\[_-\]sparc" $nm_help] + set status [gas_host_run "$NM $NMFLAGS --help" ""] + return [regexp "elf64\[_-\]sparc" [lindex $status 1]] } proc sparc_elf_setup { } { @@ -26,13 +25,15 @@ proc sparc_elf_setup { } { if [istarget sparc*-*-*] { run_dump_test "synth" - # The next three tests are ELF only. + # The next four 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" + sparc_elf_setup + run_dump_test "gotop32" if [gas_64_check] { run_dump_test "asi" run_dump_test "membar" @@ -47,12 +48,14 @@ if [istarget sparc*-*-*] { run_dump_test "reloc64" run_dump_test "pcrel64" run_dump_test "plt64" + run_dump_test "gotop64" } run_dump_test "v9branch1" run_dump_test "v9branch2" run_dump_test "v9branch3" run_dump_test "v9branch4" run_dump_test "v9branch5" + run_dump_test "pc2210" run_list_test "pr4587" "" }