diff options
Diffstat (limited to 'gas/testsuite/gas/elf/elf.exp')
-rw-r--r-- | gas/testsuite/gas/elf/elf.exp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp new file mode 100644 index 00000000000..98684dd7d5a --- /dev/null +++ b/gas/testsuite/gas/elf/elf.exp @@ -0,0 +1,21 @@ +# +# elf tests +# + +# We're testing bits in obj-elf -- don't run on anything else. +if { ([istarget "*-*-elf*"] + || [istarget "*-*-linux*"] + || [istarget "sparc*-*-solaris*"] + || [istarget "mips*-*-irix6*"]) + && ![istarget *-*-linux*aout*] + && ![istarget *-*-linux*oldld*] +} then { + + # FIXME: This doesn't work for MIPS targets because of the .reginfo + # and .mdebug sections. + setup_xfail mips*-*-* + run_dump_test "section0" + + setup_xfail mips*-*-* + run_dump_test "section1" +} |