blob: c2c2913552d3313cdb5aee1a3f56cfa5756a20e3 [file] [log] [blame]
if ![is_elf_format] then {
return
}
run_list_test "lns-diag-1" ""
# Does not work on targets that do not generate line number
# information (d10v).
if {![istarget d10v-*-*]} {
run_dump_test "lns-duplicate"
}
# ??? Won't work on targets that don't have a bare "nop" insn.
# Perhaps we could arrange for an include file or something that
# defined a macro...
# Nor does it work on targets that do not generate line number
# information (d10v).
if {
![istarget d10v-*-*]
&& ![istarget i370-*-*]
&& ![istarget i960-*-*]
&& ![istarget mcore-*-*]
&& ![istarget or32-*-*]
&& ![istarget s390*-*-*]
} {
# Use alternate file for targets using DW_LNS_fixed_advance_pc opcodes.
if { [istarget xtensa*-*-*] } {
run_dump_test "lns-common-1-alt"
run_dump_test "lns-big-delta"
} elseif { [istarget ia64*-*-*] } {
run_dump_test "lns-common-1" { { source "lns-common-1-ia64.s" } }
} else {
run_dump_test "lns-common-1"
}
}