]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/gdb.dwarf2/dw2-entry-value.S
Update copyright year range in header of all files managed by GDB
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.dwarf2 / dw2-entry-value.S
CommitLineData
1d506c26 1/* Copyright 2011-2024 Free Software Foundation, Inc.
dd90784c
JK
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, see <http://www.gnu.org/licenses/>. */
15
16 .section .debug_info
17debug_start:
856d06f9 18 .4byte debug_end - 1f /* Length of Compilation Unit Info */
dd90784c
JK
191:
20 .2byte 0x3 /* DWARF version number */
856d06f9 21 .4byte .Ldebug_abbrev0 /* Offset Into Abbrev. Section */
dd90784c
JK
22 .byte 0x4 /* Pointer Size (in bytes) */
23 .uleb128 0x1 /* (DIE (0xb) DW_TAG_compile_unit) */
24 .ascii "GNU C 4.4.3\0" /* DW_AT_producer */
25 .byte 0x1 /* DW_AT_language */
26 .ascii "1.c\0" /* DW_AT_name */
27 .uleb128 0x4 /* (DIE (0x3c) DW_TAG_subprogram) */
28 .ascii "f\0" /* DW_AT_name */
856d06f9
TS
29 .4byte f_start /* DW_AT_low_pc */
30 .4byte f_end /* DW_AT_high_pc */
dd90784c
JK
31 .byte 0x1 /* DW_AT_prototyped */
32 .uleb128 0x5 /* (DIE (0x42) DW_TAG_formal_parameter) */
33 .ascii "param\0" /* DW_AT_name */
856d06f9
TS
34 .4byte type - debug_start /* DW_AT_type */
35 .4byte loclist /* DW_AT_location */
dd90784c
JK
36 .byte 0x0 /* end of children of DIE 0x3c */
37type:
38 .uleb128 3 /* Abbrev: DW_TAG_base_type */
39 .ascii "int\0" /* DW_AT_name */
40 .byte 4 /* DW_AT_byte_size */
41 .byte 5 /* DW_AT_encoding */
42
43 .byte 0x0 /* end of children of DIE 0xb */
44debug_end:
45
46 .section .debug_loc
47loclist:
856d06f9 48 .4byte f_start, f_end
dd90784c
JK
49 .2byte 2f-1f
501: .byte 0xf3 /* DW_OP_GNU_entry_value */
51 .uleb128 2f-3f
523: .byte 0x50 /* DW_OP_reg0 */
532:
856d06f9 54 .4byte 0, 0
dd90784c
JK
55
56 .section .debug_abbrev
57.Ldebug_abbrev0:
58 .uleb128 0x1 /* (abbrev code) */
59 .uleb128 0x11 /* (TAG: DW_TAG_compile_unit) */
60 .byte 0x1 /* DW_children_yes */
61 .uleb128 0x25 /* (DW_AT_producer) */
62 .uleb128 0x8 /* (DW_FORM_string) */
63 .uleb128 0x13 /* (DW_AT_language) */
64 .uleb128 0xb /* (DW_FORM_data1) */
65 .uleb128 0x3 /* (DW_AT_name) */
66 .uleb128 0x8 /* (DW_FORM_string) */
67 .byte 0x0
68 .byte 0x0
69 .uleb128 3 /* Abbrev code */
70 .uleb128 0x24 /* DW_TAG_base_type */
71 .byte 0 /* has_children */
72 .uleb128 0x3 /* DW_AT_name */
73 .uleb128 0x8 /* DW_FORM_string */
74 .uleb128 0xb /* DW_AT_byte_size */
75 .uleb128 0xb /* DW_FORM_data1 */
76 .uleb128 0x3e /* DW_AT_encoding */
77 .uleb128 0xb /* DW_FORM_data1 */
78 .byte 0x0 /* Terminator */
79 .byte 0x0 /* Terminator */
80 .uleb128 0x4 /* (abbrev code) */
81 .uleb128 0x2e /* (TAG: DW_TAG_subprogram) */
82 .byte 0x1 /* DW_children_yes */
83 .uleb128 0x3 /* (DW_AT_name) */
84 .uleb128 0x8 /* (DW_FORM_string) */
85 .uleb128 0x11 /* (DW_AT_low_pc) */
86 .uleb128 0x1 /* (DW_FORM_addr) */
87 .uleb128 0x12 /* (DW_AT_high_pc) */
88 .uleb128 0x1 /* (DW_FORM_addr) */
89 .uleb128 0x27 /* (DW_AT_prototyped) */
90 .uleb128 0xc /* (DW_FORM_flag) */
91 .byte 0x0
92 .byte 0x0
93 .uleb128 0x5 /* (abbrev code) */
94 .uleb128 0x5 /* (TAG: DW_TAG_formal_parameter) */
95 .byte 0x0 /* DW_children_no */
96 .uleb128 0x3 /* DW_AT_name */
97 .uleb128 0x8 /* DW_FORM_string */
98 .uleb128 0x49 /* (DW_AT_type) */
99 .uleb128 0x13 /* (DW_FORM_ref4) */
100 .uleb128 0x02 /* (DW_AT_location) */
101 .uleb128 0x06 /* (DW_FORM_data4) */
102 .byte 0x0
103 .byte 0x0
104 .byte 0x0
a2ee3a8f
TV
105#ifdef __arm__
106 .section .note.GNU-stack,"",%progbits
107#else
0f2cd53c 108 .section .note.GNU-stack,"",@progbits
a2ee3a8f 109#endif