X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gas%2Ftestsuite%2Fgas%2Felf%2Felf.exp;h=df6b2851c7895d522ebca4a63991701ae185134a;hb=689580daaaa2fcbd641faf9abb7da6e8b7a48f6e;hp=5cfb7a6237ef6bd6e8b2eb71152704e4be4a7f98;hpb=250d07de5cf6efc81ed934c25292beb63c7e3129;p=binutils-gdb.git diff --git a/gas/testsuite/gas/elf/elf.exp b/gas/testsuite/gas/elf/elf.exp index 5cfb7a6237e..df6b2851c78 100644 --- a/gas/testsuite/gas/elf/elf.exp +++ b/gas/testsuite/gas/elf/elf.exp @@ -54,7 +54,11 @@ proc run_elf_list_test { name suffix opts readelf_opts readelf_pipe } { # We're testing bits in obj-elf -- don't run on anything else. if { [is_elf_format] } then { - set target_machine "" + if { [is_elf_unused_section_symbols ] } { + set target_machine -unused + } else { + set target_machine "" + } set dump_opts "" if {[istarget "arc*-*-*"]} { set target_machine -arc @@ -269,6 +273,8 @@ if { [is_elf_format] } then { run_dump_test "section25" run_dump_test "section26" run_dump_test "section27" + run_dump_test "section28" + run_dump_test "section29" run_dump_test "sh-link-zero" run_dump_test "dwarf2-1" $dump_opts run_dump_test "dwarf2-2" $dump_opts @@ -290,7 +296,11 @@ if { [is_elf_format] } then { run_dump_test "dwarf2-18" $dump_opts run_dump_test "dwarf2-19" $dump_opts run_dump_test "dwarf2-20" $dump_opts + run_dump_test "dwarf2-21" $dump_opts run_dump_test "dwarf-5-file0" $dump_opts + run_dump_test "dwarf-5-file0-2" $dump_opts + run_dump_test "dwarf-5-dir0" $dump_opts + run_dump_test "dwarf-5-loc0" $dump_opts run_dump_test "dwarf-4-cu" $dump_opts run_dump_test "dwarf-5-cu" $dump_opts run_dump_test "dwarf-5-nop-for-line-table" $dump_opts @@ -300,8 +310,10 @@ if { [is_elf_format] } then { run_dump_test "bad-section-flag" run_dump_test "bad-size" run_dump_test "bad-group" + run_dump_test "pr27355" run_dump_test "syms" + run_dump_test "startof" run_dump_test "missing-build-notes" @@ -324,9 +336,5 @@ if { [is_elf_format] } then { run_dump_test "bignums" run_dump_test "section-symbol-redef" - - load_lib gas-dg.exp - dg-init - dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/err-*.s $srcdir/$subdir/warn-*.s]] "" "" - dg-finish + run_dump_test "pr27228" }