Commit | Line | Data |
---|---|---|
bd0eb99b RH |
1 | if ![is_elf_format] then { |
2 | return | |
3 | } | |
4 | ||
5 | run_list_test "lns-diag-1" "" | |
6 | ||
851feff8 DJ |
7 | run_dump_test "lns-duplicate" |
8 | ||
69444d9f AM |
9 | # ??? Won't work on targets that don't have a bare "nop" insn. |
10 | # Perhaps we could arrange for an include file or something that | |
11 | # defined a macro... | |
c5d07591 NC |
12 | # Nor does it work on targets that do not generate line number |
13 | # information (d10v). | |
14 | if { | |
15 | ![istarget d10v-*-*] | |
7c48b4f1 NC |
16 | && ![istarget i370-*-*] |
17 | && ![istarget i960-*-*] | |
18 | && ![istarget mcore-*-*] | |
19 | && ![istarget or32-*-*] | |
c5d07591 NC |
20 | && ![istarget s390*-*-*] |
21 | } { | |
22 | # Use alternate file for targets using DW_LNS_fixed_advance_pc opcodes. | |
23 | if { [istarget xtensa-*-*] } { | |
24 | run_dump_test "lns-common-1-alt" | |
661ba50f BW |
25 | } elseif { [istarget ia64*-*-*] } { |
26 | run_dump_test "lns-common-1" { { source "lns-common-1-ia64.s" } } | |
c5d07591 NC |
27 | } else { |
28 | run_dump_test "lns-common-1" | |
29 | } | |
bd0eb99b | 30 | } |