Commit | Line | Data |
---|---|---|
28e7fd62 | 1 | /* Copyright 2010-2013 Free Software Foundation, Inc. |
f2c7657e UW |
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 | This file is part of the gdb testsuite. | |
17 | ||
18 | Contributed by Ulrich Weigand <uweigand@de.ibm.com>. | |
19 | Tests for SPU addresses resulting from complex DWARF expressions. */ | |
20 | ||
21 | .text | |
22 | main: | |
23 | .Ltext_s: | |
24 | .LFB1: | |
25 | stqd $1,-240($1) | |
26 | ai $1,$1,-240 | |
27 | ai $2,$1,32 | |
28 | ai $2,$2,127 | |
29 | il $3,127 | |
30 | andc $3,$2,$3 | |
31 | il $2,1 | |
32 | lqd $4,0($3) | |
33 | cwd $5,0($3) | |
34 | shufb $2,$2,$4,$5 | |
35 | stqd $2,0($3) | |
36 | lqd $1,0($1) | |
37 | bi $0 | |
38 | .LFE1: | |
39 | .global main | |
40 | .type main,@function | |
41 | .size main,.LFE1-.LFB1 | |
42 | .Ltext_e: | |
43 | ||
44 | .section .debug_info,"",@progbits | |
45 | .Ldebug_info_s: | |
46 | .int .debug_info_size-4 | |
47 | .short 0x2 | |
48 | .int .Ldebug_abbrev_s | |
49 | .byte 0x4 | |
50 | .Ldie0: | |
51 | .uleb128 0x1 | |
52 | .string "test.c" | |
53 | .int .Ltext_s | |
54 | .int .Ltext_e | |
55 | .byte 0x1 | |
56 | .Ldie1: | |
57 | .uleb128 0x2 | |
58 | .string "int" | |
59 | .byte 0x4 | |
60 | .byte 0x5 | |
61 | .Ldie2: | |
62 | .uleb128 0x3 | |
63 | .int .Ldie4-.Ldebug_info_s | |
64 | .int .Ldie1-.Ldebug_info_s | |
65 | .Ldie3: | |
66 | .uleb128 0x4 | |
67 | .byte 0 | |
68 | .byte 0xf | |
69 | .uleb128 0 | |
70 | .Ldie4: | |
71 | .uleb128 0x5 | |
72 | .string "main" | |
73 | .int .LFB1 | |
74 | .int .LFE1 | |
75 | .byte 0x1 | |
76 | .byte 0x1 | |
77 | .byte 0x3 | |
78 | .byte 0x1 | |
79 | .byte 0x1 | |
80 | .byte 0x51 | |
81 | .Ldie5: | |
82 | .uleb128 0x6 | |
83 | .byte 0xe | |
84 | .byte 0x91 | |
85 | .sleb128 0x20 | |
86 | .byte 0xd | |
87 | .int 0x7f | |
88 | .byte 0x22 | |
89 | .byte 0xd | |
90 | .int 0xffffff80 | |
91 | .byte 0x1a | |
92 | .string "x" | |
93 | .byte 0x1 | |
94 | .byte 0 | |
95 | .int .Ldie2-.Ldebug_info_s | |
96 | .uleb128 0 | |
97 | .uleb128 0 | |
98 | .Ldebug_info_e: | |
99 | .set .debug_info_size,.Ldebug_info_e-.Ldebug_info_s | |
100 | ||
101 | ||
102 | .section .debug_abbrev,"",@progbits | |
103 | .Ldebug_abbrev_s: | |
104 | .uleb128 0x1 | |
105 | .uleb128 0x11 | |
106 | .byte 0x1 | |
107 | .uleb128 0x3 | |
108 | .uleb128 0x8 | |
109 | .uleb128 0x11 | |
110 | .uleb128 0x1 | |
111 | .uleb128 0x12 | |
112 | .uleb128 0x1 | |
113 | .uleb128 0x13 | |
114 | .uleb128 0xb | |
115 | .uleb128 0 | |
116 | .uleb128 0 | |
117 | ||
118 | .uleb128 0x2 | |
119 | .uleb128 0x24 | |
120 | .byte 0 | |
121 | .uleb128 0x3 | |
122 | .uleb128 0x8 | |
123 | .uleb128 0xb | |
124 | .uleb128 0xb | |
125 | .uleb128 0x3e | |
126 | .uleb128 0xb | |
127 | .uleb128 0 | |
128 | .uleb128 0 | |
129 | ||
130 | .uleb128 0x3 | |
131 | .uleb128 0x1 | |
132 | .byte 0x1 | |
133 | .uleb128 0x1 | |
134 | .uleb128 0x13 | |
135 | .uleb128 0x49 | |
136 | .uleb128 0x13 | |
137 | .uleb128 0 | |
138 | .uleb128 0 | |
139 | ||
140 | .uleb128 0x4 | |
141 | .uleb128 0x21 | |
142 | .byte 0 | |
143 | .uleb128 0x22 | |
144 | .uleb128 0xb | |
145 | .uleb128 0x2f | |
146 | .uleb128 0xb | |
147 | .uleb128 0 | |
148 | .uleb128 0 | |
149 | ||
150 | .uleb128 0x5 | |
151 | .uleb128 0x2e | |
152 | .byte 0x1 | |
153 | .uleb128 0x3 | |
154 | .uleb128 0x8 | |
155 | .uleb128 0x11 | |
156 | .uleb128 0x1 | |
157 | .uleb128 0x12 | |
158 | .uleb128 0x1 | |
159 | .uleb128 0x27 | |
160 | .uleb128 0xc | |
161 | .uleb128 0x3a | |
162 | .uleb128 0xb | |
163 | .uleb128 0x3b | |
164 | .uleb128 0xb | |
165 | .uleb128 0x3f | |
166 | .uleb128 0xc | |
167 | .uleb128 0x40 | |
168 | .uleb128 0xa | |
169 | .uleb128 0 | |
170 | .uleb128 0 | |
171 | ||
172 | .uleb128 0x6 | |
173 | .uleb128 0x34 | |
174 | .byte 0 | |
175 | .uleb128 0x2 | |
176 | .uleb128 0xa | |
177 | .uleb128 0x3 | |
178 | .uleb128 0x8 | |
179 | .uleb128 0x3a | |
180 | .uleb128 0xb | |
181 | .uleb128 0x3b | |
182 | .uleb128 0xb | |
183 | .uleb128 0x49 | |
184 | .uleb128 0x13 | |
185 | .uleb128 0 | |
186 | .uleb128 0 | |
187 | .uleb128 0 | |
188 | .Ldebug_abbrev_e: | |
189 | .set .debug_abbrev_size,.Ldebug_abbrev_e-.Ldebug_abbrev_s | |
190 |