x86-64: don't accept supposedly disabled MOVQ forms
[binutils-gdb.git] / gas / testsuite / gas / elf / dwarf2-5.s
1 /* Test view numbering.
2
3 Copyright (C) 2017-2021 Free Software Foundation, Inc.
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-5.c"
19 .text
20 .balign 8
21 .globl _start
22 _start:
23 .file 1 "dwarf2-5.c"
24 .loc 1 1 view 0
25 .loc 1 2 view .L2
26 .quad 0
27 .loc 1 3 view 0
28 .balign 8
29 .loc 1 4 view .L4
30 .loc 1 5 view .L5
31 .org .+1
32 .balign 8
33 .loc 1 6 view 0
34 .quad 0
35 .text
36 .globl func
37 .type func, %function
38 func:
39 .loc 1 7 view 0
40 .loc 1 8 view .L8
41 .quad 0
42 .loc 1 9 view 0
43 .loc 1 10 view .L10
44 .pushsection .text
45 .loc 1 11 view .L11
46 .popsection
47 .loc 1 12 view .L12
48 .quad 0
49 .size func, .-func
50
51 .section .rodata
52 .uleb128 .L2
53 .uleb128 .L4
54 .uleb128 .L5
55 .uleb128 .L8
56 .uleb128 .L10
57 .uleb128 .L11
58 .uleb128 .L12