]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gas/testsuite/gas/elf/dwarf2-10.s
xtensa ignores option --no-link-relax
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / elf / dwarf2-10.s
CommitLineData
ba8826a8
AO
1/* Test view numbering zero-assert checking with zero-sized align.
2
82704155 3 Copyright (C) 2017-2019 Free Software Foundation, Inc.
ba8826a8
AO
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 3 of the License, or
8 (at your option) any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. */
17
18 .file "dwarf2-10.c"
19 .text
20 .balign 4
21 .globl _start
22_start:
23 .file 1 "dwarf2-10.c"
24 .loc 1 1 view 0
25 .balign 4 /* No skip needed here... */
26 .loc 1 2 view 0 /* so this zero-view check fails. */
27 .int 0
28 .loc 1 3 view 0
29 .balign 8 /* Skip 4 more bytes after .int... */
30 .loc 1 4 view 0 /* so this is a zero view indeed. */
31 .int 0
32 .size _start, .-_start