2008-01-31 Marc Gauthier <marc@tensilica.com>
[deliverable/binutils-gdb.git] / gas / testsuite / gas / lns / lns.exp
CommitLineData
bd0eb99b
RH
1if ![is_elf_format] then {
2 return
3}
4
5run_list_test "lns-diag-1" ""
6
851feff8
DJ
7run_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).
14if {
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.
f8a52b59 23 if { [istarget xtensa*-*-*] } {
c5d07591 24 run_dump_test "lns-common-1-alt"
7ddd14de 25 run_dump_test "lns-big-delta"
661ba50f
BW
26 } elseif { [istarget ia64*-*-*] } {
27 run_dump_test "lns-common-1" { { source "lns-common-1-ia64.s" } }
c5d07591
NC
28 } else {
29 run_dump_test "lns-common-1"
30 }
bd0eb99b 31}
This page took 0.108021 seconds and 4 git commands to generate.