FT32B is a new FT32 family member. It has a code compression scheme, which requires...
[deliverable/binutils-gdb.git] / gas / testsuite / gas / lns / lns.exp
CommitLineData
2571583a 1# Copyright (C) 2012-2017 Free Software Foundation, Inc.
5bf135a7
NC
2
3# This program is free software; you can redistribute it and/or modify
4# it under the terms of the GNU General Public License as published by
5# the Free Software Foundation; either version 3 of the License, or
6# (at your option) any later version.
7#
8# This program is distributed in the hope that it will be useful,
9# but WITHOUT ANY WARRANTY; without even the implied warranty of
10# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11# GNU General Public License for more details.
12#
13# You should have received a copy of the GNU General Public License
14# along with this program; if not, write to the Free Software
15# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
16
bd0eb99b
RH
17if ![is_elf_format] then {
18 return
19}
20
21run_list_test "lns-diag-1" ""
800f6ec8 22run_dump_test "lns-duplicate"
851feff8 23
69444d9f
AM
24# ??? Won't work on targets that don't have a bare "nop" insn.
25# Perhaps we could arrange for an include file or something that
26# defined a macro...
c5d07591 27if {
800f6ec8 28 ![istarget i370-*-*]
7c48b4f1 29 && ![istarget i960-*-*]
c5d07591
NC
30 && ![istarget s390*-*-*]
31} {
32 # Use alternate file for targets using DW_LNS_fixed_advance_pc opcodes.
6ff71e76 33 if { [istarget am3*-*-*]
b782c63d 34 || [istarget avr*-*-*]
453dc3f0 35 || [istarget cr16-*-*]
b9e10fe0 36 || [istarget crx-*-*]
81b42bca 37 || [istarget ft32*-*]
6ff71e76 38 || [istarget mn10*-*-*]
13761a11 39 || [istarget msp430-*-*]
35c08157 40 || [istarget nds32*-*-*]
93f11b16 41 || [istarget pru-*-*]
6ff71e76
NC
42 || [istarget rl78-*-*]
43 || [istarget xtensa*-*-*] } {
c5d07591 44 run_dump_test "lns-common-1-alt"
7ddd14de 45 run_dump_test "lns-big-delta"
661ba50f
BW
46 } elseif { [istarget ia64*-*-*] } {
47 run_dump_test "lns-common-1" { { source "lns-common-1-ia64.s" } }
73589c9d
CS
48 } elseif { [istarget or1k*-*-*] } {
49 run_dump_test "lns-common-1" { { source "lns-common-1-or1k.s" } }
c5d07591
NC
50 } else {
51 run_dump_test "lns-common-1"
52 }
bd0eb99b 53}
This page took 0.501521 seconds and 4 git commands to generate.