Upload Tizen:Base source
[external/binutils.git] / gas / testsuite / gas / lns / lns.exp
1 if ![is_elf_format] then {
2     return
3 }
4
5 run_list_test "lns-diag-1" ""
6 run_dump_test "lns-duplicate"
7
8 # ??? Won't work on targets that don't have a bare "nop" insn.
9 # Perhaps we could arrange for an include file or something that
10 # defined a macro...
11 if {
12         ![istarget i370-*-*]
13      && ![istarget i960-*-*]
14      && ![istarget mcore-*-*]
15      && ![istarget or32-*-*]
16      && ![istarget rx-*-*]
17      && ![istarget s390*-*-*]
18 } {
19     # Use alternate file for targets using DW_LNS_fixed_advance_pc opcodes.
20     if { [istarget xtensa*-*-*] } {
21       run_dump_test "lns-common-1-alt"
22       run_dump_test "lns-big-delta"
23     } elseif { [istarget ia64*-*-*] } {
24       run_dump_test "lns-common-1" { { source "lns-common-1-ia64.s" } }
25     } else {
26       run_dump_test "lns-common-1"
27     }
28 }