aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cell/dwarfaddr.S
blob: 29d9fbbd1030c86087d396e23563dc44d3172e82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
/* Copyright 2010-2013 Free Software Foundation, Inc.

   This program is free software; you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation; either version 3 of the License, or
   (at your option) any later version.

   This program is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.

   You should have received a copy of the GNU General Public License
   along with this program.  If not, see <http://www.gnu.org/licenses/>.

   This file is part of the gdb testsuite.

   Contributed by Ulrich Weigand <uweigand@de.ibm.com>.
   Tests for SPU addresses resulting from complex DWARF expressions.  */

	.text
main:
.Ltext_s:
.LFB1:
	stqd        $1,-240($1)
	ai          $1,$1,-240
	ai          $2,$1,32
	ai          $2,$2,127
	il          $3,127
	andc        $3,$2,$3
	il          $2,1
	lqd         $4,0($3)
	cwd         $5,0($3)
	shufb       $2,$2,$4,$5
	stqd        $2,0($3)
	lqd         $1,0($1)
	bi          $0
.LFE1:
	.global main
	.type	main,@function
	.size	main,.LFE1-.LFB1
.Ltext_e:

	.section	.debug_info,"",@progbits
.Ldebug_info_s:
	.int	.debug_info_size-4
	.short	0x2
	.int	.Ldebug_abbrev_s
	.byte	0x4
.Ldie0:
	.uleb128	0x1
	.string	"test.c"
	.int	.Ltext_s
	.int	.Ltext_e
	.byte	0x1
.Ldie1:
	.uleb128	0x2
	.string	"int"
	.byte	0x4
	.byte	0x5
.Ldie2:
	.uleb128	0x3
	.int	.Ldie4-.Ldebug_info_s
	.int	.Ldie1-.Ldebug_info_s
.Ldie3:
	.uleb128	0x4
	.byte	0
	.byte	0xf
	.uleb128	0
.Ldie4:
	.uleb128	0x5
	.string	"main"
	.int	.LFB1
	.int	.LFE1
	.byte	0x1
	.byte	0x1
	.byte	0x3
	.byte	0x1
	.byte	0x1
	.byte	0x51
.Ldie5:
	.uleb128	0x6
	.byte	0xe
	.byte	0x91
	.sleb128	0x20
	.byte	0xd
	.int	0x7f
	.byte	0x22
	.byte	0xd
	.int	0xffffff80
	.byte	0x1a
	.string	"x"
	.byte	0x1
	.byte	0
	.int	.Ldie2-.Ldebug_info_s
	.uleb128	0
	.uleb128	0
.Ldebug_info_e:
	.set	.debug_info_size,.Ldebug_info_e-.Ldebug_info_s


	.section	.debug_abbrev,"",@progbits
.Ldebug_abbrev_s:
	.uleb128	0x1
	.uleb128	0x11
	.byte	0x1
	.uleb128	0x3
	.uleb128	0x8
	.uleb128	0x11
	.uleb128	0x1
	.uleb128	0x12
	.uleb128	0x1
	.uleb128	0x13
	.uleb128	0xb
	.uleb128	0
	.uleb128	0

	.uleb128	0x2
	.uleb128	0x24
	.byte	0
	.uleb128	0x3
	.uleb128	0x8
	.uleb128	0xb
	.uleb128	0xb
	.uleb128	0x3e
	.uleb128	0xb
	.uleb128	0
	.uleb128	0

	.uleb128	0x3
	.uleb128	0x1
	.byte	0x1
	.uleb128	0x1
	.uleb128	0x13
	.uleb128	0x49
	.uleb128	0x13
	.uleb128	0
	.uleb128	0

	.uleb128	0x4
	.uleb128	0x21
	.byte	0
	.uleb128	0x22
	.uleb128	0xb
	.uleb128	0x2f
	.uleb128	0xb
	.uleb128	0
	.uleb128	0

	.uleb128	0x5
	.uleb128	0x2e
	.byte	0x1
	.uleb128	0x3
	.uleb128	0x8
	.uleb128	0x11
	.uleb128	0x1
	.uleb128	0x12
	.uleb128	0x1
	.uleb128	0x27
	.uleb128	0xc
	.uleb128	0x3a
	.uleb128	0xb
	.uleb128	0x3b
	.uleb128	0xb
	.uleb128	0x3f
	.uleb128	0xc
	.uleb128	0x40
	.uleb128	0xa
	.uleb128	0
	.uleb128	0

	.uleb128	0x6
	.uleb128	0x34
	.byte	0
	.uleb128	0x2
	.uleb128	0xa
	.uleb128	0x3
	.uleb128	0x8
	.uleb128	0x3a
	.uleb128	0xb
	.uleb128	0x3b
	.uleb128	0xb
	.uleb128	0x49
	.uleb128	0x13
	.uleb128	0
	.uleb128	0
	.uleb128	0
.Ldebug_abbrev_e:
	.set	.debug_abbrev_size,.Ldebug_abbrev_e-.Ldebug_abbrev_s