2008-01-31 Marc Gauthier <marc@tensilica.com>
[deliverable/binutils-gdb.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
7 run_dump_test "lns-duplicate"
8
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...
12 # Nor does it work on targets that do not generate line number
13 # information (d10v).
14 if {
15 ![istarget d10v-*-*]
16 && ![istarget i370-*-*]
17 && ![istarget i960-*-*]
18 && ![istarget mcore-*-*]
19 && ![istarget or32-*-*]
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"
25 run_dump_test "lns-big-delta"
26 } elseif { [istarget ia64*-*-*] } {
27 run_dump_test "lns-common-1" { { source "lns-common-1-ia64.s" } }
28 } else {
29 run_dump_test "lns-common-1"
30 }
31 }
This page took 0.036404 seconds and 5 git commands to generate.