xref: /illumos-gate/usr/src/lib/libdwarf/common/dwarf_elf_reloc_arm.h (revision d48be21240dfd051b689384ce2b23479d757f2d8)
1 /* Created by build_access.py */
2 /* returns string of length 0 if invalid arg */
3 const char * dwarf_get_elf_relocname_arm(unsigned long);
4 #ifndef R_ARM_NONE
5 #define R_ARM_NONE           0
6 #endif /* R_ARM_NONE */
7 #ifndef R_ARM_PC24
8 #define R_ARM_PC24           1
9 #endif /* R_ARM_PC24 */
10 #ifndef R_ARM_ABS32
11 #define R_ARM_ABS32          2
12 #endif /* R_ARM_ABS32 */
13 #ifndef R_ARM_REL32
14 #define R_ARM_REL32          3
15 #endif /* R_ARM_REL32 */
16 #ifndef R_ARM_LDR_PC_G0
17 #define R_ARM_LDR_PC_G0      4
18 #endif /* R_ARM_LDR_PC_G0 */
19 #ifndef R_ARM_ABS16
20 #define R_ARM_ABS16          5
21 #endif /* R_ARM_ABS16 */
22 #ifndef R_ARM_ABS12
23 #define R_ARM_ABS12          6
24 #endif /* R_ARM_ABS12 */
25 #ifndef R_ARM_THM_ABS5
26 #define R_ARM_THM_ABS5       7
27 #endif /* R_ARM_THM_ABS5 */
28 #ifndef R_ARM_ABS8
29 #define R_ARM_ABS8           8
30 #endif /* R_ARM_ABS8 */
31 #ifndef R_ARM_SBREL32
32 #define R_ARM_SBREL32        9
33 #endif /* R_ARM_SBREL32 */
34 #ifndef R_ARM_THM_CALL
35 #define R_ARM_THM_CALL       10
36 #endif /* R_ARM_THM_CALL */
37 #ifndef R_ARM_THM_PC8
38 #define R_ARM_THM_PC8        11
39 #endif /* R_ARM_THM_PC8 */
40 #ifndef R_ARM_BREL_ADJ
41 #define R_ARM_BREL_ADJ       12
42 #endif /* R_ARM_BREL_ADJ */
43 #ifndef R_ARM_TLS_DESC
44 #define R_ARM_TLS_DESC       13
45 #endif /* R_ARM_TLS_DESC */
46 #ifndef R_ARM_THM_SWI8
47 #define R_ARM_THM_SWI8       14
48 #endif /* R_ARM_THM_SWI8 */
49 #ifndef R_ARM_XPC25
50 #define R_ARM_XPC25          15
51 #endif /* R_ARM_XPC25 */
52 #ifndef R_ARM_THM_XPC22
53 #define R_ARM_THM_XPC22      16
54 #endif /* R_ARM_THM_XPC22 */
55 #ifndef R_ARM_TLS_DTPMOD32
56 #define R_ARM_TLS_DTPMOD32   17
57 #endif /* R_ARM_TLS_DTPMOD32 */
58 #ifndef R_ARM_TLS_DTPOFF32
59 #define R_ARM_TLS_DTPOFF32   18
60 #endif /* R_ARM_TLS_DTPOFF32 */
61 #ifndef R_ARM_TLS_TPOFF32
62 #define R_ARM_TLS_TPOFF32    19
63 #endif /* R_ARM_TLS_TPOFF32 */
64 #ifndef R_ARM_COPY
65 #define R_ARM_COPY           20
66 #endif /* R_ARM_COPY */
67 #ifndef R_ARM_GLOB_DAT
68 #define R_ARM_GLOB_DAT       21
69 #endif /* R_ARM_GLOB_DAT */
70 #ifndef R_ARM_JUMP_SLOT
71 #define R_ARM_JUMP_SLOT      22
72 #endif /* R_ARM_JUMP_SLOT */
73 #ifndef R_ARM_RELATIVE
74 #define R_ARM_RELATIVE       23
75 #endif /* R_ARM_RELATIVE */
76 #ifndef R_ARM_GOTOFF32
77 #define R_ARM_GOTOFF32       24
78 #endif /* R_ARM_GOTOFF32 */
79 #ifndef R_ARM_BASE_PREL
80 #define R_ARM_BASE_PREL      25
81 #endif /* R_ARM_BASE_PREL */
82 #ifndef R_ARM_GOT_BREL
83 #define R_ARM_GOT_BREL       26
84 #endif /* R_ARM_GOT_BREL */
85 #ifndef R_ARM_PLT32
86 #define R_ARM_PLT32          27
87 #endif /* R_ARM_PLT32 */
88 #ifndef R_ARM_CALL
89 #define R_ARM_CALL           28
90 #endif /* R_ARM_CALL */
91 #ifndef R_ARM_JUMP24
92 #define R_ARM_JUMP24         29
93 #endif /* R_ARM_JUMP24 */
94 #ifndef R_ARM_THM_JUMP24
95 #define R_ARM_THM_JUMP24     30
96 #endif /* R_ARM_THM_JUMP24 */
97 #ifndef R_ARM_BASE_ABS
98 #define R_ARM_BASE_ABS       31
99 #endif /* R_ARM_BASE_ABS */
100 #ifndef R_ARM_ALU_PCREL_7_0
101 #define R_ARM_ALU_PCREL_7_0  32
102 #endif /* R_ARM_ALU_PCREL_7_0 */
103 #ifndef R_ARM_ALU_PCREL_15_8
104 #define R_ARM_ALU_PCREL_15_8 33
105 #endif /* R_ARM_ALU_PCREL_15_8 */
106 #ifndef R_ARM_ALU_PCREL_23_15
107 #define R_ARM_ALU_PCREL_23_15 34
108 #endif /* R_ARM_ALU_PCREL_23_15 */
109 #ifndef R_ARM_LDR_SBREL_11_0_NC
110 #define R_ARM_LDR_SBREL_11_0_NC 35
111 #endif /* R_ARM_LDR_SBREL_11_0_NC */
112 #ifndef R_ARM_ALU_SBREL_19_12_NC
113 #define R_ARM_ALU_SBREL_19_12_NC 36
114 #endif /* R_ARM_ALU_SBREL_19_12_NC */
115 #ifndef R_ARM_ALU_SBREL_27_20_CK
116 #define R_ARM_ALU_SBREL_27_20_CK 37
117 #endif /* R_ARM_ALU_SBREL_27_20_CK */
118 #ifndef R_ARM_TARGET1
119 #define R_ARM_TARGET1        38
120 #endif /* R_ARM_TARGET1 */
121 #ifndef R_ARM_SBREL31
122 #define R_ARM_SBREL31        39
123 #endif /* R_ARM_SBREL31 */
124 #ifndef R_ARM_V4BX
125 #define R_ARM_V4BX           40
126 #endif /* R_ARM_V4BX */
127 #ifndef R_ARM_TARGET2
128 #define R_ARM_TARGET2        41
129 #endif /* R_ARM_TARGET2 */
130 #ifndef R_ARM_PREL31
131 #define R_ARM_PREL31         42
132 #endif /* R_ARM_PREL31 */
133 #ifndef R_ARM_MOVW_ABS_NC
134 #define R_ARM_MOVW_ABS_NC    43
135 #endif /* R_ARM_MOVW_ABS_NC */
136 #ifndef R_ARM_MOVT_ABS
137 #define R_ARM_MOVT_ABS       44
138 #endif /* R_ARM_MOVT_ABS */
139 #ifndef R_ARM_MOVW_PREL_NC
140 #define R_ARM_MOVW_PREL_NC   45
141 #endif /* R_ARM_MOVW_PREL_NC */
142 #ifndef R_ARM_MOVT_PREL
143 #define R_ARM_MOVT_PREL      46
144 #endif /* R_ARM_MOVT_PREL */
145 #ifndef R_ARM_THM_MOVW_ABS_NC
146 #define R_ARM_THM_MOVW_ABS_NC 47
147 #endif /* R_ARM_THM_MOVW_ABS_NC */
148 #ifndef R_ARM_THM_MOVT_ABS
149 #define R_ARM_THM_MOVT_ABS   48
150 #endif /* R_ARM_THM_MOVT_ABS */
151 #ifndef R_ARM_THM_MOVW_PREL_NC
152 #define R_ARM_THM_MOVW_PREL_NC 49
153 #endif /* R_ARM_THM_MOVW_PREL_NC */
154 #ifndef R_ARM_THM_MOVT_PREL
155 #define R_ARM_THM_MOVT_PREL  50
156 #endif /* R_ARM_THM_MOVT_PREL */
157 #ifndef R_ARM_THM_JUMP19
158 #define R_ARM_THM_JUMP19     51
159 #endif /* R_ARM_THM_JUMP19 */
160 #ifndef R_ARM_THM_JUMP6
161 #define R_ARM_THM_JUMP6      52
162 #endif /* R_ARM_THM_JUMP6 */
163 #ifndef R_ARM_THM_ALU_PREL_11_0
164 #define R_ARM_THM_ALU_PREL_11_0 53
165 #endif /* R_ARM_THM_ALU_PREL_11_0 */
166 #ifndef R_ARM_THM_PC12
167 #define R_ARM_THM_PC12       54
168 #endif /* R_ARM_THM_PC12 */
169 #ifndef R_ARM_ABS32_NOI
170 #define R_ARM_ABS32_NOI      55
171 #endif /* R_ARM_ABS32_NOI */
172 #ifndef R_ARM_REL32_NOI
173 #define R_ARM_REL32_NOI      56
174 #endif /* R_ARM_REL32_NOI */
175 #ifndef R_ARM_ALU_PC_G0_NC
176 #define R_ARM_ALU_PC_G0_NC   57
177 #endif /* R_ARM_ALU_PC_G0_NC */
178 #ifndef R_ARM_ALU_PC_G0
179 #define R_ARM_ALU_PC_G0      58
180 #endif /* R_ARM_ALU_PC_G0 */
181 #ifndef R_ARM_ALU_PC_G1_NC
182 #define R_ARM_ALU_PC_G1_NC   59
183 #endif /* R_ARM_ALU_PC_G1_NC */
184 #ifndef R_ARM_ALU_PC_G1
185 #define R_ARM_ALU_PC_G1      60
186 #endif /* R_ARM_ALU_PC_G1 */
187 #ifndef R_ARM_ALU_PC_G2
188 #define R_ARM_ALU_PC_G2      61
189 #endif /* R_ARM_ALU_PC_G2 */
190 #ifndef R_ARM_LDR_PC_G1
191 #define R_ARM_LDR_PC_G1      62
192 #endif /* R_ARM_LDR_PC_G1 */
193 #ifndef R_ARM_LDR_PC_G2
194 #define R_ARM_LDR_PC_G2      63
195 #endif /* R_ARM_LDR_PC_G2 */
196 #ifndef R_ARM_LDRS_PC_G0
197 #define R_ARM_LDRS_PC_G0     64
198 #endif /* R_ARM_LDRS_PC_G0 */
199 #ifndef R_ARM_LDRS_PC_G1
200 #define R_ARM_LDRS_PC_G1     65
201 #endif /* R_ARM_LDRS_PC_G1 */
202 #ifndef R_ARM_LDRS_PC_G2
203 #define R_ARM_LDRS_PC_G2     66
204 #endif /* R_ARM_LDRS_PC_G2 */
205 #ifndef R_ARM_LDC_PC_G0
206 #define R_ARM_LDC_PC_G0      67
207 #endif /* R_ARM_LDC_PC_G0 */
208 #ifndef R_ARM_LDC_PC_G1
209 #define R_ARM_LDC_PC_G1      68
210 #endif /* R_ARM_LDC_PC_G1 */
211 #ifndef R_ARM_LDC_PC_G2
212 #define R_ARM_LDC_PC_G2      69
213 #endif /* R_ARM_LDC_PC_G2 */
214 #ifndef R_ARM_ALU_SB_G0_NC
215 #define R_ARM_ALU_SB_G0_NC   70
216 #endif /* R_ARM_ALU_SB_G0_NC */
217 #ifndef R_ARM_ALU_SB_G0
218 #define R_ARM_ALU_SB_G0      71
219 #endif /* R_ARM_ALU_SB_G0 */
220 #ifndef R_ARM_ALU_SB_G1_NC
221 #define R_ARM_ALU_SB_G1_NC   72
222 #endif /* R_ARM_ALU_SB_G1_NC */
223 #ifndef R_ARM_ALU_SB_G1
224 #define R_ARM_ALU_SB_G1      73
225 #endif /* R_ARM_ALU_SB_G1 */
226 #ifndef R_ARM_ALU_SB_G2
227 #define R_ARM_ALU_SB_G2      74
228 #endif /* R_ARM_ALU_SB_G2 */
229 #ifndef R_ARM_LDR_SB_G0
230 #define R_ARM_LDR_SB_G0      75
231 #endif /* R_ARM_LDR_SB_G0 */
232 #ifndef R_ARM_LDR_SB_G1
233 #define R_ARM_LDR_SB_G1      76
234 #endif /* R_ARM_LDR_SB_G1 */
235 #ifndef R_ARM_LDR_SB_G2
236 #define R_ARM_LDR_SB_G2      77
237 #endif /* R_ARM_LDR_SB_G2 */
238 #ifndef R_ARM_LDRS_SB_G0
239 #define R_ARM_LDRS_SB_G0     78
240 #endif /* R_ARM_LDRS_SB_G0 */
241 #ifndef R_ARM_LDRS_SB_G1
242 #define R_ARM_LDRS_SB_G1     79
243 #endif /* R_ARM_LDRS_SB_G1 */
244 #ifndef R_ARM_LDRS_SB_G2
245 #define R_ARM_LDRS_SB_G2     80
246 #endif /* R_ARM_LDRS_SB_G2 */
247 #ifndef R_ARM_LDC_SB_G0
248 #define R_ARM_LDC_SB_G0      81
249 #endif /* R_ARM_LDC_SB_G0 */
250 #ifndef R_ARM_LDC_SB_G1
251 #define R_ARM_LDC_SB_G1      82
252 #endif /* R_ARM_LDC_SB_G1 */
253 #ifndef R_ARM_LDC_SB_G2
254 #define R_ARM_LDC_SB_G2      83
255 #endif /* R_ARM_LDC_SB_G2 */
256 #ifndef R_ARM_MOVW_BREL_NC
257 #define R_ARM_MOVW_BREL_NC   84
258 #endif /* R_ARM_MOVW_BREL_NC */
259 #ifndef R_ARM_MOVT_BREL
260 #define R_ARM_MOVT_BREL      85
261 #endif /* R_ARM_MOVT_BREL */
262 #ifndef R_ARM_MOVW_BREL
263 #define R_ARM_MOVW_BREL      86
264 #endif /* R_ARM_MOVW_BREL */
265 #ifndef R_ARM_THM_MOVW_BREL_NC
266 #define R_ARM_THM_MOVW_BREL_NC 87
267 #endif /* R_ARM_THM_MOVW_BREL_NC */
268 #ifndef R_ARM_THM_MOVT_BREL
269 #define R_ARM_THM_MOVT_BREL  88
270 #endif /* R_ARM_THM_MOVT_BREL */
271 #ifndef R_ARM_THM_MOVW_BREL
272 #define R_ARM_THM_MOVW_BREL  89
273 #endif /* R_ARM_THM_MOVW_BREL */
274 #ifndef R_ARM_TLS_GOTDESC
275 #define R_ARM_TLS_GOTDESC    90
276 #endif /* R_ARM_TLS_GOTDESC */
277 #ifndef R_ARM_TLS_CALL
278 #define R_ARM_TLS_CALL       91
279 #endif /* R_ARM_TLS_CALL */
280 #ifndef R_ARM_TLS_DESCSEQ
281 #define R_ARM_TLS_DESCSEQ    92
282 #endif /* R_ARM_TLS_DESCSEQ */
283 #ifndef R_ARM_THM_TLS_CALL
284 #define R_ARM_THM_TLS_CALL   93
285 #endif /* R_ARM_THM_TLS_CALL */
286 #ifndef R_ARM_PLT32_ABS
287 #define R_ARM_PLT32_ABS      94
288 #endif /* R_ARM_PLT32_ABS */
289 #ifndef R_ARM_GOT_ABS
290 #define R_ARM_GOT_ABS        95
291 #endif /* R_ARM_GOT_ABS */
292 #ifndef R_ARM_GOT_PREL
293 #define R_ARM_GOT_PREL       96
294 #endif /* R_ARM_GOT_PREL */
295 #ifndef R_ARM_GOT_BREL12
296 #define R_ARM_GOT_BREL12     97
297 #endif /* R_ARM_GOT_BREL12 */
298 #ifndef R_ARM_GOTOFF12
299 #define R_ARM_GOTOFF12       98
300 #endif /* R_ARM_GOTOFF12 */
301 #ifndef R_ARM_GOTRELAX
302 #define R_ARM_GOTRELAX       99
303 #endif /* R_ARM_GOTRELAX */
304 #ifndef R_ARM_GNU_VTENTRY
305 #define R_ARM_GNU_VTENTRY    100
306 #endif /* R_ARM_GNU_VTENTRY */
307 #ifndef R_ARM_GNU_VTINHERIT
308 #define R_ARM_GNU_VTINHERIT  101
309 #endif /* R_ARM_GNU_VTINHERIT */
310 #ifndef R_ARM_THM_JUMP11
311 #define R_ARM_THM_JUMP11     102
312 #endif /* R_ARM_THM_JUMP11 */
313 #ifndef R_ARM_THM_JUMP8
314 #define R_ARM_THM_JUMP8      103
315 #endif /* R_ARM_THM_JUMP8 */
316 #ifndef R_ARM_TLS_GD32
317 #define R_ARM_TLS_GD32       104
318 #endif /* R_ARM_TLS_GD32 */
319 #ifndef R_ARM_TLS_LDM32
320 #define R_ARM_TLS_LDM32      105
321 #endif /* R_ARM_TLS_LDM32 */
322 #ifndef R_ARM_TLS_LDO32
323 #define R_ARM_TLS_LDO32      106
324 #endif /* R_ARM_TLS_LDO32 */
325 #ifndef R_ARM_TLS_IE32
326 #define R_ARM_TLS_IE32       107
327 #endif /* R_ARM_TLS_IE32 */
328 #ifndef R_ARM_TLS_LE32
329 #define R_ARM_TLS_LE32       108
330 #endif /* R_ARM_TLS_LE32 */
331 #ifndef R_ARM_TLS_LDO12
332 #define R_ARM_TLS_LDO12      109
333 #endif /* R_ARM_TLS_LDO12 */
334 #ifndef R_ARM_TLS_LE12
335 #define R_ARM_TLS_LE12       110
336 #endif /* R_ARM_TLS_LE12 */
337 #ifndef R_ARM_TLS_IE12GP
338 #define R_ARM_TLS_IE12GP     111
339 #endif /* R_ARM_TLS_IE12GP */
340 #ifndef R_ARM_ME_TOO
341 #define R_ARM_ME_TOO         128
342 #endif /* R_ARM_ME_TOO */
343 #ifndef R_ARM_THM_TLS_DESCSEQ16
344 #define R_ARM_THM_TLS_DESCSEQ16 129
345 #endif /* R_ARM_THM_TLS_DESCSEQ16 */
346 #ifndef R_ARM_THM_TLS_DESCSEQ32
347 #define R_ARM_THM_TLS_DESCSEQ32 130
348 #endif /* R_ARM_THM_TLS_DESCSEQ32 */
349 #ifndef R_ARM_RXPC25
350 #define R_ARM_RXPC25         249
351 #endif /* R_ARM_RXPC25 */
352 #ifndef R_ARM_RSBREL32
353 #define R_ARM_RSBREL32       250
354 #endif /* R_ARM_RSBREL32 */
355 #ifndef R_ARM_THM_RPC22
356 #define R_ARM_THM_RPC22      251
357 #endif /* R_ARM_THM_RPC22 */
358 #ifndef R_ARM_RREL32
359 #define R_ARM_RREL32         252
360 #endif /* R_ARM_RREL32 */
361 #ifndef R_ARM_RABS32
362 #define R_ARM_RABS32         253
363 #endif /* R_ARM_RABS32 */
364 #ifndef R_ARM_RPC24
365 #define R_ARM_RPC24          254
366 #endif /* R_ARM_RPC24 */
367 #ifndef R_ARM_RBASE
368 #define R_ARM_RBASE          255
369 #endif /* R_ARM_RBASE */
370 #ifndef R_ARM_NUM
371 #define R_ARM_NUM            256
372 #endif /* R_ARM_NUM */
373 #ifndef R_AARCH64_ABS64
374 #define R_AARCH64_ABS64      0x101
375 #endif /* R_AARCH64_ABS64 */
376 #ifndef R_AARCH64_ABS32
377 #define R_AARCH64_ABS32      0x102
378 #endif /* R_AARCH64_ABS32 */
379