1 /* This testcase is part of GDB, the GNU debugger.
3 Copyright 2012-2014 Free Software Foundation, Inc.
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.
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.
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/>. */
23 .type gcc42, %function
24 .size gcc42, . - gcc42
29 .type gcc43, %function
30 .size gcc43, . - gcc43
33 /* Debug information */
38 .4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
40 .2byte 2 /* DWARF Version */
41 .4byte .Labbrev1_begin /* Offset into abbrev section */
42 .byte 4 /* Pointer size */
44 .uleb128 1 /* Abbrev: DW_TAG_compile_unit */
45 .4byte .Lgcc42_begin /* DW_AT_stmt_list */
46 .4byte gcc42 /* DW_AT_low_pc */
47 .4byte .Lgcc42_procend /* DW_AT_high_pc */
48 .ascii "/dir/d/dw2-compdir-oldgcc42.S\0" /* DW_AT_name */
49 .ascii "GNU C 4.2.0\0" /* DW_AT_producer */
50 .byte 1 /* DW_AT_language (C) */
52 .uleb128 2 /* Abbrev: DW_TAG_subprogram */
53 .byte 1 /* DW_AT_external */
54 .byte 1 /* DW_AT_decl_file */
55 .byte 1 /* DW_AT_decl_line */
56 .ascii "gcc42\0" /* DW_AT_name */
57 .4byte gcc42 /* DW_AT_low_pc */
58 .4byte .Lgcc42_procend /* DW_AT_high_pc */
60 .byte 0 /* End of children of CU */
65 .4byte .Lcu2_end - .Lcu2_start /* Length of Compilation Unit */
67 .2byte 2 /* DWARF Version */
68 .4byte .Labbrev1_begin /* Offset into abbrev section */
69 .byte 4 /* Pointer size */
71 .uleb128 1 /* Abbrev: DW_TAG_compile_unit */
72 .4byte .Lgcc43_begin /* DW_AT_stmt_list */
73 .4byte gcc43 /* DW_AT_low_pc */
74 .4byte .Lgcc43_procend /* DW_AT_high_pc */
75 .ascii "/dir/d/dw2-compdir-oldgcc43.S\0" /* DW_AT_name */
76 .ascii "GNU C 4.3.0\0" /* DW_AT_producer */
77 .byte 1 /* DW_AT_language (C) */
79 .uleb128 2 /* Abbrev: DW_TAG_subprogram */
80 .byte 1 /* DW_AT_external */
81 .byte 1 /* DW_AT_decl_file */
82 .byte 1 /* DW_AT_decl_line */
83 .ascii "gcc43\0" /* DW_AT_name */
84 .4byte gcc43 /* DW_AT_low_pc */
85 .4byte .Lgcc43_procend /* DW_AT_high_pc */
87 .byte 0 /* End of children of CU */
91 .section .debug_abbrev
93 .uleb128 1 /* Abbrev code */
94 .uleb128 0x11 /* DW_TAG_compile_unit */
95 .byte 1 /* has_children */
96 .uleb128 0x10 /* DW_AT_stmt_list */
97 .uleb128 0x6 /* DW_FORM_data4 */
98 .uleb128 0x11 /* DW_AT_low_pc */
99 .uleb128 0x1 /* DW_FORM_addr */
100 .uleb128 0x12 /* DW_AT_high_pc */
101 .uleb128 0x1 /* DW_FORM_addr */
102 .uleb128 0x3 /* DW_AT_name */
103 .uleb128 0x8 /* DW_FORM_string */
104 .uleb128 0x25 /* DW_AT_producer */
105 .uleb128 0x8 /* DW_FORM_string */
106 .uleb128 0x13 /* DW_AT_language */
107 .uleb128 0xb /* DW_FORM_data1 */
108 .byte 0x0 /* Terminator */
109 .byte 0x0 /* Terminator */
111 .uleb128 2 /* Abbrev code */
112 .uleb128 0x2e /* DW_TAG_subprogram */
113 .byte 0 /* has_children */
114 .uleb128 0x3f /* DW_AT_external */
115 .uleb128 0xc /* DW_FORM_flag */
116 .uleb128 0x3a /* DW_AT_decl_file */
117 .uleb128 0xb /* DW_FORM_data1 */
118 .uleb128 0x3b /* DW_AT_decl_line */
119 .uleb128 0xb /* DW_FORM_data1 */
120 .uleb128 0x3 /* DW_AT_name */
121 .uleb128 0x8 /* DW_FORM_string */
122 .uleb128 0x11 /* DW_AT_low_pc */
123 .uleb128 0x1 /* DW_FORM_addr */
124 .uleb128 0x12 /* DW_AT_high_pc */
125 .uleb128 0x1 /* DW_FORM_addr */
126 .byte 0x0 /* Terminator */
127 .byte 0x0 /* Terminator */
129 .byte 0x0 /* Terminator */
130 .byte 0x0 /* Terminator */
135 .4byte .Lgcc42_end - .Lgcc42_start /* Initial length */
137 .2byte 2 /* Version */
138 .4byte .Lgcc42_lines - .Lgcc42_hdr /* header_length */
140 .byte 1 /* Minimum insn length */
141 .byte 1 /* default_is_stmt */
142 .byte 1 /* line_base */
143 .byte 1 /* line_range */
144 .byte 4 /* opcode_base */
146 /* Standard lengths */
151 /* Include directories */
155 .ascii "dw2-compdir-oldgcc42.S\0"
156 .uleb128 0 /* directory */
163 .byte 0 /* DW_LNE_set_address */
168 .byte 3 /* DW_LNS_advance_line */
169 .sleb128 41 /* ... to 42 */
171 .byte 1 /* DW_LNS_copy */
173 .byte 0 /* DW_LNE_set_address */
176 .4byte .Lgcc42_procend
178 .byte 0 /* DW_LNE_end_of_sequence */
184 .4byte .Lgcc43_end - .Lgcc43_start /* Initial length */
186 .2byte 2 /* Version */
187 .4byte .Lgcc43_lines - .Lgcc43_hdr /* header_length */
189 .byte 1 /* Minimum insn length */
190 .byte 1 /* default_is_stmt */
191 .byte 1 /* line_base */
192 .byte 1 /* line_range */
193 .byte 4 /* opcode_base */
195 /* Standard lengths */
200 /* Include directories */
204 .ascii "dw2-compdir-oldgcc43.S\0"
205 .uleb128 0 /* directory */
212 .byte 0 /* DW_LNE_set_address */
217 .byte 3 /* DW_LNS_advance_line */
218 .sleb128 42 /* ... to 43 */
220 .byte 1 /* DW_LNS_copy */
222 .byte 0 /* DW_LNE_set_address */
225 .4byte .Lgcc43_procend
227 .byte 0 /* DW_LNE_end_of_sequence */