1 /* This testcase is part of GDB, the GNU debugger.
3 Copyright 2012-2015 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/>. */
24 .type gcc42, %function
25 .size gcc42, . - gcc42
31 .type gcc43, %function
32 .size gcc43, . - gcc43
35 /* Debug information */
40 .4byte .Lcu1_end - .Lcu1_start /* Length of Compilation Unit */
42 .2byte 2 /* DWARF Version */
43 .4byte .Labbrev1_begin /* Offset into abbrev section */
44 .byte 4 /* Pointer size */
46 .uleb128 1 /* Abbrev: DW_TAG_compile_unit */
47 .4byte .Lgcc42_begin /* DW_AT_stmt_list */
48 .4byte .Lgcc42_procstart /* DW_AT_low_pc */
49 .4byte .Lgcc42_procend /* DW_AT_high_pc */
50 .ascii "/dir/d/dw2-compdir-oldgcc42.S\0" /* DW_AT_name */
51 .ascii "GNU C 4.2.0\0" /* DW_AT_producer */
52 .byte 1 /* DW_AT_language (C) */
54 .uleb128 2 /* Abbrev: DW_TAG_subprogram */
55 .byte 1 /* DW_AT_external */
56 .byte 1 /* DW_AT_decl_file */
57 .byte 1 /* DW_AT_decl_line */
58 .ascii "gcc42\0" /* DW_AT_name */
59 .4byte .Lgcc42_procstart /* DW_AT_low_pc */
60 .4byte .Lgcc42_procend /* DW_AT_high_pc */
62 .byte 0 /* End of children of CU */
67 .4byte .Lcu2_end - .Lcu2_start /* Length of Compilation Unit */
69 .2byte 2 /* DWARF Version */
70 .4byte .Labbrev1_begin /* Offset into abbrev section */
71 .byte 4 /* Pointer size */
73 .uleb128 1 /* Abbrev: DW_TAG_compile_unit */
74 .4byte .Lgcc43_begin /* DW_AT_stmt_list */
75 .4byte .Lgcc43_procstart /* DW_AT_low_pc */
76 .4byte .Lgcc43_procend /* DW_AT_high_pc */
77 .ascii "/dir/d/dw2-compdir-oldgcc43.S\0" /* DW_AT_name */
78 .ascii "GNU C 4.3.0\0" /* DW_AT_producer */
79 .byte 1 /* DW_AT_language (C) */
81 .uleb128 2 /* Abbrev: DW_TAG_subprogram */
82 .byte 1 /* DW_AT_external */
83 .byte 1 /* DW_AT_decl_file */
84 .byte 1 /* DW_AT_decl_line */
85 .ascii "gcc43\0" /* DW_AT_name */
86 .4byte .Lgcc43_procstart /* DW_AT_low_pc */
87 .4byte .Lgcc43_procend /* DW_AT_high_pc */
89 .byte 0 /* End of children of CU */
93 .section .debug_abbrev
95 .uleb128 1 /* Abbrev code */
96 .uleb128 0x11 /* DW_TAG_compile_unit */
97 .byte 1 /* has_children */
98 .uleb128 0x10 /* DW_AT_stmt_list */
99 .uleb128 0x6 /* DW_FORM_data4 */
100 .uleb128 0x11 /* DW_AT_low_pc */
101 .uleb128 0x1 /* DW_FORM_addr */
102 .uleb128 0x12 /* DW_AT_high_pc */
103 .uleb128 0x1 /* DW_FORM_addr */
104 .uleb128 0x3 /* DW_AT_name */
105 .uleb128 0x8 /* DW_FORM_string */
106 .uleb128 0x25 /* DW_AT_producer */
107 .uleb128 0x8 /* DW_FORM_string */
108 .uleb128 0x13 /* DW_AT_language */
109 .uleb128 0xb /* DW_FORM_data1 */
110 .byte 0x0 /* Terminator */
111 .byte 0x0 /* Terminator */
113 .uleb128 2 /* Abbrev code */
114 .uleb128 0x2e /* DW_TAG_subprogram */
115 .byte 0 /* has_children */
116 .uleb128 0x3f /* DW_AT_external */
117 .uleb128 0xc /* DW_FORM_flag */
118 .uleb128 0x3a /* DW_AT_decl_file */
119 .uleb128 0xb /* DW_FORM_data1 */
120 .uleb128 0x3b /* DW_AT_decl_line */
121 .uleb128 0xb /* DW_FORM_data1 */
122 .uleb128 0x3 /* DW_AT_name */
123 .uleb128 0x8 /* DW_FORM_string */
124 .uleb128 0x11 /* DW_AT_low_pc */
125 .uleb128 0x1 /* DW_FORM_addr */
126 .uleb128 0x12 /* DW_AT_high_pc */
127 .uleb128 0x1 /* DW_FORM_addr */
128 .byte 0x0 /* Terminator */
129 .byte 0x0 /* Terminator */
131 .byte 0x0 /* Terminator */
132 .byte 0x0 /* Terminator */
137 .4byte .Lgcc42_end - .Lgcc42_start /* Initial length */
139 .2byte 2 /* Version */
140 .4byte .Lgcc42_lines - .Lgcc42_hdr /* header_length */
142 .byte 1 /* Minimum insn length */
143 .byte 1 /* default_is_stmt */
144 .byte 1 /* line_base */
145 .byte 1 /* line_range */
146 .byte 4 /* opcode_base */
148 /* Standard lengths */
153 /* Include directories */
157 .ascii "dw2-compdir-oldgcc42.S\0"
158 .uleb128 0 /* directory */
165 .byte 0 /* DW_LNE_set_address */
170 .byte 3 /* DW_LNS_advance_line */
171 .sleb128 41 /* ... to 42 */
173 .byte 1 /* DW_LNS_copy */
175 .byte 0 /* DW_LNE_set_address */
178 .4byte .Lgcc42_procend
180 .byte 0 /* DW_LNE_end_of_sequence */
186 .4byte .Lgcc43_end - .Lgcc43_start /* Initial length */
188 .2byte 2 /* Version */
189 .4byte .Lgcc43_lines - .Lgcc43_hdr /* header_length */
191 .byte 1 /* Minimum insn length */
192 .byte 1 /* default_is_stmt */
193 .byte 1 /* line_base */
194 .byte 1 /* line_range */
195 .byte 4 /* opcode_base */
197 /* Standard lengths */
202 /* Include directories */
206 .ascii "dw2-compdir-oldgcc43.S\0"
207 .uleb128 0 /* directory */
214 .byte 0 /* DW_LNE_set_address */
219 .byte 3 /* DW_LNS_advance_line */
220 .sleb128 42 /* ... to 43 */
222 .byte 1 /* DW_LNS_copy */
224 .byte 0 /* DW_LNE_set_address */
227 .4byte .Lgcc43_procend
229 .byte 0 /* DW_LNE_end_of_sequence */