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