diff options
Diffstat (limited to 'gas/testsuite/gas/cfi/cfi.exp')
-rw-r--r-- | gas/testsuite/gas/cfi/cfi.exp | 22 |
1 files changed, 8 insertions, 14 deletions
diff --git a/gas/testsuite/gas/cfi/cfi.exp b/gas/testsuite/gas/cfi/cfi.exp index eeb5510982919..b396f9e85235e 100644 --- a/gas/testsuite/gas/cfi/cfi.exp +++ b/gas/testsuite/gas/cfi/cfi.exp @@ -1,17 +1,3 @@ -# ??? This probably shouldn't be replicated here... -proc run_list_test { name opts } { - global srcdir subdir - set testname "cfi $name" - set file $srcdir/$subdir/$name - gas_run ${name}.s $opts ">&dump.out" - if { [regexp_diff "dump.out" "${file}.l"] } then { - fail $testname - verbose "output is [file_contents "dump.out"]" 2 - return - } - pass $testname -} - if ![is_elf_format] then { return } @@ -61,6 +47,8 @@ if [istarget "x86_64-*"] then { } elseif { [istarget "mips*-*"] } then { run_dump_test "cfi-mips-1" +} elseif { [istarget "hppa*-linux*"] } then { + run_dump_test "cfi-hppa-1" } else { return } @@ -70,3 +58,9 @@ run_dump_test "cfi-common-1" run_dump_test "cfi-common-2" run_dump_test "cfi-common-3" run_dump_test "cfi-common-4" +run_dump_test "cfi-common-5" + +# MIPS doesn't support PC relative cfi directives +if { ![istarget "mips*-*"] } then { + run_dump_test "cfi-common-6" +} |