2 # Free Software Foundation, Inc.
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3 of the License, or
7 # (at your option) any later version.
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write to the Free Software
16 # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
18 if ![is_elf_format] then {
22 run_list_test "lns-diag-1" ""
23 run_dump_test "lns-duplicate"
25 # ??? Won't work on targets that don't have a bare "nop" insn.
26 # Perhaps we could arrange for an include file or something that
30 && ![istarget i960-*-*]
31 && ![istarget mcore-*-*]
32 && ![istarget or32-*-*]
34 && ![istarget s390*-*-*]
36 # Use alternate file for targets using DW_LNS_fixed_advance_pc opcodes.
37 if { [istarget xtensa*-*-*]
38 || [istarget am3*-*-*]
39 || [istarget cr16-*-*]
41 || [istarget mn10*-*-*] } {
42 run_dump_test "lns-common-1-alt"
43 run_dump_test "lns-big-delta"
44 } elseif { [istarget ia64*-*-*] } {
45 run_dump_test "lns-common-1" { { source "lns-common-1-ia64.s" } }
47 run_dump_test "lns-common-1"