summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/elf/elf.exp
blob: 98684dd7d5a26f3feea39868d4254f9f17c06a3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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" 
}