1 |
330 |
jeremybenn |
@section Relocations
|
2 |
|
|
BFD maintains relocations in much the same way it maintains
|
3 |
|
|
symbols: they are left alone until required, then read in
|
4 |
|
|
en-masse and translated into an internal form. A common
|
5 |
|
|
routine @code{bfd_perform_relocation} acts upon the
|
6 |
|
|
canonical form to do the fixup.
|
7 |
|
|
|
8 |
|
|
Relocations are maintained on a per section basis,
|
9 |
|
|
while symbols are maintained on a per BFD basis.
|
10 |
|
|
|
11 |
|
|
All that a back end has to do to fit the BFD interface is to create
|
12 |
|
|
a @code{struct reloc_cache_entry} for each relocation
|
13 |
|
|
in a particular section, and fill in the right bits of the structures.
|
14 |
|
|
|
15 |
|
|
@menu
|
16 |
|
|
* typedef arelent::
|
17 |
|
|
* howto manager::
|
18 |
|
|
@end menu
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
@node typedef arelent, howto manager, Relocations, Relocations
|
22 |
|
|
@subsection typedef arelent
|
23 |
|
|
This is the structure of a relocation entry:
|
24 |
|
|
|
25 |
|
|
|
26 |
|
|
@example
|
27 |
|
|
|
28 |
|
|
typedef enum bfd_reloc_status
|
29 |
|
|
@{
|
30 |
|
|
/* No errors detected. */
|
31 |
|
|
bfd_reloc_ok,
|
32 |
|
|
|
33 |
|
|
/* The relocation was performed, but there was an overflow. */
|
34 |
|
|
bfd_reloc_overflow,
|
35 |
|
|
|
36 |
|
|
/* The address to relocate was not within the section supplied. */
|
37 |
|
|
bfd_reloc_outofrange,
|
38 |
|
|
|
39 |
|
|
/* Used by special functions. */
|
40 |
|
|
bfd_reloc_continue,
|
41 |
|
|
|
42 |
|
|
/* Unsupported relocation size requested. */
|
43 |
|
|
bfd_reloc_notsupported,
|
44 |
|
|
|
45 |
|
|
/* Unused. */
|
46 |
|
|
bfd_reloc_other,
|
47 |
|
|
|
48 |
|
|
/* The symbol to relocate against was undefined. */
|
49 |
|
|
bfd_reloc_undefined,
|
50 |
|
|
|
51 |
|
|
/* The relocation was performed, but may not be ok - presently
|
52 |
|
|
generated only when linking i960 coff files with i960 b.out
|
53 |
|
|
symbols. If this type is returned, the error_message argument
|
54 |
|
|
to bfd_perform_relocation will be set. */
|
55 |
|
|
bfd_reloc_dangerous
|
56 |
|
|
@}
|
57 |
|
|
bfd_reloc_status_type;
|
58 |
|
|
|
59 |
|
|
|
60 |
|
|
typedef struct reloc_cache_entry
|
61 |
|
|
@{
|
62 |
|
|
/* A pointer into the canonical table of pointers. */
|
63 |
|
|
struct bfd_symbol **sym_ptr_ptr;
|
64 |
|
|
|
65 |
|
|
/* offset in section. */
|
66 |
|
|
bfd_size_type address;
|
67 |
|
|
|
68 |
|
|
/* addend for relocation value. */
|
69 |
|
|
bfd_vma addend;
|
70 |
|
|
|
71 |
|
|
/* Pointer to how to perform the required relocation. */
|
72 |
|
|
reloc_howto_type *howto;
|
73 |
|
|
|
74 |
|
|
@}
|
75 |
|
|
arelent;
|
76 |
|
|
|
77 |
|
|
@end example
|
78 |
|
|
@strong{Description}@*
|
79 |
|
|
Here is a description of each of the fields within an @code{arelent}:
|
80 |
|
|
|
81 |
|
|
@itemize @bullet
|
82 |
|
|
|
83 |
|
|
@item
|
84 |
|
|
@code{sym_ptr_ptr}
|
85 |
|
|
@end itemize
|
86 |
|
|
The symbol table pointer points to a pointer to the symbol
|
87 |
|
|
associated with the relocation request. It is the pointer
|
88 |
|
|
into the table returned by the back end's
|
89 |
|
|
@code{canonicalize_symtab} action. @xref{Symbols}. The symbol is
|
90 |
|
|
referenced through a pointer to a pointer so that tools like
|
91 |
|
|
the linker can fix up all the symbols of the same name by
|
92 |
|
|
modifying only one pointer. The relocation routine looks in
|
93 |
|
|
the symbol and uses the base of the section the symbol is
|
94 |
|
|
attached to and the value of the symbol as the initial
|
95 |
|
|
relocation offset. If the symbol pointer is zero, then the
|
96 |
|
|
section provided is looked up.
|
97 |
|
|
|
98 |
|
|
@itemize @bullet
|
99 |
|
|
|
100 |
|
|
@item
|
101 |
|
|
@code{address}
|
102 |
|
|
@end itemize
|
103 |
|
|
The @code{address} field gives the offset in bytes from the base of
|
104 |
|
|
the section data which owns the relocation record to the first
|
105 |
|
|
byte of relocatable information. The actual data relocated
|
106 |
|
|
will be relative to this point; for example, a relocation
|
107 |
|
|
type which modifies the bottom two bytes of a four byte word
|
108 |
|
|
would not touch the first byte pointed to in a big endian
|
109 |
|
|
world.
|
110 |
|
|
|
111 |
|
|
@itemize @bullet
|
112 |
|
|
|
113 |
|
|
@item
|
114 |
|
|
@code{addend}
|
115 |
|
|
@end itemize
|
116 |
|
|
The @code{addend} is a value provided by the back end to be added (!)
|
117 |
|
|
to the relocation offset. Its interpretation is dependent upon
|
118 |
|
|
the howto. For example, on the 68k the code:
|
119 |
|
|
|
120 |
|
|
@example
|
121 |
|
|
char foo[];
|
122 |
|
|
main()
|
123 |
|
|
@{
|
124 |
|
|
return foo[0x12345678];
|
125 |
|
|
@}
|
126 |
|
|
@end example
|
127 |
|
|
|
128 |
|
|
Could be compiled into:
|
129 |
|
|
|
130 |
|
|
@example
|
131 |
|
|
linkw fp,#-4
|
132 |
|
|
moveb @@#12345678,d0
|
133 |
|
|
extbl d0
|
134 |
|
|
unlk fp
|
135 |
|
|
rts
|
136 |
|
|
@end example
|
137 |
|
|
|
138 |
|
|
This could create a reloc pointing to @code{foo}, but leave the
|
139 |
|
|
offset in the data, something like:
|
140 |
|
|
|
141 |
|
|
@example
|
142 |
|
|
RELOCATION RECORDS FOR [.text]:
|
143 |
|
|
offset type value
|
144 |
|
|
00000006 32 _foo
|
145 |
|
|
|
146 |
|
|
00000000 4e56 fffc ; linkw fp,#-4
|
147 |
|
|
00000004 1039 1234 5678 ; moveb @@#12345678,d0
|
148 |
|
|
0000000a 49c0 ; extbl d0
|
149 |
|
|
0000000c 4e5e ; unlk fp
|
150 |
|
|
0000000e 4e75 ; rts
|
151 |
|
|
@end example
|
152 |
|
|
|
153 |
|
|
Using coff and an 88k, some instructions don't have enough
|
154 |
|
|
space in them to represent the full address range, and
|
155 |
|
|
pointers have to be loaded in two parts. So you'd get something like:
|
156 |
|
|
|
157 |
|
|
@example
|
158 |
|
|
or.u r13,r0,hi16(_foo+0x12345678)
|
159 |
|
|
ld.b r2,r13,lo16(_foo+0x12345678)
|
160 |
|
|
jmp r1
|
161 |
|
|
@end example
|
162 |
|
|
|
163 |
|
|
This should create two relocs, both pointing to @code{_foo}, and with
|
164 |
|
|
0x12340000 in their addend field. The data would consist of:
|
165 |
|
|
|
166 |
|
|
@example
|
167 |
|
|
RELOCATION RECORDS FOR [.text]:
|
168 |
|
|
offset type value
|
169 |
|
|
00000002 HVRT16 _foo+0x12340000
|
170 |
|
|
00000006 LVRT16 _foo+0x12340000
|
171 |
|
|
|
172 |
|
|
00000000 5da05678 ; or.u r13,r0,0x5678
|
173 |
|
|
00000004 1c4d5678 ; ld.b r2,r13,0x5678
|
174 |
|
|
00000008 f400c001 ; jmp r1
|
175 |
|
|
@end example
|
176 |
|
|
|
177 |
|
|
The relocation routine digs out the value from the data, adds
|
178 |
|
|
it to the addend to get the original offset, and then adds the
|
179 |
|
|
value of @code{_foo}. Note that all 32 bits have to be kept around
|
180 |
|
|
somewhere, to cope with carry from bit 15 to bit 16.
|
181 |
|
|
|
182 |
|
|
One further example is the sparc and the a.out format. The
|
183 |
|
|
sparc has a similar problem to the 88k, in that some
|
184 |
|
|
instructions don't have room for an entire offset, but on the
|
185 |
|
|
sparc the parts are created in odd sized lumps. The designers of
|
186 |
|
|
the a.out format chose to not use the data within the section
|
187 |
|
|
for storing part of the offset; all the offset is kept within
|
188 |
|
|
the reloc. Anything in the data should be ignored.
|
189 |
|
|
|
190 |
|
|
@example
|
191 |
|
|
save %sp,-112,%sp
|
192 |
|
|
sethi %hi(_foo+0x12345678),%g2
|
193 |
|
|
ldsb [%g2+%lo(_foo+0x12345678)],%i0
|
194 |
|
|
ret
|
195 |
|
|
restore
|
196 |
|
|
@end example
|
197 |
|
|
|
198 |
|
|
Both relocs contain a pointer to @code{foo}, and the offsets
|
199 |
|
|
contain junk.
|
200 |
|
|
|
201 |
|
|
@example
|
202 |
|
|
RELOCATION RECORDS FOR [.text]:
|
203 |
|
|
offset type value
|
204 |
|
|
00000004 HI22 _foo+0x12345678
|
205 |
|
|
00000008 LO10 _foo+0x12345678
|
206 |
|
|
|
207 |
|
|
00000000 9de3bf90 ; save %sp,-112,%sp
|
208 |
|
|
00000004 05000000 ; sethi %hi(_foo+0),%g2
|
209 |
|
|
00000008 f048a000 ; ldsb [%g2+%lo(_foo+0)],%i0
|
210 |
|
|
0000000c 81c7e008 ; ret
|
211 |
|
|
00000010 81e80000 ; restore
|
212 |
|
|
@end example
|
213 |
|
|
|
214 |
|
|
@itemize @bullet
|
215 |
|
|
|
216 |
|
|
@item
|
217 |
|
|
@code{howto}
|
218 |
|
|
@end itemize
|
219 |
|
|
The @code{howto} field can be imagined as a
|
220 |
|
|
relocation instruction. It is a pointer to a structure which
|
221 |
|
|
contains information on what to do with all of the other
|
222 |
|
|
information in the reloc record and data section. A back end
|
223 |
|
|
would normally have a relocation instruction set and turn
|
224 |
|
|
relocations into pointers to the correct structure on input -
|
225 |
|
|
but it would be possible to create each howto field on demand.
|
226 |
|
|
|
227 |
|
|
@subsubsection @code{enum complain_overflow}
|
228 |
|
|
Indicates what sort of overflow checking should be done when
|
229 |
|
|
performing a relocation.
|
230 |
|
|
|
231 |
|
|
|
232 |
|
|
@example
|
233 |
|
|
|
234 |
|
|
enum complain_overflow
|
235 |
|
|
@{
|
236 |
|
|
/* Do not complain on overflow. */
|
237 |
|
|
complain_overflow_dont,
|
238 |
|
|
|
239 |
|
|
/* Complain if the value overflows when considered as a signed
|
240 |
|
|
number one bit larger than the field. ie. A bitfield of N bits
|
241 |
|
|
is allowed to represent -2**n to 2**n-1. */
|
242 |
|
|
complain_overflow_bitfield,
|
243 |
|
|
|
244 |
|
|
/* Complain if the value overflows when considered as a signed
|
245 |
|
|
number. */
|
246 |
|
|
complain_overflow_signed,
|
247 |
|
|
|
248 |
|
|
/* Complain if the value overflows when considered as an
|
249 |
|
|
unsigned number. */
|
250 |
|
|
complain_overflow_unsigned
|
251 |
|
|
@};
|
252 |
|
|
@end example
|
253 |
|
|
@subsubsection @code{reloc_howto_type}
|
254 |
|
|
The @code{reloc_howto_type} is a structure which contains all the
|
255 |
|
|
information that libbfd needs to know to tie up a back end's data.
|
256 |
|
|
|
257 |
|
|
|
258 |
|
|
@example
|
259 |
|
|
struct bfd_symbol; /* Forward declaration. */
|
260 |
|
|
|
261 |
|
|
struct reloc_howto_struct
|
262 |
|
|
@{
|
263 |
|
|
/* The type field has mainly a documentary use - the back end can
|
264 |
|
|
do what it wants with it, though normally the back end's
|
265 |
|
|
external idea of what a reloc number is stored
|
266 |
|
|
in this field. For example, a PC relative word relocation
|
267 |
|
|
in a coff environment has the type 023 - because that's
|
268 |
|
|
what the outside world calls a R_PCRWORD reloc. */
|
269 |
|
|
unsigned int type;
|
270 |
|
|
|
271 |
|
|
/* The value the final relocation is shifted right by. This drops
|
272 |
|
|
unwanted data from the relocation. */
|
273 |
|
|
unsigned int rightshift;
|
274 |
|
|
|
275 |
|
|
/* The size of the item to be relocated. This is *not* a
|
276 |
|
|
power-of-two measure. To get the number of bytes operated
|
277 |
|
|
on by a type of relocation, use bfd_get_reloc_size. */
|
278 |
|
|
int size;
|
279 |
|
|
|
280 |
|
|
/* The number of bits in the item to be relocated. This is used
|
281 |
|
|
when doing overflow checking. */
|
282 |
|
|
unsigned int bitsize;
|
283 |
|
|
|
284 |
|
|
/* The relocation is relative to the field being relocated. */
|
285 |
|
|
bfd_boolean pc_relative;
|
286 |
|
|
|
287 |
|
|
/* The bit position of the reloc value in the destination.
|
288 |
|
|
The relocated value is left shifted by this amount. */
|
289 |
|
|
unsigned int bitpos;
|
290 |
|
|
|
291 |
|
|
/* What type of overflow error should be checked for when
|
292 |
|
|
relocating. */
|
293 |
|
|
enum complain_overflow complain_on_overflow;
|
294 |
|
|
|
295 |
|
|
/* If this field is non null, then the supplied function is
|
296 |
|
|
called rather than the normal function. This allows really
|
297 |
|
|
strange relocation methods to be accommodated (e.g., i960 callj
|
298 |
|
|
instructions). */
|
299 |
|
|
bfd_reloc_status_type (*special_function)
|
300 |
|
|
(bfd *, arelent *, struct bfd_symbol *, void *, asection *,
|
301 |
|
|
bfd *, char **);
|
302 |
|
|
|
303 |
|
|
/* The textual name of the relocation type. */
|
304 |
|
|
char *name;
|
305 |
|
|
|
306 |
|
|
/* Some formats record a relocation addend in the section contents
|
307 |
|
|
rather than with the relocation. For ELF formats this is the
|
308 |
|
|
distinction between USE_REL and USE_RELA (though the code checks
|
309 |
|
|
for USE_REL == 1/0). The value of this field is TRUE if the
|
310 |
|
|
addend is recorded with the section contents; when performing a
|
311 |
|
|
partial link (ld -r) the section contents (the data) will be
|
312 |
|
|
modified. The value of this field is FALSE if addends are
|
313 |
|
|
recorded with the relocation (in arelent.addend); when performing
|
314 |
|
|
a partial link the relocation will be modified.
|
315 |
|
|
All relocations for all ELF USE_RELA targets should set this field
|
316 |
|
|
to FALSE (values of TRUE should be looked on with suspicion).
|
317 |
|
|
However, the converse is not true: not all relocations of all ELF
|
318 |
|
|
USE_REL targets set this field to TRUE. Why this is so is peculiar
|
319 |
|
|
to each particular target. For relocs that aren't used in partial
|
320 |
|
|
links (e.g. GOT stuff) it doesn't matter what this is set to. */
|
321 |
|
|
bfd_boolean partial_inplace;
|
322 |
|
|
|
323 |
|
|
/* src_mask selects the part of the instruction (or data) to be used
|
324 |
|
|
in the relocation sum. If the target relocations don't have an
|
325 |
|
|
addend in the reloc, eg. ELF USE_REL, src_mask will normally equal
|
326 |
|
|
dst_mask to extract the addend from the section contents. If
|
327 |
|
|
relocations do have an addend in the reloc, eg. ELF USE_RELA, this
|
328 |
|
|
field should be zero. Non-zero values for ELF USE_RELA targets are
|
329 |
|
|
bogus as in those cases the value in the dst_mask part of the
|
330 |
|
|
section contents should be treated as garbage. */
|
331 |
|
|
bfd_vma src_mask;
|
332 |
|
|
|
333 |
|
|
/* dst_mask selects which parts of the instruction (or data) are
|
334 |
|
|
replaced with a relocated value. */
|
335 |
|
|
bfd_vma dst_mask;
|
336 |
|
|
|
337 |
|
|
/* When some formats create PC relative instructions, they leave
|
338 |
|
|
the value of the pc of the place being relocated in the offset
|
339 |
|
|
slot of the instruction, so that a PC relative relocation can
|
340 |
|
|
be made just by adding in an ordinary offset (e.g., sun3 a.out).
|
341 |
|
|
Some formats leave the displacement part of an instruction
|
342 |
|
|
empty (e.g., m88k bcs); this flag signals the fact. */
|
343 |
|
|
bfd_boolean pcrel_offset;
|
344 |
|
|
@};
|
345 |
|
|
|
346 |
|
|
@end example
|
347 |
|
|
@findex The HOWTO Macro
|
348 |
|
|
@subsubsection @code{The HOWTO Macro}
|
349 |
|
|
@strong{Description}@*
|
350 |
|
|
The HOWTO define is horrible and will go away.
|
351 |
|
|
@example
|
352 |
|
|
#define HOWTO(C, R, S, B, P, BI, O, SF, NAME, INPLACE, MASKSRC, MASKDST, PC) \
|
353 |
|
|
@{ (unsigned) C, R, S, B, P, BI, O, SF, NAME, INPLACE, MASKSRC, MASKDST, PC @}
|
354 |
|
|
@end example
|
355 |
|
|
|
356 |
|
|
@strong{Description}@*
|
357 |
|
|
And will be replaced with the totally magic way. But for the
|
358 |
|
|
moment, we are compatible, so do it this way.
|
359 |
|
|
@example
|
360 |
|
|
#define NEWHOWTO(FUNCTION, NAME, SIZE, REL, IN) \
|
361 |
|
|
HOWTO (0, 0, SIZE, 0, REL, 0, complain_overflow_dont, FUNCTION, \
|
362 |
|
|
NAME, FALSE, 0, 0, IN)
|
363 |
|
|
|
364 |
|
|
@end example
|
365 |
|
|
|
366 |
|
|
@strong{Description}@*
|
367 |
|
|
This is used to fill in an empty howto entry in an array.
|
368 |
|
|
@example
|
369 |
|
|
#define EMPTY_HOWTO(C) \
|
370 |
|
|
HOWTO ((C), 0, 0, 0, FALSE, 0, complain_overflow_dont, NULL, \
|
371 |
|
|
NULL, FALSE, 0, 0, FALSE)
|
372 |
|
|
|
373 |
|
|
@end example
|
374 |
|
|
|
375 |
|
|
@strong{Description}@*
|
376 |
|
|
Helper routine to turn a symbol into a relocation value.
|
377 |
|
|
@example
|
378 |
|
|
#define HOWTO_PREPARE(relocation, symbol) \
|
379 |
|
|
@{ \
|
380 |
|
|
if (symbol != NULL) \
|
381 |
|
|
@{ \
|
382 |
|
|
if (bfd_is_com_section (symbol->section)) \
|
383 |
|
|
@{ \
|
384 |
|
|
relocation = 0; \
|
385 |
|
|
@} \
|
386 |
|
|
else \
|
387 |
|
|
@{ \
|
388 |
|
|
relocation = symbol->value; \
|
389 |
|
|
@} \
|
390 |
|
|
@} \
|
391 |
|
|
@}
|
392 |
|
|
|
393 |
|
|
@end example
|
394 |
|
|
|
395 |
|
|
@findex bfd_get_reloc_size
|
396 |
|
|
@subsubsection @code{bfd_get_reloc_size}
|
397 |
|
|
@strong{Synopsis}
|
398 |
|
|
@example
|
399 |
|
|
unsigned int bfd_get_reloc_size (reloc_howto_type *);
|
400 |
|
|
@end example
|
401 |
|
|
@strong{Description}@*
|
402 |
|
|
For a reloc_howto_type that operates on a fixed number of bytes,
|
403 |
|
|
this returns the number of bytes operated on.
|
404 |
|
|
|
405 |
|
|
@findex arelent_chain
|
406 |
|
|
@subsubsection @code{arelent_chain}
|
407 |
|
|
@strong{Description}@*
|
408 |
|
|
How relocs are tied together in an @code{asection}:
|
409 |
|
|
@example
|
410 |
|
|
typedef struct relent_chain
|
411 |
|
|
@{
|
412 |
|
|
arelent relent;
|
413 |
|
|
struct relent_chain *next;
|
414 |
|
|
@}
|
415 |
|
|
arelent_chain;
|
416 |
|
|
|
417 |
|
|
@end example
|
418 |
|
|
|
419 |
|
|
@findex bfd_check_overflow
|
420 |
|
|
@subsubsection @code{bfd_check_overflow}
|
421 |
|
|
@strong{Synopsis}
|
422 |
|
|
@example
|
423 |
|
|
bfd_reloc_status_type bfd_check_overflow
|
424 |
|
|
(enum complain_overflow how,
|
425 |
|
|
unsigned int bitsize,
|
426 |
|
|
unsigned int rightshift,
|
427 |
|
|
unsigned int addrsize,
|
428 |
|
|
bfd_vma relocation);
|
429 |
|
|
@end example
|
430 |
|
|
@strong{Description}@*
|
431 |
|
|
Perform overflow checking on @var{relocation} which has
|
432 |
|
|
@var{bitsize} significant bits and will be shifted right by
|
433 |
|
|
@var{rightshift} bits, on a machine with addresses containing
|
434 |
|
|
@var{addrsize} significant bits. The result is either of
|
435 |
|
|
@code{bfd_reloc_ok} or @code{bfd_reloc_overflow}.
|
436 |
|
|
|
437 |
|
|
@findex bfd_perform_relocation
|
438 |
|
|
@subsubsection @code{bfd_perform_relocation}
|
439 |
|
|
@strong{Synopsis}
|
440 |
|
|
@example
|
441 |
|
|
bfd_reloc_status_type bfd_perform_relocation
|
442 |
|
|
(bfd *abfd,
|
443 |
|
|
arelent *reloc_entry,
|
444 |
|
|
void *data,
|
445 |
|
|
asection *input_section,
|
446 |
|
|
bfd *output_bfd,
|
447 |
|
|
char **error_message);
|
448 |
|
|
@end example
|
449 |
|
|
@strong{Description}@*
|
450 |
|
|
If @var{output_bfd} is supplied to this function, the
|
451 |
|
|
generated image will be relocatable; the relocations are
|
452 |
|
|
copied to the output file after they have been changed to
|
453 |
|
|
reflect the new state of the world. There are two ways of
|
454 |
|
|
reflecting the results of partial linkage in an output file:
|
455 |
|
|
by modifying the output data in place, and by modifying the
|
456 |
|
|
relocation record. Some native formats (e.g., basic a.out and
|
457 |
|
|
basic coff) have no way of specifying an addend in the
|
458 |
|
|
relocation type, so the addend has to go in the output data.
|
459 |
|
|
This is no big deal since in these formats the output data
|
460 |
|
|
slot will always be big enough for the addend. Complex reloc
|
461 |
|
|
types with addends were invented to solve just this problem.
|
462 |
|
|
The @var{error_message} argument is set to an error message if
|
463 |
|
|
this return @code{bfd_reloc_dangerous}.
|
464 |
|
|
|
465 |
|
|
@findex bfd_install_relocation
|
466 |
|
|
@subsubsection @code{bfd_install_relocation}
|
467 |
|
|
@strong{Synopsis}
|
468 |
|
|
@example
|
469 |
|
|
bfd_reloc_status_type bfd_install_relocation
|
470 |
|
|
(bfd *abfd,
|
471 |
|
|
arelent *reloc_entry,
|
472 |
|
|
void *data, bfd_vma data_start,
|
473 |
|
|
asection *input_section,
|
474 |
|
|
char **error_message);
|
475 |
|
|
@end example
|
476 |
|
|
@strong{Description}@*
|
477 |
|
|
This looks remarkably like @code{bfd_perform_relocation}, except it
|
478 |
|
|
does not expect that the section contents have been filled in.
|
479 |
|
|
I.e., it's suitable for use when creating, rather than applying
|
480 |
|
|
a relocation.
|
481 |
|
|
|
482 |
|
|
For now, this function should be considered reserved for the
|
483 |
|
|
assembler.
|
484 |
|
|
|
485 |
|
|
|
486 |
|
|
@node howto manager, , typedef arelent, Relocations
|
487 |
|
|
@subsection The howto manager
|
488 |
|
|
When an application wants to create a relocation, but doesn't
|
489 |
|
|
know what the target machine might call it, it can find out by
|
490 |
|
|
using this bit of code.
|
491 |
|
|
|
492 |
|
|
@findex bfd_reloc_code_type
|
493 |
|
|
@subsubsection @code{bfd_reloc_code_type}
|
494 |
|
|
@strong{Description}@*
|
495 |
|
|
The insides of a reloc code. The idea is that, eventually, there
|
496 |
|
|
will be one enumerator for every type of relocation we ever do.
|
497 |
|
|
Pass one of these values to @code{bfd_reloc_type_lookup}, and it'll
|
498 |
|
|
return a howto pointer.
|
499 |
|
|
|
500 |
|
|
This does mean that the application must determine the correct
|
501 |
|
|
enumerator value; you can't get a howto pointer from a random set
|
502 |
|
|
of attributes.
|
503 |
|
|
|
504 |
|
|
Here are the possible values for @code{enum bfd_reloc_code_real}:
|
505 |
|
|
|
506 |
|
|
@deffn {} BFD_RELOC_64
|
507 |
|
|
@deffnx {} BFD_RELOC_32
|
508 |
|
|
@deffnx {} BFD_RELOC_26
|
509 |
|
|
@deffnx {} BFD_RELOC_24
|
510 |
|
|
@deffnx {} BFD_RELOC_16
|
511 |
|
|
@deffnx {} BFD_RELOC_14
|
512 |
|
|
@deffnx {} BFD_RELOC_8
|
513 |
|
|
Basic absolute relocations of N bits.
|
514 |
|
|
@end deffn
|
515 |
|
|
@deffn {} BFD_RELOC_64_PCREL
|
516 |
|
|
@deffnx {} BFD_RELOC_32_PCREL
|
517 |
|
|
@deffnx {} BFD_RELOC_24_PCREL
|
518 |
|
|
@deffnx {} BFD_RELOC_16_PCREL
|
519 |
|
|
@deffnx {} BFD_RELOC_12_PCREL
|
520 |
|
|
@deffnx {} BFD_RELOC_8_PCREL
|
521 |
|
|
PC-relative relocations. Sometimes these are relative to the address
|
522 |
|
|
of the relocation itself; sometimes they are relative to the start of
|
523 |
|
|
the section containing the relocation. It depends on the specific target.
|
524 |
|
|
|
525 |
|
|
The 24-bit relocation is used in some Intel 960 configurations.
|
526 |
|
|
@end deffn
|
527 |
|
|
@deffn {} BFD_RELOC_32_SECREL
|
528 |
|
|
Section relative relocations. Some targets need this for DWARF2.
|
529 |
|
|
@end deffn
|
530 |
|
|
@deffn {} BFD_RELOC_32_GOT_PCREL
|
531 |
|
|
@deffnx {} BFD_RELOC_16_GOT_PCREL
|
532 |
|
|
@deffnx {} BFD_RELOC_8_GOT_PCREL
|
533 |
|
|
@deffnx {} BFD_RELOC_32_GOTOFF
|
534 |
|
|
@deffnx {} BFD_RELOC_16_GOTOFF
|
535 |
|
|
@deffnx {} BFD_RELOC_LO16_GOTOFF
|
536 |
|
|
@deffnx {} BFD_RELOC_HI16_GOTOFF
|
537 |
|
|
@deffnx {} BFD_RELOC_HI16_S_GOTOFF
|
538 |
|
|
@deffnx {} BFD_RELOC_8_GOTOFF
|
539 |
|
|
@deffnx {} BFD_RELOC_64_PLT_PCREL
|
540 |
|
|
@deffnx {} BFD_RELOC_32_PLT_PCREL
|
541 |
|
|
@deffnx {} BFD_RELOC_24_PLT_PCREL
|
542 |
|
|
@deffnx {} BFD_RELOC_16_PLT_PCREL
|
543 |
|
|
@deffnx {} BFD_RELOC_8_PLT_PCREL
|
544 |
|
|
@deffnx {} BFD_RELOC_64_PLTOFF
|
545 |
|
|
@deffnx {} BFD_RELOC_32_PLTOFF
|
546 |
|
|
@deffnx {} BFD_RELOC_16_PLTOFF
|
547 |
|
|
@deffnx {} BFD_RELOC_LO16_PLTOFF
|
548 |
|
|
@deffnx {} BFD_RELOC_HI16_PLTOFF
|
549 |
|
|
@deffnx {} BFD_RELOC_HI16_S_PLTOFF
|
550 |
|
|
@deffnx {} BFD_RELOC_8_PLTOFF
|
551 |
|
|
For ELF.
|
552 |
|
|
@end deffn
|
553 |
|
|
@deffn {} BFD_RELOC_68K_GLOB_DAT
|
554 |
|
|
@deffnx {} BFD_RELOC_68K_JMP_SLOT
|
555 |
|
|
@deffnx {} BFD_RELOC_68K_RELATIVE
|
556 |
|
|
@deffnx {} BFD_RELOC_68K_TLS_GD32
|
557 |
|
|
@deffnx {} BFD_RELOC_68K_TLS_GD16
|
558 |
|
|
@deffnx {} BFD_RELOC_68K_TLS_GD8
|
559 |
|
|
@deffnx {} BFD_RELOC_68K_TLS_LDM32
|
560 |
|
|
@deffnx {} BFD_RELOC_68K_TLS_LDM16
|
561 |
|
|
@deffnx {} BFD_RELOC_68K_TLS_LDM8
|
562 |
|
|
@deffnx {} BFD_RELOC_68K_TLS_LDO32
|
563 |
|
|
@deffnx {} BFD_RELOC_68K_TLS_LDO16
|
564 |
|
|
@deffnx {} BFD_RELOC_68K_TLS_LDO8
|
565 |
|
|
@deffnx {} BFD_RELOC_68K_TLS_IE32
|
566 |
|
|
@deffnx {} BFD_RELOC_68K_TLS_IE16
|
567 |
|
|
@deffnx {} BFD_RELOC_68K_TLS_IE8
|
568 |
|
|
@deffnx {} BFD_RELOC_68K_TLS_LE32
|
569 |
|
|
@deffnx {} BFD_RELOC_68K_TLS_LE16
|
570 |
|
|
@deffnx {} BFD_RELOC_68K_TLS_LE8
|
571 |
|
|
Relocations used by 68K ELF.
|
572 |
|
|
@end deffn
|
573 |
|
|
@deffn {} BFD_RELOC_32_BASEREL
|
574 |
|
|
@deffnx {} BFD_RELOC_16_BASEREL
|
575 |
|
|
@deffnx {} BFD_RELOC_LO16_BASEREL
|
576 |
|
|
@deffnx {} BFD_RELOC_HI16_BASEREL
|
577 |
|
|
@deffnx {} BFD_RELOC_HI16_S_BASEREL
|
578 |
|
|
@deffnx {} BFD_RELOC_8_BASEREL
|
579 |
|
|
@deffnx {} BFD_RELOC_RVA
|
580 |
|
|
Linkage-table relative.
|
581 |
|
|
@end deffn
|
582 |
|
|
@deffn {} BFD_RELOC_8_FFnn
|
583 |
|
|
Absolute 8-bit relocation, but used to form an address like 0xFFnn.
|
584 |
|
|
@end deffn
|
585 |
|
|
@deffn {} BFD_RELOC_32_PCREL_S2
|
586 |
|
|
@deffnx {} BFD_RELOC_16_PCREL_S2
|
587 |
|
|
@deffnx {} BFD_RELOC_23_PCREL_S2
|
588 |
|
|
These PC-relative relocations are stored as word displacements --
|
589 |
|
|
i.e., byte displacements shifted right two bits. The 30-bit word
|
590 |
|
|
displacement (<<32_PCREL_S2>> -- 32 bits, shifted 2) is used on the
|
591 |
|
|
SPARC. (SPARC tools generally refer to this as <<WDISP30>>.) The
|
592 |
|
|
signed 16-bit displacement is used on the MIPS, and the 23-bit
|
593 |
|
|
displacement is used on the Alpha.
|
594 |
|
|
@end deffn
|
595 |
|
|
@deffn {} BFD_RELOC_HI22
|
596 |
|
|
@deffnx {} BFD_RELOC_LO10
|
597 |
|
|
High 22 bits and low 10 bits of 32-bit value, placed into lower bits of
|
598 |
|
|
the target word. These are used on the SPARC.
|
599 |
|
|
@end deffn
|
600 |
|
|
@deffn {} BFD_RELOC_GPREL16
|
601 |
|
|
@deffnx {} BFD_RELOC_GPREL32
|
602 |
|
|
For systems that allocate a Global Pointer register, these are
|
603 |
|
|
displacements off that register. These relocation types are
|
604 |
|
|
handled specially, because the value the register will have is
|
605 |
|
|
decided relatively late.
|
606 |
|
|
@end deffn
|
607 |
|
|
@deffn {} BFD_RELOC_I960_CALLJ
|
608 |
|
|
Reloc types used for i960/b.out.
|
609 |
|
|
@end deffn
|
610 |
|
|
@deffn {} BFD_RELOC_NONE
|
611 |
|
|
@deffnx {} BFD_RELOC_SPARC_WDISP22
|
612 |
|
|
@deffnx {} BFD_RELOC_SPARC22
|
613 |
|
|
@deffnx {} BFD_RELOC_SPARC13
|
614 |
|
|
@deffnx {} BFD_RELOC_SPARC_GOT10
|
615 |
|
|
@deffnx {} BFD_RELOC_SPARC_GOT13
|
616 |
|
|
@deffnx {} BFD_RELOC_SPARC_GOT22
|
617 |
|
|
@deffnx {} BFD_RELOC_SPARC_PC10
|
618 |
|
|
@deffnx {} BFD_RELOC_SPARC_PC22
|
619 |
|
|
@deffnx {} BFD_RELOC_SPARC_WPLT30
|
620 |
|
|
@deffnx {} BFD_RELOC_SPARC_COPY
|
621 |
|
|
@deffnx {} BFD_RELOC_SPARC_GLOB_DAT
|
622 |
|
|
@deffnx {} BFD_RELOC_SPARC_JMP_SLOT
|
623 |
|
|
@deffnx {} BFD_RELOC_SPARC_RELATIVE
|
624 |
|
|
@deffnx {} BFD_RELOC_SPARC_UA16
|
625 |
|
|
@deffnx {} BFD_RELOC_SPARC_UA32
|
626 |
|
|
@deffnx {} BFD_RELOC_SPARC_UA64
|
627 |
|
|
@deffnx {} BFD_RELOC_SPARC_GOTDATA_HIX22
|
628 |
|
|
@deffnx {} BFD_RELOC_SPARC_GOTDATA_LOX10
|
629 |
|
|
@deffnx {} BFD_RELOC_SPARC_GOTDATA_OP_HIX22
|
630 |
|
|
@deffnx {} BFD_RELOC_SPARC_GOTDATA_OP_LOX10
|
631 |
|
|
@deffnx {} BFD_RELOC_SPARC_GOTDATA_OP
|
632 |
|
|
@deffnx {} BFD_RELOC_SPARC_JMP_IREL
|
633 |
|
|
@deffnx {} BFD_RELOC_SPARC_IRELATIVE
|
634 |
|
|
SPARC ELF relocations. There is probably some overlap with other
|
635 |
|
|
relocation types already defined.
|
636 |
|
|
@end deffn
|
637 |
|
|
@deffn {} BFD_RELOC_SPARC_BASE13
|
638 |
|
|
@deffnx {} BFD_RELOC_SPARC_BASE22
|
639 |
|
|
I think these are specific to SPARC a.out (e.g., Sun 4).
|
640 |
|
|
@end deffn
|
641 |
|
|
@deffn {} BFD_RELOC_SPARC_64
|
642 |
|
|
@deffnx {} BFD_RELOC_SPARC_10
|
643 |
|
|
@deffnx {} BFD_RELOC_SPARC_11
|
644 |
|
|
@deffnx {} BFD_RELOC_SPARC_OLO10
|
645 |
|
|
@deffnx {} BFD_RELOC_SPARC_HH22
|
646 |
|
|
@deffnx {} BFD_RELOC_SPARC_HM10
|
647 |
|
|
@deffnx {} BFD_RELOC_SPARC_LM22
|
648 |
|
|
@deffnx {} BFD_RELOC_SPARC_PC_HH22
|
649 |
|
|
@deffnx {} BFD_RELOC_SPARC_PC_HM10
|
650 |
|
|
@deffnx {} BFD_RELOC_SPARC_PC_LM22
|
651 |
|
|
@deffnx {} BFD_RELOC_SPARC_WDISP16
|
652 |
|
|
@deffnx {} BFD_RELOC_SPARC_WDISP19
|
653 |
|
|
@deffnx {} BFD_RELOC_SPARC_7
|
654 |
|
|
@deffnx {} BFD_RELOC_SPARC_6
|
655 |
|
|
@deffnx {} BFD_RELOC_SPARC_5
|
656 |
|
|
@deffnx {} BFD_RELOC_SPARC_DISP64
|
657 |
|
|
@deffnx {} BFD_RELOC_SPARC_PLT32
|
658 |
|
|
@deffnx {} BFD_RELOC_SPARC_PLT64
|
659 |
|
|
@deffnx {} BFD_RELOC_SPARC_HIX22
|
660 |
|
|
@deffnx {} BFD_RELOC_SPARC_LOX10
|
661 |
|
|
@deffnx {} BFD_RELOC_SPARC_H44
|
662 |
|
|
@deffnx {} BFD_RELOC_SPARC_M44
|
663 |
|
|
@deffnx {} BFD_RELOC_SPARC_L44
|
664 |
|
|
@deffnx {} BFD_RELOC_SPARC_REGISTER
|
665 |
|
|
SPARC64 relocations
|
666 |
|
|
@end deffn
|
667 |
|
|
@deffn {} BFD_RELOC_SPARC_REV32
|
668 |
|
|
SPARC little endian relocation
|
669 |
|
|
@end deffn
|
670 |
|
|
@deffn {} BFD_RELOC_SPARC_TLS_GD_HI22
|
671 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_GD_LO10
|
672 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_GD_ADD
|
673 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_GD_CALL
|
674 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_LDM_HI22
|
675 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_LDM_LO10
|
676 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_LDM_ADD
|
677 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_LDM_CALL
|
678 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_LDO_HIX22
|
679 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_LDO_LOX10
|
680 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_LDO_ADD
|
681 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_IE_HI22
|
682 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_IE_LO10
|
683 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_IE_LD
|
684 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_IE_LDX
|
685 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_IE_ADD
|
686 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_LE_HIX22
|
687 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_LE_LOX10
|
688 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_DTPMOD32
|
689 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_DTPMOD64
|
690 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_DTPOFF32
|
691 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_DTPOFF64
|
692 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_TPOFF32
|
693 |
|
|
@deffnx {} BFD_RELOC_SPARC_TLS_TPOFF64
|
694 |
|
|
SPARC TLS relocations
|
695 |
|
|
@end deffn
|
696 |
|
|
@deffn {} BFD_RELOC_SPU_IMM7
|
697 |
|
|
@deffnx {} BFD_RELOC_SPU_IMM8
|
698 |
|
|
@deffnx {} BFD_RELOC_SPU_IMM10
|
699 |
|
|
@deffnx {} BFD_RELOC_SPU_IMM10W
|
700 |
|
|
@deffnx {} BFD_RELOC_SPU_IMM16
|
701 |
|
|
@deffnx {} BFD_RELOC_SPU_IMM16W
|
702 |
|
|
@deffnx {} BFD_RELOC_SPU_IMM18
|
703 |
|
|
@deffnx {} BFD_RELOC_SPU_PCREL9a
|
704 |
|
|
@deffnx {} BFD_RELOC_SPU_PCREL9b
|
705 |
|
|
@deffnx {} BFD_RELOC_SPU_PCREL16
|
706 |
|
|
@deffnx {} BFD_RELOC_SPU_LO16
|
707 |
|
|
@deffnx {} BFD_RELOC_SPU_HI16
|
708 |
|
|
@deffnx {} BFD_RELOC_SPU_PPU32
|
709 |
|
|
@deffnx {} BFD_RELOC_SPU_PPU64
|
710 |
|
|
@deffnx {} BFD_RELOC_SPU_ADD_PIC
|
711 |
|
|
SPU Relocations.
|
712 |
|
|
@end deffn
|
713 |
|
|
@deffn {} BFD_RELOC_ALPHA_GPDISP_HI16
|
714 |
|
|
Alpha ECOFF and ELF relocations. Some of these treat the symbol or
|
715 |
|
|
"addend" in some special way.
|
716 |
|
|
For GPDISP_HI16 ("gpdisp") relocations, the symbol is ignored when
|
717 |
|
|
writing; when reading, it will be the absolute section symbol. The
|
718 |
|
|
addend is the displacement in bytes of the "lda" instruction from
|
719 |
|
|
the "ldah" instruction (which is at the address of this reloc).
|
720 |
|
|
@end deffn
|
721 |
|
|
@deffn {} BFD_RELOC_ALPHA_GPDISP_LO16
|
722 |
|
|
For GPDISP_LO16 ("ignore") relocations, the symbol is handled as
|
723 |
|
|
with GPDISP_HI16 relocs. The addend is ignored when writing the
|
724 |
|
|
relocations out, and is filled in with the file's GP value on
|
725 |
|
|
reading, for convenience.
|
726 |
|
|
@end deffn
|
727 |
|
|
@deffn {} BFD_RELOC_ALPHA_GPDISP
|
728 |
|
|
The ELF GPDISP relocation is exactly the same as the GPDISP_HI16
|
729 |
|
|
relocation except that there is no accompanying GPDISP_LO16
|
730 |
|
|
relocation.
|
731 |
|
|
@end deffn
|
732 |
|
|
@deffn {} BFD_RELOC_ALPHA_LITERAL
|
733 |
|
|
@deffnx {} BFD_RELOC_ALPHA_ELF_LITERAL
|
734 |
|
|
@deffnx {} BFD_RELOC_ALPHA_LITUSE
|
735 |
|
|
The Alpha LITERAL/LITUSE relocs are produced by a symbol reference;
|
736 |
|
|
the assembler turns it into a LDQ instruction to load the address of
|
737 |
|
|
the symbol, and then fills in a register in the real instruction.
|
738 |
|
|
|
739 |
|
|
The LITERAL reloc, at the LDQ instruction, refers to the .lita
|
740 |
|
|
section symbol. The addend is ignored when writing, but is filled
|
741 |
|
|
in with the file's GP value on reading, for convenience, as with the
|
742 |
|
|
GPDISP_LO16 reloc.
|
743 |
|
|
|
744 |
|
|
The ELF_LITERAL reloc is somewhere between 16_GOTOFF and GPDISP_LO16.
|
745 |
|
|
It should refer to the symbol to be referenced, as with 16_GOTOFF,
|
746 |
|
|
but it generates output not based on the position within the .got
|
747 |
|
|
section, but relative to the GP value chosen for the file during the
|
748 |
|
|
final link stage.
|
749 |
|
|
|
750 |
|
|
The LITUSE reloc, on the instruction using the loaded address, gives
|
751 |
|
|
information to the linker that it might be able to use to optimize
|
752 |
|
|
away some literal section references. The symbol is ignored (read
|
753 |
|
|
as the absolute section symbol), and the "addend" indicates the type
|
754 |
|
|
of instruction using the register:
|
755 |
|
|
1 - "memory" fmt insn
|
756 |
|
|
2 - byte-manipulation (byte offset reg)
|
757 |
|
|
3 - jsr (target of branch)
|
758 |
|
|
@end deffn
|
759 |
|
|
@deffn {} BFD_RELOC_ALPHA_HINT
|
760 |
|
|
The HINT relocation indicates a value that should be filled into the
|
761 |
|
|
"hint" field of a jmp/jsr/ret instruction, for possible branch-
|
762 |
|
|
prediction logic which may be provided on some processors.
|
763 |
|
|
@end deffn
|
764 |
|
|
@deffn {} BFD_RELOC_ALPHA_LINKAGE
|
765 |
|
|
The LINKAGE relocation outputs a linkage pair in the object file,
|
766 |
|
|
which is filled by the linker.
|
767 |
|
|
@end deffn
|
768 |
|
|
@deffn {} BFD_RELOC_ALPHA_CODEADDR
|
769 |
|
|
The CODEADDR relocation outputs a STO_CA in the object file,
|
770 |
|
|
which is filled by the linker.
|
771 |
|
|
@end deffn
|
772 |
|
|
@deffn {} BFD_RELOC_ALPHA_GPREL_HI16
|
773 |
|
|
@deffnx {} BFD_RELOC_ALPHA_GPREL_LO16
|
774 |
|
|
The GPREL_HI/LO relocations together form a 32-bit offset from the
|
775 |
|
|
GP register.
|
776 |
|
|
@end deffn
|
777 |
|
|
@deffn {} BFD_RELOC_ALPHA_BRSGP
|
778 |
|
|
Like BFD_RELOC_23_PCREL_S2, except that the source and target must
|
779 |
|
|
share a common GP, and the target address is adjusted for
|
780 |
|
|
STO_ALPHA_STD_GPLOAD.
|
781 |
|
|
@end deffn
|
782 |
|
|
@deffn {} BFD_RELOC_ALPHA_NOP
|
783 |
|
|
The NOP relocation outputs a NOP if the longword displacement
|
784 |
|
|
between two procedure entry points is < 2^21.
|
785 |
|
|
@end deffn
|
786 |
|
|
@deffn {} BFD_RELOC_ALPHA_BSR
|
787 |
|
|
The BSR relocation outputs a BSR if the longword displacement
|
788 |
|
|
between two procedure entry points is < 2^21.
|
789 |
|
|
@end deffn
|
790 |
|
|
@deffn {} BFD_RELOC_ALPHA_LDA
|
791 |
|
|
The LDA relocation outputs a LDA if the longword displacement
|
792 |
|
|
between two procedure entry points is < 2^16.
|
793 |
|
|
@end deffn
|
794 |
|
|
@deffn {} BFD_RELOC_ALPHA_BOH
|
795 |
|
|
The BOH relocation outputs a BSR if the longword displacement
|
796 |
|
|
between two procedure entry points is < 2^21, or else a hint.
|
797 |
|
|
@end deffn
|
798 |
|
|
@deffn {} BFD_RELOC_ALPHA_TLSGD
|
799 |
|
|
@deffnx {} BFD_RELOC_ALPHA_TLSLDM
|
800 |
|
|
@deffnx {} BFD_RELOC_ALPHA_DTPMOD64
|
801 |
|
|
@deffnx {} BFD_RELOC_ALPHA_GOTDTPREL16
|
802 |
|
|
@deffnx {} BFD_RELOC_ALPHA_DTPREL64
|
803 |
|
|
@deffnx {} BFD_RELOC_ALPHA_DTPREL_HI16
|
804 |
|
|
@deffnx {} BFD_RELOC_ALPHA_DTPREL_LO16
|
805 |
|
|
@deffnx {} BFD_RELOC_ALPHA_DTPREL16
|
806 |
|
|
@deffnx {} BFD_RELOC_ALPHA_GOTTPREL16
|
807 |
|
|
@deffnx {} BFD_RELOC_ALPHA_TPREL64
|
808 |
|
|
@deffnx {} BFD_RELOC_ALPHA_TPREL_HI16
|
809 |
|
|
@deffnx {} BFD_RELOC_ALPHA_TPREL_LO16
|
810 |
|
|
@deffnx {} BFD_RELOC_ALPHA_TPREL16
|
811 |
|
|
Alpha thread-local storage relocations.
|
812 |
|
|
@end deffn
|
813 |
|
|
@deffn {} BFD_RELOC_MIPS_JMP
|
814 |
|
|
Bits 27..2 of the relocation address shifted right 2 bits;
|
815 |
|
|
simple reloc otherwise.
|
816 |
|
|
@end deffn
|
817 |
|
|
@deffn {} BFD_RELOC_MIPS16_JMP
|
818 |
|
|
The MIPS16 jump instruction.
|
819 |
|
|
@end deffn
|
820 |
|
|
@deffn {} BFD_RELOC_MIPS16_GPREL
|
821 |
|
|
MIPS16 GP relative reloc.
|
822 |
|
|
@end deffn
|
823 |
|
|
@deffn {} BFD_RELOC_HI16
|
824 |
|
|
High 16 bits of 32-bit value; simple reloc.
|
825 |
|
|
@end deffn
|
826 |
|
|
@deffn {} BFD_RELOC_HI16_S
|
827 |
|
|
High 16 bits of 32-bit value but the low 16 bits will be sign
|
828 |
|
|
extended and added to form the final result. If the low 16
|
829 |
|
|
bits form a negative number, we need to add one to the high value
|
830 |
|
|
to compensate for the borrow when the low bits are added.
|
831 |
|
|
@end deffn
|
832 |
|
|
@deffn {} BFD_RELOC_LO16
|
833 |
|
|
Low 16 bits.
|
834 |
|
|
@end deffn
|
835 |
|
|
@deffn {} BFD_RELOC_HI16_PCREL
|
836 |
|
|
High 16 bits of 32-bit pc-relative value
|
837 |
|
|
@end deffn
|
838 |
|
|
@deffn {} BFD_RELOC_HI16_S_PCREL
|
839 |
|
|
High 16 bits of 32-bit pc-relative value, adjusted
|
840 |
|
|
@end deffn
|
841 |
|
|
@deffn {} BFD_RELOC_LO16_PCREL
|
842 |
|
|
Low 16 bits of pc-relative value
|
843 |
|
|
@end deffn
|
844 |
|
|
@deffn {} BFD_RELOC_MIPS16_GOT16
|
845 |
|
|
@deffnx {} BFD_RELOC_MIPS16_CALL16
|
846 |
|
|
Equivalent of BFD_RELOC_MIPS_*, but with the MIPS16 layout of
|
847 |
|
|
16-bit immediate fields
|
848 |
|
|
@end deffn
|
849 |
|
|
@deffn {} BFD_RELOC_MIPS16_HI16
|
850 |
|
|
MIPS16 high 16 bits of 32-bit value.
|
851 |
|
|
@end deffn
|
852 |
|
|
@deffn {} BFD_RELOC_MIPS16_HI16_S
|
853 |
|
|
MIPS16 high 16 bits of 32-bit value but the low 16 bits will be sign
|
854 |
|
|
extended and added to form the final result. If the low 16
|
855 |
|
|
bits form a negative number, we need to add one to the high value
|
856 |
|
|
to compensate for the borrow when the low bits are added.
|
857 |
|
|
@end deffn
|
858 |
|
|
@deffn {} BFD_RELOC_MIPS16_LO16
|
859 |
|
|
MIPS16 low 16 bits.
|
860 |
|
|
@end deffn
|
861 |
|
|
@deffn {} BFD_RELOC_MIPS_LITERAL
|
862 |
|
|
Relocation against a MIPS literal section.
|
863 |
|
|
@end deffn
|
864 |
|
|
@deffn {} BFD_RELOC_MIPS_GOT16
|
865 |
|
|
@deffnx {} BFD_RELOC_MIPS_CALL16
|
866 |
|
|
@deffnx {} BFD_RELOC_MIPS_GOT_HI16
|
867 |
|
|
@deffnx {} BFD_RELOC_MIPS_GOT_LO16
|
868 |
|
|
@deffnx {} BFD_RELOC_MIPS_CALL_HI16
|
869 |
|
|
@deffnx {} BFD_RELOC_MIPS_CALL_LO16
|
870 |
|
|
@deffnx {} BFD_RELOC_MIPS_SUB
|
871 |
|
|
@deffnx {} BFD_RELOC_MIPS_GOT_PAGE
|
872 |
|
|
@deffnx {} BFD_RELOC_MIPS_GOT_OFST
|
873 |
|
|
@deffnx {} BFD_RELOC_MIPS_GOT_DISP
|
874 |
|
|
@deffnx {} BFD_RELOC_MIPS_SHIFT5
|
875 |
|
|
@deffnx {} BFD_RELOC_MIPS_SHIFT6
|
876 |
|
|
@deffnx {} BFD_RELOC_MIPS_INSERT_A
|
877 |
|
|
@deffnx {} BFD_RELOC_MIPS_INSERT_B
|
878 |
|
|
@deffnx {} BFD_RELOC_MIPS_DELETE
|
879 |
|
|
@deffnx {} BFD_RELOC_MIPS_HIGHEST
|
880 |
|
|
@deffnx {} BFD_RELOC_MIPS_HIGHER
|
881 |
|
|
@deffnx {} BFD_RELOC_MIPS_SCN_DISP
|
882 |
|
|
@deffnx {} BFD_RELOC_MIPS_REL16
|
883 |
|
|
@deffnx {} BFD_RELOC_MIPS_RELGOT
|
884 |
|
|
@deffnx {} BFD_RELOC_MIPS_JALR
|
885 |
|
|
@deffnx {} BFD_RELOC_MIPS_TLS_DTPMOD32
|
886 |
|
|
@deffnx {} BFD_RELOC_MIPS_TLS_DTPREL32
|
887 |
|
|
@deffnx {} BFD_RELOC_MIPS_TLS_DTPMOD64
|
888 |
|
|
@deffnx {} BFD_RELOC_MIPS_TLS_DTPREL64
|
889 |
|
|
@deffnx {} BFD_RELOC_MIPS_TLS_GD
|
890 |
|
|
@deffnx {} BFD_RELOC_MIPS_TLS_LDM
|
891 |
|
|
@deffnx {} BFD_RELOC_MIPS_TLS_DTPREL_HI16
|
892 |
|
|
@deffnx {} BFD_RELOC_MIPS_TLS_DTPREL_LO16
|
893 |
|
|
@deffnx {} BFD_RELOC_MIPS_TLS_GOTTPREL
|
894 |
|
|
@deffnx {} BFD_RELOC_MIPS_TLS_TPREL32
|
895 |
|
|
@deffnx {} BFD_RELOC_MIPS_TLS_TPREL64
|
896 |
|
|
@deffnx {} BFD_RELOC_MIPS_TLS_TPREL_HI16
|
897 |
|
|
@deffnx {} BFD_RELOC_MIPS_TLS_TPREL_LO16
|
898 |
|
|
MIPS ELF relocations.
|
899 |
|
|
@end deffn
|
900 |
|
|
@deffn {} BFD_RELOC_MIPS_COPY
|
901 |
|
|
@deffnx {} BFD_RELOC_MIPS_JUMP_SLOT
|
902 |
|
|
MIPS ELF relocations (VxWorks and PLT extensions).
|
903 |
|
|
@end deffn
|
904 |
|
|
@deffn {} BFD_RELOC_MOXIE_10_PCREL
|
905 |
|
|
Moxie ELF relocations.
|
906 |
|
|
@end deffn
|
907 |
|
|
@deffn {} BFD_RELOC_FRV_LABEL16
|
908 |
|
|
@deffnx {} BFD_RELOC_FRV_LABEL24
|
909 |
|
|
@deffnx {} BFD_RELOC_FRV_LO16
|
910 |
|
|
@deffnx {} BFD_RELOC_FRV_HI16
|
911 |
|
|
@deffnx {} BFD_RELOC_FRV_GPREL12
|
912 |
|
|
@deffnx {} BFD_RELOC_FRV_GPRELU12
|
913 |
|
|
@deffnx {} BFD_RELOC_FRV_GPREL32
|
914 |
|
|
@deffnx {} BFD_RELOC_FRV_GPRELHI
|
915 |
|
|
@deffnx {} BFD_RELOC_FRV_GPRELLO
|
916 |
|
|
@deffnx {} BFD_RELOC_FRV_GOT12
|
917 |
|
|
@deffnx {} BFD_RELOC_FRV_GOTHI
|
918 |
|
|
@deffnx {} BFD_RELOC_FRV_GOTLO
|
919 |
|
|
@deffnx {} BFD_RELOC_FRV_FUNCDESC
|
920 |
|
|
@deffnx {} BFD_RELOC_FRV_FUNCDESC_GOT12
|
921 |
|
|
@deffnx {} BFD_RELOC_FRV_FUNCDESC_GOTHI
|
922 |
|
|
@deffnx {} BFD_RELOC_FRV_FUNCDESC_GOTLO
|
923 |
|
|
@deffnx {} BFD_RELOC_FRV_FUNCDESC_VALUE
|
924 |
|
|
@deffnx {} BFD_RELOC_FRV_FUNCDESC_GOTOFF12
|
925 |
|
|
@deffnx {} BFD_RELOC_FRV_FUNCDESC_GOTOFFHI
|
926 |
|
|
@deffnx {} BFD_RELOC_FRV_FUNCDESC_GOTOFFLO
|
927 |
|
|
@deffnx {} BFD_RELOC_FRV_GOTOFF12
|
928 |
|
|
@deffnx {} BFD_RELOC_FRV_GOTOFFHI
|
929 |
|
|
@deffnx {} BFD_RELOC_FRV_GOTOFFLO
|
930 |
|
|
@deffnx {} BFD_RELOC_FRV_GETTLSOFF
|
931 |
|
|
@deffnx {} BFD_RELOC_FRV_TLSDESC_VALUE
|
932 |
|
|
@deffnx {} BFD_RELOC_FRV_GOTTLSDESC12
|
933 |
|
|
@deffnx {} BFD_RELOC_FRV_GOTTLSDESCHI
|
934 |
|
|
@deffnx {} BFD_RELOC_FRV_GOTTLSDESCLO
|
935 |
|
|
@deffnx {} BFD_RELOC_FRV_TLSMOFF12
|
936 |
|
|
@deffnx {} BFD_RELOC_FRV_TLSMOFFHI
|
937 |
|
|
@deffnx {} BFD_RELOC_FRV_TLSMOFFLO
|
938 |
|
|
@deffnx {} BFD_RELOC_FRV_GOTTLSOFF12
|
939 |
|
|
@deffnx {} BFD_RELOC_FRV_GOTTLSOFFHI
|
940 |
|
|
@deffnx {} BFD_RELOC_FRV_GOTTLSOFFLO
|
941 |
|
|
@deffnx {} BFD_RELOC_FRV_TLSOFF
|
942 |
|
|
@deffnx {} BFD_RELOC_FRV_TLSDESC_RELAX
|
943 |
|
|
@deffnx {} BFD_RELOC_FRV_GETTLSOFF_RELAX
|
944 |
|
|
@deffnx {} BFD_RELOC_FRV_TLSOFF_RELAX
|
945 |
|
|
@deffnx {} BFD_RELOC_FRV_TLSMOFF
|
946 |
|
|
Fujitsu Frv Relocations.
|
947 |
|
|
@end deffn
|
948 |
|
|
@deffn {} BFD_RELOC_MN10300_GOTOFF24
|
949 |
|
|
This is a 24bit GOT-relative reloc for the mn10300.
|
950 |
|
|
@end deffn
|
951 |
|
|
@deffn {} BFD_RELOC_MN10300_GOT32
|
952 |
|
|
This is a 32bit GOT-relative reloc for the mn10300, offset by two bytes
|
953 |
|
|
in the instruction.
|
954 |
|
|
@end deffn
|
955 |
|
|
@deffn {} BFD_RELOC_MN10300_GOT24
|
956 |
|
|
This is a 24bit GOT-relative reloc for the mn10300, offset by two bytes
|
957 |
|
|
in the instruction.
|
958 |
|
|
@end deffn
|
959 |
|
|
@deffn {} BFD_RELOC_MN10300_GOT16
|
960 |
|
|
This is a 16bit GOT-relative reloc for the mn10300, offset by two bytes
|
961 |
|
|
in the instruction.
|
962 |
|
|
@end deffn
|
963 |
|
|
@deffn {} BFD_RELOC_MN10300_COPY
|
964 |
|
|
Copy symbol at runtime.
|
965 |
|
|
@end deffn
|
966 |
|
|
@deffn {} BFD_RELOC_MN10300_GLOB_DAT
|
967 |
|
|
Create GOT entry.
|
968 |
|
|
@end deffn
|
969 |
|
|
@deffn {} BFD_RELOC_MN10300_JMP_SLOT
|
970 |
|
|
Create PLT entry.
|
971 |
|
|
@end deffn
|
972 |
|
|
@deffn {} BFD_RELOC_MN10300_RELATIVE
|
973 |
|
|
Adjust by program base.
|
974 |
|
|
@end deffn
|
975 |
|
|
@deffn {} BFD_RELOC_MN10300_SYM_DIFF
|
976 |
|
|
Together with another reloc targeted at the same location,
|
977 |
|
|
allows for a value that is the difference of two symbols
|
978 |
|
|
in the same section.
|
979 |
|
|
@end deffn
|
980 |
|
|
@deffn {} BFD_RELOC_MN10300_ALIGN
|
981 |
|
|
The addend of this reloc is an alignment power that must
|
982 |
|
|
be honoured at the offset's location, regardless of linker
|
983 |
|
|
relaxation.
|
984 |
|
|
@end deffn
|
985 |
|
|
@deffn {} BFD_RELOC_386_GOT32
|
986 |
|
|
@deffnx {} BFD_RELOC_386_PLT32
|
987 |
|
|
@deffnx {} BFD_RELOC_386_COPY
|
988 |
|
|
@deffnx {} BFD_RELOC_386_GLOB_DAT
|
989 |
|
|
@deffnx {} BFD_RELOC_386_JUMP_SLOT
|
990 |
|
|
@deffnx {} BFD_RELOC_386_RELATIVE
|
991 |
|
|
@deffnx {} BFD_RELOC_386_GOTOFF
|
992 |
|
|
@deffnx {} BFD_RELOC_386_GOTPC
|
993 |
|
|
@deffnx {} BFD_RELOC_386_TLS_TPOFF
|
994 |
|
|
@deffnx {} BFD_RELOC_386_TLS_IE
|
995 |
|
|
@deffnx {} BFD_RELOC_386_TLS_GOTIE
|
996 |
|
|
@deffnx {} BFD_RELOC_386_TLS_LE
|
997 |
|
|
@deffnx {} BFD_RELOC_386_TLS_GD
|
998 |
|
|
@deffnx {} BFD_RELOC_386_TLS_LDM
|
999 |
|
|
@deffnx {} BFD_RELOC_386_TLS_LDO_32
|
1000 |
|
|
@deffnx {} BFD_RELOC_386_TLS_IE_32
|
1001 |
|
|
@deffnx {} BFD_RELOC_386_TLS_LE_32
|
1002 |
|
|
@deffnx {} BFD_RELOC_386_TLS_DTPMOD32
|
1003 |
|
|
@deffnx {} BFD_RELOC_386_TLS_DTPOFF32
|
1004 |
|
|
@deffnx {} BFD_RELOC_386_TLS_TPOFF32
|
1005 |
|
|
@deffnx {} BFD_RELOC_386_TLS_GOTDESC
|
1006 |
|
|
@deffnx {} BFD_RELOC_386_TLS_DESC_CALL
|
1007 |
|
|
@deffnx {} BFD_RELOC_386_TLS_DESC
|
1008 |
|
|
@deffnx {} BFD_RELOC_386_IRELATIVE
|
1009 |
|
|
i386/elf relocations
|
1010 |
|
|
@end deffn
|
1011 |
|
|
@deffn {} BFD_RELOC_X86_64_GOT32
|
1012 |
|
|
@deffnx {} BFD_RELOC_X86_64_PLT32
|
1013 |
|
|
@deffnx {} BFD_RELOC_X86_64_COPY
|
1014 |
|
|
@deffnx {} BFD_RELOC_X86_64_GLOB_DAT
|
1015 |
|
|
@deffnx {} BFD_RELOC_X86_64_JUMP_SLOT
|
1016 |
|
|
@deffnx {} BFD_RELOC_X86_64_RELATIVE
|
1017 |
|
|
@deffnx {} BFD_RELOC_X86_64_GOTPCREL
|
1018 |
|
|
@deffnx {} BFD_RELOC_X86_64_32S
|
1019 |
|
|
@deffnx {} BFD_RELOC_X86_64_DTPMOD64
|
1020 |
|
|
@deffnx {} BFD_RELOC_X86_64_DTPOFF64
|
1021 |
|
|
@deffnx {} BFD_RELOC_X86_64_TPOFF64
|
1022 |
|
|
@deffnx {} BFD_RELOC_X86_64_TLSGD
|
1023 |
|
|
@deffnx {} BFD_RELOC_X86_64_TLSLD
|
1024 |
|
|
@deffnx {} BFD_RELOC_X86_64_DTPOFF32
|
1025 |
|
|
@deffnx {} BFD_RELOC_X86_64_GOTTPOFF
|
1026 |
|
|
@deffnx {} BFD_RELOC_X86_64_TPOFF32
|
1027 |
|
|
@deffnx {} BFD_RELOC_X86_64_GOTOFF64
|
1028 |
|
|
@deffnx {} BFD_RELOC_X86_64_GOTPC32
|
1029 |
|
|
@deffnx {} BFD_RELOC_X86_64_GOT64
|
1030 |
|
|
@deffnx {} BFD_RELOC_X86_64_GOTPCREL64
|
1031 |
|
|
@deffnx {} BFD_RELOC_X86_64_GOTPC64
|
1032 |
|
|
@deffnx {} BFD_RELOC_X86_64_GOTPLT64
|
1033 |
|
|
@deffnx {} BFD_RELOC_X86_64_PLTOFF64
|
1034 |
|
|
@deffnx {} BFD_RELOC_X86_64_GOTPC32_TLSDESC
|
1035 |
|
|
@deffnx {} BFD_RELOC_X86_64_TLSDESC_CALL
|
1036 |
|
|
@deffnx {} BFD_RELOC_X86_64_TLSDESC
|
1037 |
|
|
@deffnx {} BFD_RELOC_X86_64_IRELATIVE
|
1038 |
|
|
x86-64/elf relocations
|
1039 |
|
|
@end deffn
|
1040 |
|
|
@deffn {} BFD_RELOC_NS32K_IMM_8
|
1041 |
|
|
@deffnx {} BFD_RELOC_NS32K_IMM_16
|
1042 |
|
|
@deffnx {} BFD_RELOC_NS32K_IMM_32
|
1043 |
|
|
@deffnx {} BFD_RELOC_NS32K_IMM_8_PCREL
|
1044 |
|
|
@deffnx {} BFD_RELOC_NS32K_IMM_16_PCREL
|
1045 |
|
|
@deffnx {} BFD_RELOC_NS32K_IMM_32_PCREL
|
1046 |
|
|
@deffnx {} BFD_RELOC_NS32K_DISP_8
|
1047 |
|
|
@deffnx {} BFD_RELOC_NS32K_DISP_16
|
1048 |
|
|
@deffnx {} BFD_RELOC_NS32K_DISP_32
|
1049 |
|
|
@deffnx {} BFD_RELOC_NS32K_DISP_8_PCREL
|
1050 |
|
|
@deffnx {} BFD_RELOC_NS32K_DISP_16_PCREL
|
1051 |
|
|
@deffnx {} BFD_RELOC_NS32K_DISP_32_PCREL
|
1052 |
|
|
ns32k relocations
|
1053 |
|
|
@end deffn
|
1054 |
|
|
@deffn {} BFD_RELOC_PDP11_DISP_8_PCREL
|
1055 |
|
|
@deffnx {} BFD_RELOC_PDP11_DISP_6_PCREL
|
1056 |
|
|
PDP11 relocations
|
1057 |
|
|
@end deffn
|
1058 |
|
|
@deffn {} BFD_RELOC_PJ_CODE_HI16
|
1059 |
|
|
@deffnx {} BFD_RELOC_PJ_CODE_LO16
|
1060 |
|
|
@deffnx {} BFD_RELOC_PJ_CODE_DIR16
|
1061 |
|
|
@deffnx {} BFD_RELOC_PJ_CODE_DIR32
|
1062 |
|
|
@deffnx {} BFD_RELOC_PJ_CODE_REL16
|
1063 |
|
|
@deffnx {} BFD_RELOC_PJ_CODE_REL32
|
1064 |
|
|
Picojava relocs. Not all of these appear in object files.
|
1065 |
|
|
@end deffn
|
1066 |
|
|
@deffn {} BFD_RELOC_PPC_B26
|
1067 |
|
|
@deffnx {} BFD_RELOC_PPC_BA26
|
1068 |
|
|
@deffnx {} BFD_RELOC_PPC_TOC16
|
1069 |
|
|
@deffnx {} BFD_RELOC_PPC_B16
|
1070 |
|
|
@deffnx {} BFD_RELOC_PPC_B16_BRTAKEN
|
1071 |
|
|
@deffnx {} BFD_RELOC_PPC_B16_BRNTAKEN
|
1072 |
|
|
@deffnx {} BFD_RELOC_PPC_BA16
|
1073 |
|
|
@deffnx {} BFD_RELOC_PPC_BA16_BRTAKEN
|
1074 |
|
|
@deffnx {} BFD_RELOC_PPC_BA16_BRNTAKEN
|
1075 |
|
|
@deffnx {} BFD_RELOC_PPC_COPY
|
1076 |
|
|
@deffnx {} BFD_RELOC_PPC_GLOB_DAT
|
1077 |
|
|
@deffnx {} BFD_RELOC_PPC_JMP_SLOT
|
1078 |
|
|
@deffnx {} BFD_RELOC_PPC_RELATIVE
|
1079 |
|
|
@deffnx {} BFD_RELOC_PPC_LOCAL24PC
|
1080 |
|
|
@deffnx {} BFD_RELOC_PPC_EMB_NADDR32
|
1081 |
|
|
@deffnx {} BFD_RELOC_PPC_EMB_NADDR16
|
1082 |
|
|
@deffnx {} BFD_RELOC_PPC_EMB_NADDR16_LO
|
1083 |
|
|
@deffnx {} BFD_RELOC_PPC_EMB_NADDR16_HI
|
1084 |
|
|
@deffnx {} BFD_RELOC_PPC_EMB_NADDR16_HA
|
1085 |
|
|
@deffnx {} BFD_RELOC_PPC_EMB_SDAI16
|
1086 |
|
|
@deffnx {} BFD_RELOC_PPC_EMB_SDA2I16
|
1087 |
|
|
@deffnx {} BFD_RELOC_PPC_EMB_SDA2REL
|
1088 |
|
|
@deffnx {} BFD_RELOC_PPC_EMB_SDA21
|
1089 |
|
|
@deffnx {} BFD_RELOC_PPC_EMB_MRKREF
|
1090 |
|
|
@deffnx {} BFD_RELOC_PPC_EMB_RELSEC16
|
1091 |
|
|
@deffnx {} BFD_RELOC_PPC_EMB_RELST_LO
|
1092 |
|
|
@deffnx {} BFD_RELOC_PPC_EMB_RELST_HI
|
1093 |
|
|
@deffnx {} BFD_RELOC_PPC_EMB_RELST_HA
|
1094 |
|
|
@deffnx {} BFD_RELOC_PPC_EMB_BIT_FLD
|
1095 |
|
|
@deffnx {} BFD_RELOC_PPC_EMB_RELSDA
|
1096 |
|
|
@deffnx {} BFD_RELOC_PPC64_HIGHER
|
1097 |
|
|
@deffnx {} BFD_RELOC_PPC64_HIGHER_S
|
1098 |
|
|
@deffnx {} BFD_RELOC_PPC64_HIGHEST
|
1099 |
|
|
@deffnx {} BFD_RELOC_PPC64_HIGHEST_S
|
1100 |
|
|
@deffnx {} BFD_RELOC_PPC64_TOC16_LO
|
1101 |
|
|
@deffnx {} BFD_RELOC_PPC64_TOC16_HI
|
1102 |
|
|
@deffnx {} BFD_RELOC_PPC64_TOC16_HA
|
1103 |
|
|
@deffnx {} BFD_RELOC_PPC64_TOC
|
1104 |
|
|
@deffnx {} BFD_RELOC_PPC64_PLTGOT16
|
1105 |
|
|
@deffnx {} BFD_RELOC_PPC64_PLTGOT16_LO
|
1106 |
|
|
@deffnx {} BFD_RELOC_PPC64_PLTGOT16_HI
|
1107 |
|
|
@deffnx {} BFD_RELOC_PPC64_PLTGOT16_HA
|
1108 |
|
|
@deffnx {} BFD_RELOC_PPC64_ADDR16_DS
|
1109 |
|
|
@deffnx {} BFD_RELOC_PPC64_ADDR16_LO_DS
|
1110 |
|
|
@deffnx {} BFD_RELOC_PPC64_GOT16_DS
|
1111 |
|
|
@deffnx {} BFD_RELOC_PPC64_GOT16_LO_DS
|
1112 |
|
|
@deffnx {} BFD_RELOC_PPC64_PLT16_LO_DS
|
1113 |
|
|
@deffnx {} BFD_RELOC_PPC64_SECTOFF_DS
|
1114 |
|
|
@deffnx {} BFD_RELOC_PPC64_SECTOFF_LO_DS
|
1115 |
|
|
@deffnx {} BFD_RELOC_PPC64_TOC16_DS
|
1116 |
|
|
@deffnx {} BFD_RELOC_PPC64_TOC16_LO_DS
|
1117 |
|
|
@deffnx {} BFD_RELOC_PPC64_PLTGOT16_DS
|
1118 |
|
|
@deffnx {} BFD_RELOC_PPC64_PLTGOT16_LO_DS
|
1119 |
|
|
Power(rs6000) and PowerPC relocations.
|
1120 |
|
|
@end deffn
|
1121 |
|
|
@deffn {} BFD_RELOC_PPC_TLS
|
1122 |
|
|
@deffnx {} BFD_RELOC_PPC_TLSGD
|
1123 |
|
|
@deffnx {} BFD_RELOC_PPC_TLSLD
|
1124 |
|
|
@deffnx {} BFD_RELOC_PPC_DTPMOD
|
1125 |
|
|
@deffnx {} BFD_RELOC_PPC_TPREL16
|
1126 |
|
|
@deffnx {} BFD_RELOC_PPC_TPREL16_LO
|
1127 |
|
|
@deffnx {} BFD_RELOC_PPC_TPREL16_HI
|
1128 |
|
|
@deffnx {} BFD_RELOC_PPC_TPREL16_HA
|
1129 |
|
|
@deffnx {} BFD_RELOC_PPC_TPREL
|
1130 |
|
|
@deffnx {} BFD_RELOC_PPC_DTPREL16
|
1131 |
|
|
@deffnx {} BFD_RELOC_PPC_DTPREL16_LO
|
1132 |
|
|
@deffnx {} BFD_RELOC_PPC_DTPREL16_HI
|
1133 |
|
|
@deffnx {} BFD_RELOC_PPC_DTPREL16_HA
|
1134 |
|
|
@deffnx {} BFD_RELOC_PPC_DTPREL
|
1135 |
|
|
@deffnx {} BFD_RELOC_PPC_GOT_TLSGD16
|
1136 |
|
|
@deffnx {} BFD_RELOC_PPC_GOT_TLSGD16_LO
|
1137 |
|
|
@deffnx {} BFD_RELOC_PPC_GOT_TLSGD16_HI
|
1138 |
|
|
@deffnx {} BFD_RELOC_PPC_GOT_TLSGD16_HA
|
1139 |
|
|
@deffnx {} BFD_RELOC_PPC_GOT_TLSLD16
|
1140 |
|
|
@deffnx {} BFD_RELOC_PPC_GOT_TLSLD16_LO
|
1141 |
|
|
@deffnx {} BFD_RELOC_PPC_GOT_TLSLD16_HI
|
1142 |
|
|
@deffnx {} BFD_RELOC_PPC_GOT_TLSLD16_HA
|
1143 |
|
|
@deffnx {} BFD_RELOC_PPC_GOT_TPREL16
|
1144 |
|
|
@deffnx {} BFD_RELOC_PPC_GOT_TPREL16_LO
|
1145 |
|
|
@deffnx {} BFD_RELOC_PPC_GOT_TPREL16_HI
|
1146 |
|
|
@deffnx {} BFD_RELOC_PPC_GOT_TPREL16_HA
|
1147 |
|
|
@deffnx {} BFD_RELOC_PPC_GOT_DTPREL16
|
1148 |
|
|
@deffnx {} BFD_RELOC_PPC_GOT_DTPREL16_LO
|
1149 |
|
|
@deffnx {} BFD_RELOC_PPC_GOT_DTPREL16_HI
|
1150 |
|
|
@deffnx {} BFD_RELOC_PPC_GOT_DTPREL16_HA
|
1151 |
|
|
@deffnx {} BFD_RELOC_PPC64_TPREL16_DS
|
1152 |
|
|
@deffnx {} BFD_RELOC_PPC64_TPREL16_LO_DS
|
1153 |
|
|
@deffnx {} BFD_RELOC_PPC64_TPREL16_HIGHER
|
1154 |
|
|
@deffnx {} BFD_RELOC_PPC64_TPREL16_HIGHERA
|
1155 |
|
|
@deffnx {} BFD_RELOC_PPC64_TPREL16_HIGHEST
|
1156 |
|
|
@deffnx {} BFD_RELOC_PPC64_TPREL16_HIGHESTA
|
1157 |
|
|
@deffnx {} BFD_RELOC_PPC64_DTPREL16_DS
|
1158 |
|
|
@deffnx {} BFD_RELOC_PPC64_DTPREL16_LO_DS
|
1159 |
|
|
@deffnx {} BFD_RELOC_PPC64_DTPREL16_HIGHER
|
1160 |
|
|
@deffnx {} BFD_RELOC_PPC64_DTPREL16_HIGHERA
|
1161 |
|
|
@deffnx {} BFD_RELOC_PPC64_DTPREL16_HIGHEST
|
1162 |
|
|
@deffnx {} BFD_RELOC_PPC64_DTPREL16_HIGHESTA
|
1163 |
|
|
PowerPC and PowerPC64 thread-local storage relocations.
|
1164 |
|
|
@end deffn
|
1165 |
|
|
@deffn {} BFD_RELOC_I370_D12
|
1166 |
|
|
IBM 370/390 relocations
|
1167 |
|
|
@end deffn
|
1168 |
|
|
@deffn {} BFD_RELOC_CTOR
|
1169 |
|
|
The type of reloc used to build a constructor table - at the moment
|
1170 |
|
|
probably a 32 bit wide absolute relocation, but the target can choose.
|
1171 |
|
|
It generally does map to one of the other relocation types.
|
1172 |
|
|
@end deffn
|
1173 |
|
|
@deffn {} BFD_RELOC_ARM_PCREL_BRANCH
|
1174 |
|
|
ARM 26 bit pc-relative branch. The lowest two bits must be zero and are
|
1175 |
|
|
not stored in the instruction.
|
1176 |
|
|
@end deffn
|
1177 |
|
|
@deffn {} BFD_RELOC_ARM_PCREL_BLX
|
1178 |
|
|
ARM 26 bit pc-relative branch. The lowest bit must be zero and is
|
1179 |
|
|
not stored in the instruction. The 2nd lowest bit comes from a 1 bit
|
1180 |
|
|
field in the instruction.
|
1181 |
|
|
@end deffn
|
1182 |
|
|
@deffn {} BFD_RELOC_THUMB_PCREL_BLX
|
1183 |
|
|
Thumb 22 bit pc-relative branch. The lowest bit must be zero and is
|
1184 |
|
|
not stored in the instruction. The 2nd lowest bit comes from a 1 bit
|
1185 |
|
|
field in the instruction.
|
1186 |
|
|
@end deffn
|
1187 |
|
|
@deffn {} BFD_RELOC_ARM_PCREL_CALL
|
1188 |
|
|
ARM 26-bit pc-relative branch for an unconditional BL or BLX instruction.
|
1189 |
|
|
@end deffn
|
1190 |
|
|
@deffn {} BFD_RELOC_ARM_PCREL_JUMP
|
1191 |
|
|
ARM 26-bit pc-relative branch for B or conditional BL instruction.
|
1192 |
|
|
@end deffn
|
1193 |
|
|
@deffn {} BFD_RELOC_THUMB_PCREL_BRANCH7
|
1194 |
|
|
@deffnx {} BFD_RELOC_THUMB_PCREL_BRANCH9
|
1195 |
|
|
@deffnx {} BFD_RELOC_THUMB_PCREL_BRANCH12
|
1196 |
|
|
@deffnx {} BFD_RELOC_THUMB_PCREL_BRANCH20
|
1197 |
|
|
@deffnx {} BFD_RELOC_THUMB_PCREL_BRANCH23
|
1198 |
|
|
@deffnx {} BFD_RELOC_THUMB_PCREL_BRANCH25
|
1199 |
|
|
Thumb 7-, 9-, 12-, 20-, 23-, and 25-bit pc-relative branches.
|
1200 |
|
|
The lowest bit must be zero and is not stored in the instruction.
|
1201 |
|
|
Note that the corresponding ELF R_ARM_THM_JUMPnn constant has an
|
1202 |
|
|
"nn" one smaller in all cases. Note further that BRANCH23
|
1203 |
|
|
corresponds to R_ARM_THM_CALL.
|
1204 |
|
|
@end deffn
|
1205 |
|
|
@deffn {} BFD_RELOC_ARM_OFFSET_IMM
|
1206 |
|
|
12-bit immediate offset, used in ARM-format ldr and str instructions.
|
1207 |
|
|
@end deffn
|
1208 |
|
|
@deffn {} BFD_RELOC_ARM_THUMB_OFFSET
|
1209 |
|
|
5-bit immediate offset, used in Thumb-format ldr and str instructions.
|
1210 |
|
|
@end deffn
|
1211 |
|
|
@deffn {} BFD_RELOC_ARM_TARGET1
|
1212 |
|
|
Pc-relative or absolute relocation depending on target. Used for
|
1213 |
|
|
entries in .init_array sections.
|
1214 |
|
|
@end deffn
|
1215 |
|
|
@deffn {} BFD_RELOC_ARM_ROSEGREL32
|
1216 |
|
|
Read-only segment base relative address.
|
1217 |
|
|
@end deffn
|
1218 |
|
|
@deffn {} BFD_RELOC_ARM_SBREL32
|
1219 |
|
|
Data segment base relative address.
|
1220 |
|
|
@end deffn
|
1221 |
|
|
@deffn {} BFD_RELOC_ARM_TARGET2
|
1222 |
|
|
This reloc is used for references to RTTI data from exception handling
|
1223 |
|
|
tables. The actual definition depends on the target. It may be a
|
1224 |
|
|
pc-relative or some form of GOT-indirect relocation.
|
1225 |
|
|
@end deffn
|
1226 |
|
|
@deffn {} BFD_RELOC_ARM_PREL31
|
1227 |
|
|
31-bit PC relative address.
|
1228 |
|
|
@end deffn
|
1229 |
|
|
@deffn {} BFD_RELOC_ARM_MOVW
|
1230 |
|
|
@deffnx {} BFD_RELOC_ARM_MOVT
|
1231 |
|
|
@deffnx {} BFD_RELOC_ARM_MOVW_PCREL
|
1232 |
|
|
@deffnx {} BFD_RELOC_ARM_MOVT_PCREL
|
1233 |
|
|
@deffnx {} BFD_RELOC_ARM_THUMB_MOVW
|
1234 |
|
|
@deffnx {} BFD_RELOC_ARM_THUMB_MOVT
|
1235 |
|
|
@deffnx {} BFD_RELOC_ARM_THUMB_MOVW_PCREL
|
1236 |
|
|
@deffnx {} BFD_RELOC_ARM_THUMB_MOVT_PCREL
|
1237 |
|
|
Low and High halfword relocations for MOVW and MOVT instructions.
|
1238 |
|
|
@end deffn
|
1239 |
|
|
@deffn {} BFD_RELOC_ARM_JUMP_SLOT
|
1240 |
|
|
@deffnx {} BFD_RELOC_ARM_GLOB_DAT
|
1241 |
|
|
@deffnx {} BFD_RELOC_ARM_GOT32
|
1242 |
|
|
@deffnx {} BFD_RELOC_ARM_PLT32
|
1243 |
|
|
@deffnx {} BFD_RELOC_ARM_RELATIVE
|
1244 |
|
|
@deffnx {} BFD_RELOC_ARM_GOTOFF
|
1245 |
|
|
@deffnx {} BFD_RELOC_ARM_GOTPC
|
1246 |
|
|
@deffnx {} BFD_RELOC_ARM_GOT_PREL
|
1247 |
|
|
Relocations for setting up GOTs and PLTs for shared libraries.
|
1248 |
|
|
@end deffn
|
1249 |
|
|
@deffn {} BFD_RELOC_ARM_TLS_GD32
|
1250 |
|
|
@deffnx {} BFD_RELOC_ARM_TLS_LDO32
|
1251 |
|
|
@deffnx {} BFD_RELOC_ARM_TLS_LDM32
|
1252 |
|
|
@deffnx {} BFD_RELOC_ARM_TLS_DTPOFF32
|
1253 |
|
|
@deffnx {} BFD_RELOC_ARM_TLS_DTPMOD32
|
1254 |
|
|
@deffnx {} BFD_RELOC_ARM_TLS_TPOFF32
|
1255 |
|
|
@deffnx {} BFD_RELOC_ARM_TLS_IE32
|
1256 |
|
|
@deffnx {} BFD_RELOC_ARM_TLS_LE32
|
1257 |
|
|
ARM thread-local storage relocations.
|
1258 |
|
|
@end deffn
|
1259 |
|
|
@deffn {} BFD_RELOC_ARM_ALU_PC_G0_NC
|
1260 |
|
|
@deffnx {} BFD_RELOC_ARM_ALU_PC_G0
|
1261 |
|
|
@deffnx {} BFD_RELOC_ARM_ALU_PC_G1_NC
|
1262 |
|
|
@deffnx {} BFD_RELOC_ARM_ALU_PC_G1
|
1263 |
|
|
@deffnx {} BFD_RELOC_ARM_ALU_PC_G2
|
1264 |
|
|
@deffnx {} BFD_RELOC_ARM_LDR_PC_G0
|
1265 |
|
|
@deffnx {} BFD_RELOC_ARM_LDR_PC_G1
|
1266 |
|
|
@deffnx {} BFD_RELOC_ARM_LDR_PC_G2
|
1267 |
|
|
@deffnx {} BFD_RELOC_ARM_LDRS_PC_G0
|
1268 |
|
|
@deffnx {} BFD_RELOC_ARM_LDRS_PC_G1
|
1269 |
|
|
@deffnx {} BFD_RELOC_ARM_LDRS_PC_G2
|
1270 |
|
|
@deffnx {} BFD_RELOC_ARM_LDC_PC_G0
|
1271 |
|
|
@deffnx {} BFD_RELOC_ARM_LDC_PC_G1
|
1272 |
|
|
@deffnx {} BFD_RELOC_ARM_LDC_PC_G2
|
1273 |
|
|
@deffnx {} BFD_RELOC_ARM_ALU_SB_G0_NC
|
1274 |
|
|
@deffnx {} BFD_RELOC_ARM_ALU_SB_G0
|
1275 |
|
|
@deffnx {} BFD_RELOC_ARM_ALU_SB_G1_NC
|
1276 |
|
|
@deffnx {} BFD_RELOC_ARM_ALU_SB_G1
|
1277 |
|
|
@deffnx {} BFD_RELOC_ARM_ALU_SB_G2
|
1278 |
|
|
@deffnx {} BFD_RELOC_ARM_LDR_SB_G0
|
1279 |
|
|
@deffnx {} BFD_RELOC_ARM_LDR_SB_G1
|
1280 |
|
|
@deffnx {} BFD_RELOC_ARM_LDR_SB_G2
|
1281 |
|
|
@deffnx {} BFD_RELOC_ARM_LDRS_SB_G0
|
1282 |
|
|
@deffnx {} BFD_RELOC_ARM_LDRS_SB_G1
|
1283 |
|
|
@deffnx {} BFD_RELOC_ARM_LDRS_SB_G2
|
1284 |
|
|
@deffnx {} BFD_RELOC_ARM_LDC_SB_G0
|
1285 |
|
|
@deffnx {} BFD_RELOC_ARM_LDC_SB_G1
|
1286 |
|
|
@deffnx {} BFD_RELOC_ARM_LDC_SB_G2
|
1287 |
|
|
ARM group relocations.
|
1288 |
|
|
@end deffn
|
1289 |
|
|
@deffn {} BFD_RELOC_ARM_V4BX
|
1290 |
|
|
Annotation of BX instructions.
|
1291 |
|
|
@end deffn
|
1292 |
|
|
@deffn {} BFD_RELOC_ARM_IMMEDIATE
|
1293 |
|
|
@deffnx {} BFD_RELOC_ARM_ADRL_IMMEDIATE
|
1294 |
|
|
@deffnx {} BFD_RELOC_ARM_T32_IMMEDIATE
|
1295 |
|
|
@deffnx {} BFD_RELOC_ARM_T32_ADD_IMM
|
1296 |
|
|
@deffnx {} BFD_RELOC_ARM_T32_IMM12
|
1297 |
|
|
@deffnx {} BFD_RELOC_ARM_T32_ADD_PC12
|
1298 |
|
|
@deffnx {} BFD_RELOC_ARM_SHIFT_IMM
|
1299 |
|
|
@deffnx {} BFD_RELOC_ARM_SMC
|
1300 |
|
|
@deffnx {} BFD_RELOC_ARM_SWI
|
1301 |
|
|
@deffnx {} BFD_RELOC_ARM_MULTI
|
1302 |
|
|
@deffnx {} BFD_RELOC_ARM_CP_OFF_IMM
|
1303 |
|
|
@deffnx {} BFD_RELOC_ARM_CP_OFF_IMM_S2
|
1304 |
|
|
@deffnx {} BFD_RELOC_ARM_T32_CP_OFF_IMM
|
1305 |
|
|
@deffnx {} BFD_RELOC_ARM_T32_CP_OFF_IMM_S2
|
1306 |
|
|
@deffnx {} BFD_RELOC_ARM_ADR_IMM
|
1307 |
|
|
@deffnx {} BFD_RELOC_ARM_LDR_IMM
|
1308 |
|
|
@deffnx {} BFD_RELOC_ARM_LITERAL
|
1309 |
|
|
@deffnx {} BFD_RELOC_ARM_IN_POOL
|
1310 |
|
|
@deffnx {} BFD_RELOC_ARM_OFFSET_IMM8
|
1311 |
|
|
@deffnx {} BFD_RELOC_ARM_T32_OFFSET_U8
|
1312 |
|
|
@deffnx {} BFD_RELOC_ARM_T32_OFFSET_IMM
|
1313 |
|
|
@deffnx {} BFD_RELOC_ARM_HWLITERAL
|
1314 |
|
|
@deffnx {} BFD_RELOC_ARM_THUMB_ADD
|
1315 |
|
|
@deffnx {} BFD_RELOC_ARM_THUMB_IMM
|
1316 |
|
|
@deffnx {} BFD_RELOC_ARM_THUMB_SHIFT
|
1317 |
|
|
These relocs are only used within the ARM assembler. They are not
|
1318 |
|
|
(at present) written to any object files.
|
1319 |
|
|
@end deffn
|
1320 |
|
|
@deffn {} BFD_RELOC_SH_PCDISP8BY2
|
1321 |
|
|
@deffnx {} BFD_RELOC_SH_PCDISP12BY2
|
1322 |
|
|
@deffnx {} BFD_RELOC_SH_IMM3
|
1323 |
|
|
@deffnx {} BFD_RELOC_SH_IMM3U
|
1324 |
|
|
@deffnx {} BFD_RELOC_SH_DISP12
|
1325 |
|
|
@deffnx {} BFD_RELOC_SH_DISP12BY2
|
1326 |
|
|
@deffnx {} BFD_RELOC_SH_DISP12BY4
|
1327 |
|
|
@deffnx {} BFD_RELOC_SH_DISP12BY8
|
1328 |
|
|
@deffnx {} BFD_RELOC_SH_DISP20
|
1329 |
|
|
@deffnx {} BFD_RELOC_SH_DISP20BY8
|
1330 |
|
|
@deffnx {} BFD_RELOC_SH_IMM4
|
1331 |
|
|
@deffnx {} BFD_RELOC_SH_IMM4BY2
|
1332 |
|
|
@deffnx {} BFD_RELOC_SH_IMM4BY4
|
1333 |
|
|
@deffnx {} BFD_RELOC_SH_IMM8
|
1334 |
|
|
@deffnx {} BFD_RELOC_SH_IMM8BY2
|
1335 |
|
|
@deffnx {} BFD_RELOC_SH_IMM8BY4
|
1336 |
|
|
@deffnx {} BFD_RELOC_SH_PCRELIMM8BY2
|
1337 |
|
|
@deffnx {} BFD_RELOC_SH_PCRELIMM8BY4
|
1338 |
|
|
@deffnx {} BFD_RELOC_SH_SWITCH16
|
1339 |
|
|
@deffnx {} BFD_RELOC_SH_SWITCH32
|
1340 |
|
|
@deffnx {} BFD_RELOC_SH_USES
|
1341 |
|
|
@deffnx {} BFD_RELOC_SH_COUNT
|
1342 |
|
|
@deffnx {} BFD_RELOC_SH_ALIGN
|
1343 |
|
|
@deffnx {} BFD_RELOC_SH_CODE
|
1344 |
|
|
@deffnx {} BFD_RELOC_SH_DATA
|
1345 |
|
|
@deffnx {} BFD_RELOC_SH_LABEL
|
1346 |
|
|
@deffnx {} BFD_RELOC_SH_LOOP_START
|
1347 |
|
|
@deffnx {} BFD_RELOC_SH_LOOP_END
|
1348 |
|
|
@deffnx {} BFD_RELOC_SH_COPY
|
1349 |
|
|
@deffnx {} BFD_RELOC_SH_GLOB_DAT
|
1350 |
|
|
@deffnx {} BFD_RELOC_SH_JMP_SLOT
|
1351 |
|
|
@deffnx {} BFD_RELOC_SH_RELATIVE
|
1352 |
|
|
@deffnx {} BFD_RELOC_SH_GOTPC
|
1353 |
|
|
@deffnx {} BFD_RELOC_SH_GOT_LOW16
|
1354 |
|
|
@deffnx {} BFD_RELOC_SH_GOT_MEDLOW16
|
1355 |
|
|
@deffnx {} BFD_RELOC_SH_GOT_MEDHI16
|
1356 |
|
|
@deffnx {} BFD_RELOC_SH_GOT_HI16
|
1357 |
|
|
@deffnx {} BFD_RELOC_SH_GOTPLT_LOW16
|
1358 |
|
|
@deffnx {} BFD_RELOC_SH_GOTPLT_MEDLOW16
|
1359 |
|
|
@deffnx {} BFD_RELOC_SH_GOTPLT_MEDHI16
|
1360 |
|
|
@deffnx {} BFD_RELOC_SH_GOTPLT_HI16
|
1361 |
|
|
@deffnx {} BFD_RELOC_SH_PLT_LOW16
|
1362 |
|
|
@deffnx {} BFD_RELOC_SH_PLT_MEDLOW16
|
1363 |
|
|
@deffnx {} BFD_RELOC_SH_PLT_MEDHI16
|
1364 |
|
|
@deffnx {} BFD_RELOC_SH_PLT_HI16
|
1365 |
|
|
@deffnx {} BFD_RELOC_SH_GOTOFF_LOW16
|
1366 |
|
|
@deffnx {} BFD_RELOC_SH_GOTOFF_MEDLOW16
|
1367 |
|
|
@deffnx {} BFD_RELOC_SH_GOTOFF_MEDHI16
|
1368 |
|
|
@deffnx {} BFD_RELOC_SH_GOTOFF_HI16
|
1369 |
|
|
@deffnx {} BFD_RELOC_SH_GOTPC_LOW16
|
1370 |
|
|
@deffnx {} BFD_RELOC_SH_GOTPC_MEDLOW16
|
1371 |
|
|
@deffnx {} BFD_RELOC_SH_GOTPC_MEDHI16
|
1372 |
|
|
@deffnx {} BFD_RELOC_SH_GOTPC_HI16
|
1373 |
|
|
@deffnx {} BFD_RELOC_SH_COPY64
|
1374 |
|
|
@deffnx {} BFD_RELOC_SH_GLOB_DAT64
|
1375 |
|
|
@deffnx {} BFD_RELOC_SH_JMP_SLOT64
|
1376 |
|
|
@deffnx {} BFD_RELOC_SH_RELATIVE64
|
1377 |
|
|
@deffnx {} BFD_RELOC_SH_GOT10BY4
|
1378 |
|
|
@deffnx {} BFD_RELOC_SH_GOT10BY8
|
1379 |
|
|
@deffnx {} BFD_RELOC_SH_GOTPLT10BY4
|
1380 |
|
|
@deffnx {} BFD_RELOC_SH_GOTPLT10BY8
|
1381 |
|
|
@deffnx {} BFD_RELOC_SH_GOTPLT32
|
1382 |
|
|
@deffnx {} BFD_RELOC_SH_SHMEDIA_CODE
|
1383 |
|
|
@deffnx {} BFD_RELOC_SH_IMMU5
|
1384 |
|
|
@deffnx {} BFD_RELOC_SH_IMMS6
|
1385 |
|
|
@deffnx {} BFD_RELOC_SH_IMMS6BY32
|
1386 |
|
|
@deffnx {} BFD_RELOC_SH_IMMU6
|
1387 |
|
|
@deffnx {} BFD_RELOC_SH_IMMS10
|
1388 |
|
|
@deffnx {} BFD_RELOC_SH_IMMS10BY2
|
1389 |
|
|
@deffnx {} BFD_RELOC_SH_IMMS10BY4
|
1390 |
|
|
@deffnx {} BFD_RELOC_SH_IMMS10BY8
|
1391 |
|
|
@deffnx {} BFD_RELOC_SH_IMMS16
|
1392 |
|
|
@deffnx {} BFD_RELOC_SH_IMMU16
|
1393 |
|
|
@deffnx {} BFD_RELOC_SH_IMM_LOW16
|
1394 |
|
|
@deffnx {} BFD_RELOC_SH_IMM_LOW16_PCREL
|
1395 |
|
|
@deffnx {} BFD_RELOC_SH_IMM_MEDLOW16
|
1396 |
|
|
@deffnx {} BFD_RELOC_SH_IMM_MEDLOW16_PCREL
|
1397 |
|
|
@deffnx {} BFD_RELOC_SH_IMM_MEDHI16
|
1398 |
|
|
@deffnx {} BFD_RELOC_SH_IMM_MEDHI16_PCREL
|
1399 |
|
|
@deffnx {} BFD_RELOC_SH_IMM_HI16
|
1400 |
|
|
@deffnx {} BFD_RELOC_SH_IMM_HI16_PCREL
|
1401 |
|
|
@deffnx {} BFD_RELOC_SH_PT_16
|
1402 |
|
|
@deffnx {} BFD_RELOC_SH_TLS_GD_32
|
1403 |
|
|
@deffnx {} BFD_RELOC_SH_TLS_LD_32
|
1404 |
|
|
@deffnx {} BFD_RELOC_SH_TLS_LDO_32
|
1405 |
|
|
@deffnx {} BFD_RELOC_SH_TLS_IE_32
|
1406 |
|
|
@deffnx {} BFD_RELOC_SH_TLS_LE_32
|
1407 |
|
|
@deffnx {} BFD_RELOC_SH_TLS_DTPMOD32
|
1408 |
|
|
@deffnx {} BFD_RELOC_SH_TLS_DTPOFF32
|
1409 |
|
|
@deffnx {} BFD_RELOC_SH_TLS_TPOFF32
|
1410 |
|
|
@deffnx {} BFD_RELOC_SH_GOT20
|
1411 |
|
|
@deffnx {} BFD_RELOC_SH_GOTOFF20
|
1412 |
|
|
@deffnx {} BFD_RELOC_SH_GOTFUNCDESC
|
1413 |
|
|
@deffnx {} BFD_RELOC_SH_GOTFUNCDESC20
|
1414 |
|
|
@deffnx {} BFD_RELOC_SH_GOTOFFFUNCDESC
|
1415 |
|
|
@deffnx {} BFD_RELOC_SH_GOTOFFFUNCDESC20
|
1416 |
|
|
@deffnx {} BFD_RELOC_SH_FUNCDESC
|
1417 |
|
|
Renesas / SuperH SH relocs. Not all of these appear in object files.
|
1418 |
|
|
@end deffn
|
1419 |
|
|
@deffn {} BFD_RELOC_ARC_B22_PCREL
|
1420 |
|
|
ARC Cores relocs.
|
1421 |
|
|
ARC 22 bit pc-relative branch. The lowest two bits must be zero and are
|
1422 |
|
|
not stored in the instruction. The high 20 bits are installed in bits 26
|
1423 |
|
|
through 7 of the instruction.
|
1424 |
|
|
@end deffn
|
1425 |
|
|
@deffn {} BFD_RELOC_ARC_B26
|
1426 |
|
|
ARC 26 bit absolute branch. The lowest two bits must be zero and are not
|
1427 |
|
|
stored in the instruction. The high 24 bits are installed in bits 23
|
1428 |
|
|
through 0.
|
1429 |
|
|
@end deffn
|
1430 |
|
|
@deffn {} BFD_RELOC_BFIN_16_IMM
|
1431 |
|
|
ADI Blackfin 16 bit immediate absolute reloc.
|
1432 |
|
|
@end deffn
|
1433 |
|
|
@deffn {} BFD_RELOC_BFIN_16_HIGH
|
1434 |
|
|
ADI Blackfin 16 bit immediate absolute reloc higher 16 bits.
|
1435 |
|
|
@end deffn
|
1436 |
|
|
@deffn {} BFD_RELOC_BFIN_4_PCREL
|
1437 |
|
|
ADI Blackfin 'a' part of LSETUP.
|
1438 |
|
|
@end deffn
|
1439 |
|
|
@deffn {} BFD_RELOC_BFIN_5_PCREL
|
1440 |
|
|
ADI Blackfin.
|
1441 |
|
|
@end deffn
|
1442 |
|
|
@deffn {} BFD_RELOC_BFIN_16_LOW
|
1443 |
|
|
ADI Blackfin 16 bit immediate absolute reloc lower 16 bits.
|
1444 |
|
|
@end deffn
|
1445 |
|
|
@deffn {} BFD_RELOC_BFIN_10_PCREL
|
1446 |
|
|
ADI Blackfin.
|
1447 |
|
|
@end deffn
|
1448 |
|
|
@deffn {} BFD_RELOC_BFIN_11_PCREL
|
1449 |
|
|
ADI Blackfin 'b' part of LSETUP.
|
1450 |
|
|
@end deffn
|
1451 |
|
|
@deffn {} BFD_RELOC_BFIN_12_PCREL_JUMP
|
1452 |
|
|
ADI Blackfin.
|
1453 |
|
|
@end deffn
|
1454 |
|
|
@deffn {} BFD_RELOC_BFIN_12_PCREL_JUMP_S
|
1455 |
|
|
ADI Blackfin Short jump, pcrel.
|
1456 |
|
|
@end deffn
|
1457 |
|
|
@deffn {} BFD_RELOC_BFIN_24_PCREL_CALL_X
|
1458 |
|
|
ADI Blackfin Call.x not implemented.
|
1459 |
|
|
@end deffn
|
1460 |
|
|
@deffn {} BFD_RELOC_BFIN_24_PCREL_JUMP_L
|
1461 |
|
|
ADI Blackfin Long Jump pcrel.
|
1462 |
|
|
@end deffn
|
1463 |
|
|
@deffn {} BFD_RELOC_BFIN_GOT17M4
|
1464 |
|
|
@deffnx {} BFD_RELOC_BFIN_GOTHI
|
1465 |
|
|
@deffnx {} BFD_RELOC_BFIN_GOTLO
|
1466 |
|
|
@deffnx {} BFD_RELOC_BFIN_FUNCDESC
|
1467 |
|
|
@deffnx {} BFD_RELOC_BFIN_FUNCDESC_GOT17M4
|
1468 |
|
|
@deffnx {} BFD_RELOC_BFIN_FUNCDESC_GOTHI
|
1469 |
|
|
@deffnx {} BFD_RELOC_BFIN_FUNCDESC_GOTLO
|
1470 |
|
|
@deffnx {} BFD_RELOC_BFIN_FUNCDESC_VALUE
|
1471 |
|
|
@deffnx {} BFD_RELOC_BFIN_FUNCDESC_GOTOFF17M4
|
1472 |
|
|
@deffnx {} BFD_RELOC_BFIN_FUNCDESC_GOTOFFHI
|
1473 |
|
|
@deffnx {} BFD_RELOC_BFIN_FUNCDESC_GOTOFFLO
|
1474 |
|
|
@deffnx {} BFD_RELOC_BFIN_GOTOFF17M4
|
1475 |
|
|
@deffnx {} BFD_RELOC_BFIN_GOTOFFHI
|
1476 |
|
|
@deffnx {} BFD_RELOC_BFIN_GOTOFFLO
|
1477 |
|
|
ADI Blackfin FD-PIC relocations.
|
1478 |
|
|
@end deffn
|
1479 |
|
|
@deffn {} BFD_RELOC_BFIN_GOT
|
1480 |
|
|
ADI Blackfin GOT relocation.
|
1481 |
|
|
@end deffn
|
1482 |
|
|
@deffn {} BFD_RELOC_BFIN_PLTPC
|
1483 |
|
|
ADI Blackfin PLTPC relocation.
|
1484 |
|
|
@end deffn
|
1485 |
|
|
@deffn {} BFD_ARELOC_BFIN_PUSH
|
1486 |
|
|
ADI Blackfin arithmetic relocation.
|
1487 |
|
|
@end deffn
|
1488 |
|
|
@deffn {} BFD_ARELOC_BFIN_CONST
|
1489 |
|
|
ADI Blackfin arithmetic relocation.
|
1490 |
|
|
@end deffn
|
1491 |
|
|
@deffn {} BFD_ARELOC_BFIN_ADD
|
1492 |
|
|
ADI Blackfin arithmetic relocation.
|
1493 |
|
|
@end deffn
|
1494 |
|
|
@deffn {} BFD_ARELOC_BFIN_SUB
|
1495 |
|
|
ADI Blackfin arithmetic relocation.
|
1496 |
|
|
@end deffn
|
1497 |
|
|
@deffn {} BFD_ARELOC_BFIN_MULT
|
1498 |
|
|
ADI Blackfin arithmetic relocation.
|
1499 |
|
|
@end deffn
|
1500 |
|
|
@deffn {} BFD_ARELOC_BFIN_DIV
|
1501 |
|
|
ADI Blackfin arithmetic relocation.
|
1502 |
|
|
@end deffn
|
1503 |
|
|
@deffn {} BFD_ARELOC_BFIN_MOD
|
1504 |
|
|
ADI Blackfin arithmetic relocation.
|
1505 |
|
|
@end deffn
|
1506 |
|
|
@deffn {} BFD_ARELOC_BFIN_LSHIFT
|
1507 |
|
|
ADI Blackfin arithmetic relocation.
|
1508 |
|
|
@end deffn
|
1509 |
|
|
@deffn {} BFD_ARELOC_BFIN_RSHIFT
|
1510 |
|
|
ADI Blackfin arithmetic relocation.
|
1511 |
|
|
@end deffn
|
1512 |
|
|
@deffn {} BFD_ARELOC_BFIN_AND
|
1513 |
|
|
ADI Blackfin arithmetic relocation.
|
1514 |
|
|
@end deffn
|
1515 |
|
|
@deffn {} BFD_ARELOC_BFIN_OR
|
1516 |
|
|
ADI Blackfin arithmetic relocation.
|
1517 |
|
|
@end deffn
|
1518 |
|
|
@deffn {} BFD_ARELOC_BFIN_XOR
|
1519 |
|
|
ADI Blackfin arithmetic relocation.
|
1520 |
|
|
@end deffn
|
1521 |
|
|
@deffn {} BFD_ARELOC_BFIN_LAND
|
1522 |
|
|
ADI Blackfin arithmetic relocation.
|
1523 |
|
|
@end deffn
|
1524 |
|
|
@deffn {} BFD_ARELOC_BFIN_LOR
|
1525 |
|
|
ADI Blackfin arithmetic relocation.
|
1526 |
|
|
@end deffn
|
1527 |
|
|
@deffn {} BFD_ARELOC_BFIN_LEN
|
1528 |
|
|
ADI Blackfin arithmetic relocation.
|
1529 |
|
|
@end deffn
|
1530 |
|
|
@deffn {} BFD_ARELOC_BFIN_NEG
|
1531 |
|
|
ADI Blackfin arithmetic relocation.
|
1532 |
|
|
@end deffn
|
1533 |
|
|
@deffn {} BFD_ARELOC_BFIN_COMP
|
1534 |
|
|
ADI Blackfin arithmetic relocation.
|
1535 |
|
|
@end deffn
|
1536 |
|
|
@deffn {} BFD_ARELOC_BFIN_PAGE
|
1537 |
|
|
ADI Blackfin arithmetic relocation.
|
1538 |
|
|
@end deffn
|
1539 |
|
|
@deffn {} BFD_ARELOC_BFIN_HWPAGE
|
1540 |
|
|
ADI Blackfin arithmetic relocation.
|
1541 |
|
|
@end deffn
|
1542 |
|
|
@deffn {} BFD_ARELOC_BFIN_ADDR
|
1543 |
|
|
ADI Blackfin arithmetic relocation.
|
1544 |
|
|
@end deffn
|
1545 |
|
|
@deffn {} BFD_RELOC_D10V_10_PCREL_R
|
1546 |
|
|
Mitsubishi D10V relocs.
|
1547 |
|
|
This is a 10-bit reloc with the right 2 bits
|
1548 |
|
|
assumed to be 0.
|
1549 |
|
|
@end deffn
|
1550 |
|
|
@deffn {} BFD_RELOC_D10V_10_PCREL_L
|
1551 |
|
|
Mitsubishi D10V relocs.
|
1552 |
|
|
This is a 10-bit reloc with the right 2 bits
|
1553 |
|
|
assumed to be 0. This is the same as the previous reloc
|
1554 |
|
|
except it is in the left container, i.e.,
|
1555 |
|
|
shifted left 15 bits.
|
1556 |
|
|
@end deffn
|
1557 |
|
|
@deffn {} BFD_RELOC_D10V_18
|
1558 |
|
|
This is an 18-bit reloc with the right 2 bits
|
1559 |
|
|
assumed to be 0.
|
1560 |
|
|
@end deffn
|
1561 |
|
|
@deffn {} BFD_RELOC_D10V_18_PCREL
|
1562 |
|
|
This is an 18-bit reloc with the right 2 bits
|
1563 |
|
|
assumed to be 0.
|
1564 |
|
|
@end deffn
|
1565 |
|
|
@deffn {} BFD_RELOC_D30V_6
|
1566 |
|
|
Mitsubishi D30V relocs.
|
1567 |
|
|
This is a 6-bit absolute reloc.
|
1568 |
|
|
@end deffn
|
1569 |
|
|
@deffn {} BFD_RELOC_D30V_9_PCREL
|
1570 |
|
|
This is a 6-bit pc-relative reloc with
|
1571 |
|
|
the right 3 bits assumed to be 0.
|
1572 |
|
|
@end deffn
|
1573 |
|
|
@deffn {} BFD_RELOC_D30V_9_PCREL_R
|
1574 |
|
|
This is a 6-bit pc-relative reloc with
|
1575 |
|
|
the right 3 bits assumed to be 0. Same
|
1576 |
|
|
as the previous reloc but on the right side
|
1577 |
|
|
of the container.
|
1578 |
|
|
@end deffn
|
1579 |
|
|
@deffn {} BFD_RELOC_D30V_15
|
1580 |
|
|
This is a 12-bit absolute reloc with the
|
1581 |
|
|
right 3 bitsassumed to be 0.
|
1582 |
|
|
@end deffn
|
1583 |
|
|
@deffn {} BFD_RELOC_D30V_15_PCREL
|
1584 |
|
|
This is a 12-bit pc-relative reloc with
|
1585 |
|
|
the right 3 bits assumed to be 0.
|
1586 |
|
|
@end deffn
|
1587 |
|
|
@deffn {} BFD_RELOC_D30V_15_PCREL_R
|
1588 |
|
|
This is a 12-bit pc-relative reloc with
|
1589 |
|
|
the right 3 bits assumed to be 0. Same
|
1590 |
|
|
as the previous reloc but on the right side
|
1591 |
|
|
of the container.
|
1592 |
|
|
@end deffn
|
1593 |
|
|
@deffn {} BFD_RELOC_D30V_21
|
1594 |
|
|
This is an 18-bit absolute reloc with
|
1595 |
|
|
the right 3 bits assumed to be 0.
|
1596 |
|
|
@end deffn
|
1597 |
|
|
@deffn {} BFD_RELOC_D30V_21_PCREL
|
1598 |
|
|
This is an 18-bit pc-relative reloc with
|
1599 |
|
|
the right 3 bits assumed to be 0.
|
1600 |
|
|
@end deffn
|
1601 |
|
|
@deffn {} BFD_RELOC_D30V_21_PCREL_R
|
1602 |
|
|
This is an 18-bit pc-relative reloc with
|
1603 |
|
|
the right 3 bits assumed to be 0. Same
|
1604 |
|
|
as the previous reloc but on the right side
|
1605 |
|
|
of the container.
|
1606 |
|
|
@end deffn
|
1607 |
|
|
@deffn {} BFD_RELOC_D30V_32
|
1608 |
|
|
This is a 32-bit absolute reloc.
|
1609 |
|
|
@end deffn
|
1610 |
|
|
@deffn {} BFD_RELOC_D30V_32_PCREL
|
1611 |
|
|
This is a 32-bit pc-relative reloc.
|
1612 |
|
|
@end deffn
|
1613 |
|
|
@deffn {} BFD_RELOC_DLX_HI16_S
|
1614 |
|
|
DLX relocs
|
1615 |
|
|
@end deffn
|
1616 |
|
|
@deffn {} BFD_RELOC_DLX_LO16
|
1617 |
|
|
DLX relocs
|
1618 |
|
|
@end deffn
|
1619 |
|
|
@deffn {} BFD_RELOC_DLX_JMP26
|
1620 |
|
|
DLX relocs
|
1621 |
|
|
@end deffn
|
1622 |
|
|
@deffn {} BFD_RELOC_M32C_HI8
|
1623 |
|
|
@deffnx {} BFD_RELOC_M32C_RL_JUMP
|
1624 |
|
|
@deffnx {} BFD_RELOC_M32C_RL_1ADDR
|
1625 |
|
|
@deffnx {} BFD_RELOC_M32C_RL_2ADDR
|
1626 |
|
|
Renesas M16C/M32C Relocations.
|
1627 |
|
|
@end deffn
|
1628 |
|
|
@deffn {} BFD_RELOC_M32R_24
|
1629 |
|
|
Renesas M32R (formerly Mitsubishi M32R) relocs.
|
1630 |
|
|
This is a 24 bit absolute address.
|
1631 |
|
|
@end deffn
|
1632 |
|
|
@deffn {} BFD_RELOC_M32R_10_PCREL
|
1633 |
|
|
This is a 10-bit pc-relative reloc with the right 2 bits assumed to be 0.
|
1634 |
|
|
@end deffn
|
1635 |
|
|
@deffn {} BFD_RELOC_M32R_18_PCREL
|
1636 |
|
|
This is an 18-bit reloc with the right 2 bits assumed to be 0.
|
1637 |
|
|
@end deffn
|
1638 |
|
|
@deffn {} BFD_RELOC_M32R_26_PCREL
|
1639 |
|
|
This is a 26-bit reloc with the right 2 bits assumed to be 0.
|
1640 |
|
|
@end deffn
|
1641 |
|
|
@deffn {} BFD_RELOC_M32R_HI16_ULO
|
1642 |
|
|
This is a 16-bit reloc containing the high 16 bits of an address
|
1643 |
|
|
used when the lower 16 bits are treated as unsigned.
|
1644 |
|
|
@end deffn
|
1645 |
|
|
@deffn {} BFD_RELOC_M32R_HI16_SLO
|
1646 |
|
|
This is a 16-bit reloc containing the high 16 bits of an address
|
1647 |
|
|
used when the lower 16 bits are treated as signed.
|
1648 |
|
|
@end deffn
|
1649 |
|
|
@deffn {} BFD_RELOC_M32R_LO16
|
1650 |
|
|
This is a 16-bit reloc containing the lower 16 bits of an address.
|
1651 |
|
|
@end deffn
|
1652 |
|
|
@deffn {} BFD_RELOC_M32R_SDA16
|
1653 |
|
|
This is a 16-bit reloc containing the small data area offset for use in
|
1654 |
|
|
add3, load, and store instructions.
|
1655 |
|
|
@end deffn
|
1656 |
|
|
@deffn {} BFD_RELOC_M32R_GOT24
|
1657 |
|
|
@deffnx {} BFD_RELOC_M32R_26_PLTREL
|
1658 |
|
|
@deffnx {} BFD_RELOC_M32R_COPY
|
1659 |
|
|
@deffnx {} BFD_RELOC_M32R_GLOB_DAT
|
1660 |
|
|
@deffnx {} BFD_RELOC_M32R_JMP_SLOT
|
1661 |
|
|
@deffnx {} BFD_RELOC_M32R_RELATIVE
|
1662 |
|
|
@deffnx {} BFD_RELOC_M32R_GOTOFF
|
1663 |
|
|
@deffnx {} BFD_RELOC_M32R_GOTOFF_HI_ULO
|
1664 |
|
|
@deffnx {} BFD_RELOC_M32R_GOTOFF_HI_SLO
|
1665 |
|
|
@deffnx {} BFD_RELOC_M32R_GOTOFF_LO
|
1666 |
|
|
@deffnx {} BFD_RELOC_M32R_GOTPC24
|
1667 |
|
|
@deffnx {} BFD_RELOC_M32R_GOT16_HI_ULO
|
1668 |
|
|
@deffnx {} BFD_RELOC_M32R_GOT16_HI_SLO
|
1669 |
|
|
@deffnx {} BFD_RELOC_M32R_GOT16_LO
|
1670 |
|
|
@deffnx {} BFD_RELOC_M32R_GOTPC_HI_ULO
|
1671 |
|
|
@deffnx {} BFD_RELOC_M32R_GOTPC_HI_SLO
|
1672 |
|
|
@deffnx {} BFD_RELOC_M32R_GOTPC_LO
|
1673 |
|
|
For PIC.
|
1674 |
|
|
@end deffn
|
1675 |
|
|
@deffn {} BFD_RELOC_V850_9_PCREL
|
1676 |
|
|
This is a 9-bit reloc
|
1677 |
|
|
@end deffn
|
1678 |
|
|
@deffn {} BFD_RELOC_V850_22_PCREL
|
1679 |
|
|
This is a 22-bit reloc
|
1680 |
|
|
@end deffn
|
1681 |
|
|
@deffn {} BFD_RELOC_V850_SDA_16_16_OFFSET
|
1682 |
|
|
This is a 16 bit offset from the short data area pointer.
|
1683 |
|
|
@end deffn
|
1684 |
|
|
@deffn {} BFD_RELOC_V850_SDA_15_16_OFFSET
|
1685 |
|
|
This is a 16 bit offset (of which only 15 bits are used) from the
|
1686 |
|
|
short data area pointer.
|
1687 |
|
|
@end deffn
|
1688 |
|
|
@deffn {} BFD_RELOC_V850_ZDA_16_16_OFFSET
|
1689 |
|
|
This is a 16 bit offset from the zero data area pointer.
|
1690 |
|
|
@end deffn
|
1691 |
|
|
@deffn {} BFD_RELOC_V850_ZDA_15_16_OFFSET
|
1692 |
|
|
This is a 16 bit offset (of which only 15 bits are used) from the
|
1693 |
|
|
zero data area pointer.
|
1694 |
|
|
@end deffn
|
1695 |
|
|
@deffn {} BFD_RELOC_V850_TDA_6_8_OFFSET
|
1696 |
|
|
This is an 8 bit offset (of which only 6 bits are used) from the
|
1697 |
|
|
tiny data area pointer.
|
1698 |
|
|
@end deffn
|
1699 |
|
|
@deffn {} BFD_RELOC_V850_TDA_7_8_OFFSET
|
1700 |
|
|
This is an 8bit offset (of which only 7 bits are used) from the tiny
|
1701 |
|
|
data area pointer.
|
1702 |
|
|
@end deffn
|
1703 |
|
|
@deffn {} BFD_RELOC_V850_TDA_7_7_OFFSET
|
1704 |
|
|
This is a 7 bit offset from the tiny data area pointer.
|
1705 |
|
|
@end deffn
|
1706 |
|
|
@deffn {} BFD_RELOC_V850_TDA_16_16_OFFSET
|
1707 |
|
|
This is a 16 bit offset from the tiny data area pointer.
|
1708 |
|
|
@end deffn
|
1709 |
|
|
@deffn {} BFD_RELOC_V850_TDA_4_5_OFFSET
|
1710 |
|
|
This is a 5 bit offset (of which only 4 bits are used) from the tiny
|
1711 |
|
|
data area pointer.
|
1712 |
|
|
@end deffn
|
1713 |
|
|
@deffn {} BFD_RELOC_V850_TDA_4_4_OFFSET
|
1714 |
|
|
This is a 4 bit offset from the tiny data area pointer.
|
1715 |
|
|
@end deffn
|
1716 |
|
|
@deffn {} BFD_RELOC_V850_SDA_16_16_SPLIT_OFFSET
|
1717 |
|
|
This is a 16 bit offset from the short data area pointer, with the
|
1718 |
|
|
bits placed non-contiguously in the instruction.
|
1719 |
|
|
@end deffn
|
1720 |
|
|
@deffn {} BFD_RELOC_V850_ZDA_16_16_SPLIT_OFFSET
|
1721 |
|
|
This is a 16 bit offset from the zero data area pointer, with the
|
1722 |
|
|
bits placed non-contiguously in the instruction.
|
1723 |
|
|
@end deffn
|
1724 |
|
|
@deffn {} BFD_RELOC_V850_CALLT_6_7_OFFSET
|
1725 |
|
|
This is a 6 bit offset from the call table base pointer.
|
1726 |
|
|
@end deffn
|
1727 |
|
|
@deffn {} BFD_RELOC_V850_CALLT_16_16_OFFSET
|
1728 |
|
|
This is a 16 bit offset from the call table base pointer.
|
1729 |
|
|
@end deffn
|
1730 |
|
|
@deffn {} BFD_RELOC_V850_LONGCALL
|
1731 |
|
|
Used for relaxing indirect function calls.
|
1732 |
|
|
@end deffn
|
1733 |
|
|
@deffn {} BFD_RELOC_V850_LONGJUMP
|
1734 |
|
|
Used for relaxing indirect jumps.
|
1735 |
|
|
@end deffn
|
1736 |
|
|
@deffn {} BFD_RELOC_V850_ALIGN
|
1737 |
|
|
Used to maintain alignment whilst relaxing.
|
1738 |
|
|
@end deffn
|
1739 |
|
|
@deffn {} BFD_RELOC_V850_LO16_SPLIT_OFFSET
|
1740 |
|
|
This is a variation of BFD_RELOC_LO16 that can be used in v850e ld.bu
|
1741 |
|
|
instructions.
|
1742 |
|
|
@end deffn
|
1743 |
|
|
@deffn {} BFD_RELOC_MN10300_32_PCREL
|
1744 |
|
|
This is a 32bit pcrel reloc for the mn10300, offset by two bytes in the
|
1745 |
|
|
instruction.
|
1746 |
|
|
@end deffn
|
1747 |
|
|
@deffn {} BFD_RELOC_MN10300_16_PCREL
|
1748 |
|
|
This is a 16bit pcrel reloc for the mn10300, offset by two bytes in the
|
1749 |
|
|
instruction.
|
1750 |
|
|
@end deffn
|
1751 |
|
|
@deffn {} BFD_RELOC_TIC30_LDP
|
1752 |
|
|
This is a 8bit DP reloc for the tms320c30, where the most
|
1753 |
|
|
significant 8 bits of a 24 bit word are placed into the least
|
1754 |
|
|
significant 8 bits of the opcode.
|
1755 |
|
|
@end deffn
|
1756 |
|
|
@deffn {} BFD_RELOC_TIC54X_PARTLS7
|
1757 |
|
|
This is a 7bit reloc for the tms320c54x, where the least
|
1758 |
|
|
significant 7 bits of a 16 bit word are placed into the least
|
1759 |
|
|
significant 7 bits of the opcode.
|
1760 |
|
|
@end deffn
|
1761 |
|
|
@deffn {} BFD_RELOC_TIC54X_PARTMS9
|
1762 |
|
|
This is a 9bit DP reloc for the tms320c54x, where the most
|
1763 |
|
|
significant 9 bits of a 16 bit word are placed into the least
|
1764 |
|
|
significant 9 bits of the opcode.
|
1765 |
|
|
@end deffn
|
1766 |
|
|
@deffn {} BFD_RELOC_TIC54X_23
|
1767 |
|
|
This is an extended address 23-bit reloc for the tms320c54x.
|
1768 |
|
|
@end deffn
|
1769 |
|
|
@deffn {} BFD_RELOC_TIC54X_16_OF_23
|
1770 |
|
|
This is a 16-bit reloc for the tms320c54x, where the least
|
1771 |
|
|
significant 16 bits of a 23-bit extended address are placed into
|
1772 |
|
|
the opcode.
|
1773 |
|
|
@end deffn
|
1774 |
|
|
@deffn {} BFD_RELOC_TIC54X_MS7_OF_23
|
1775 |
|
|
This is a reloc for the tms320c54x, where the most
|
1776 |
|
|
significant 7 bits of a 23-bit extended address are placed into
|
1777 |
|
|
the opcode.
|
1778 |
|
|
@end deffn
|
1779 |
|
|
@deffn {} BFD_RELOC_C6000_PCR_S21
|
1780 |
|
|
@deffnx {} BFD_RELOC_C6000_PCR_S12
|
1781 |
|
|
@deffnx {} BFD_RELOC_C6000_PCR_S10
|
1782 |
|
|
@deffnx {} BFD_RELOC_C6000_PCR_S7
|
1783 |
|
|
@deffnx {} BFD_RELOC_C6000_ABS_S16
|
1784 |
|
|
@deffnx {} BFD_RELOC_C6000_ABS_L16
|
1785 |
|
|
@deffnx {} BFD_RELOC_C6000_ABS_H16
|
1786 |
|
|
@deffnx {} BFD_RELOC_C6000_SBR_U15_B
|
1787 |
|
|
@deffnx {} BFD_RELOC_C6000_SBR_U15_H
|
1788 |
|
|
@deffnx {} BFD_RELOC_C6000_SBR_U15_W
|
1789 |
|
|
@deffnx {} BFD_RELOC_C6000_SBR_S16
|
1790 |
|
|
@deffnx {} BFD_RELOC_C6000_SBR_L16_B
|
1791 |
|
|
@deffnx {} BFD_RELOC_C6000_SBR_L16_H
|
1792 |
|
|
@deffnx {} BFD_RELOC_C6000_SBR_L16_W
|
1793 |
|
|
@deffnx {} BFD_RELOC_C6000_SBR_H16_B
|
1794 |
|
|
@deffnx {} BFD_RELOC_C6000_SBR_H16_H
|
1795 |
|
|
@deffnx {} BFD_RELOC_C6000_SBR_H16_W
|
1796 |
|
|
@deffnx {} BFD_RELOC_C6000_SBR_GOT_U15_W
|
1797 |
|
|
@deffnx {} BFD_RELOC_C6000_SBR_GOT_L16_W
|
1798 |
|
|
@deffnx {} BFD_RELOC_C6000_SBR_GOT_H16_W
|
1799 |
|
|
@deffnx {} BFD_RELOC_C6000_DSBT_INDEX
|
1800 |
|
|
@deffnx {} BFD_RELOC_C6000_PREL31
|
1801 |
|
|
@deffnx {} BFD_RELOC_C6000_COPY
|
1802 |
|
|
@deffnx {} BFD_RELOC_C6000_ALIGN
|
1803 |
|
|
@deffnx {} BFD_RELOC_C6000_FPHEAD
|
1804 |
|
|
@deffnx {} BFD_RELOC_C6000_NOCMP
|
1805 |
|
|
TMS320C6000 relocations.
|
1806 |
|
|
@end deffn
|
1807 |
|
|
@deffn {} BFD_RELOC_FR30_48
|
1808 |
|
|
This is a 48 bit reloc for the FR30 that stores 32 bits.
|
1809 |
|
|
@end deffn
|
1810 |
|
|
@deffn {} BFD_RELOC_FR30_20
|
1811 |
|
|
This is a 32 bit reloc for the FR30 that stores 20 bits split up into
|
1812 |
|
|
two sections.
|
1813 |
|
|
@end deffn
|
1814 |
|
|
@deffn {} BFD_RELOC_FR30_6_IN_4
|
1815 |
|
|
This is a 16 bit reloc for the FR30 that stores a 6 bit word offset in
|
1816 |
|
|
4 bits.
|
1817 |
|
|
@end deffn
|
1818 |
|
|
@deffn {} BFD_RELOC_FR30_8_IN_8
|
1819 |
|
|
This is a 16 bit reloc for the FR30 that stores an 8 bit byte offset
|
1820 |
|
|
into 8 bits.
|
1821 |
|
|
@end deffn
|
1822 |
|
|
@deffn {} BFD_RELOC_FR30_9_IN_8
|
1823 |
|
|
This is a 16 bit reloc for the FR30 that stores a 9 bit short offset
|
1824 |
|
|
into 8 bits.
|
1825 |
|
|
@end deffn
|
1826 |
|
|
@deffn {} BFD_RELOC_FR30_10_IN_8
|
1827 |
|
|
This is a 16 bit reloc for the FR30 that stores a 10 bit word offset
|
1828 |
|
|
into 8 bits.
|
1829 |
|
|
@end deffn
|
1830 |
|
|
@deffn {} BFD_RELOC_FR30_9_PCREL
|
1831 |
|
|
This is a 16 bit reloc for the FR30 that stores a 9 bit pc relative
|
1832 |
|
|
short offset into 8 bits.
|
1833 |
|
|
@end deffn
|
1834 |
|
|
@deffn {} BFD_RELOC_FR30_12_PCREL
|
1835 |
|
|
This is a 16 bit reloc for the FR30 that stores a 12 bit pc relative
|
1836 |
|
|
short offset into 11 bits.
|
1837 |
|
|
@end deffn
|
1838 |
|
|
@deffn {} BFD_RELOC_MCORE_PCREL_IMM8BY4
|
1839 |
|
|
@deffnx {} BFD_RELOC_MCORE_PCREL_IMM11BY2
|
1840 |
|
|
@deffnx {} BFD_RELOC_MCORE_PCREL_IMM4BY2
|
1841 |
|
|
@deffnx {} BFD_RELOC_MCORE_PCREL_32
|
1842 |
|
|
@deffnx {} BFD_RELOC_MCORE_PCREL_JSR_IMM11BY2
|
1843 |
|
|
@deffnx {} BFD_RELOC_MCORE_RVA
|
1844 |
|
|
Motorola Mcore relocations.
|
1845 |
|
|
@end deffn
|
1846 |
|
|
@deffn {} BFD_RELOC_MEP_8
|
1847 |
|
|
@deffnx {} BFD_RELOC_MEP_16
|
1848 |
|
|
@deffnx {} BFD_RELOC_MEP_32
|
1849 |
|
|
@deffnx {} BFD_RELOC_MEP_PCREL8A2
|
1850 |
|
|
@deffnx {} BFD_RELOC_MEP_PCREL12A2
|
1851 |
|
|
@deffnx {} BFD_RELOC_MEP_PCREL17A2
|
1852 |
|
|
@deffnx {} BFD_RELOC_MEP_PCREL24A2
|
1853 |
|
|
@deffnx {} BFD_RELOC_MEP_PCABS24A2
|
1854 |
|
|
@deffnx {} BFD_RELOC_MEP_LOW16
|
1855 |
|
|
@deffnx {} BFD_RELOC_MEP_HI16U
|
1856 |
|
|
@deffnx {} BFD_RELOC_MEP_HI16S
|
1857 |
|
|
@deffnx {} BFD_RELOC_MEP_GPREL
|
1858 |
|
|
@deffnx {} BFD_RELOC_MEP_TPREL
|
1859 |
|
|
@deffnx {} BFD_RELOC_MEP_TPREL7
|
1860 |
|
|
@deffnx {} BFD_RELOC_MEP_TPREL7A2
|
1861 |
|
|
@deffnx {} BFD_RELOC_MEP_TPREL7A4
|
1862 |
|
|
@deffnx {} BFD_RELOC_MEP_UIMM24
|
1863 |
|
|
@deffnx {} BFD_RELOC_MEP_ADDR24A4
|
1864 |
|
|
@deffnx {} BFD_RELOC_MEP_GNU_VTINHERIT
|
1865 |
|
|
@deffnx {} BFD_RELOC_MEP_GNU_VTENTRY
|
1866 |
|
|
Toshiba Media Processor Relocations.
|
1867 |
|
|
@end deffn
|
1868 |
|
|
@deffn {} BFD_RELOC_MMIX_GETA
|
1869 |
|
|
@deffnx {} BFD_RELOC_MMIX_GETA_1
|
1870 |
|
|
@deffnx {} BFD_RELOC_MMIX_GETA_2
|
1871 |
|
|
@deffnx {} BFD_RELOC_MMIX_GETA_3
|
1872 |
|
|
These are relocations for the GETA instruction.
|
1873 |
|
|
@end deffn
|
1874 |
|
|
@deffn {} BFD_RELOC_MMIX_CBRANCH
|
1875 |
|
|
@deffnx {} BFD_RELOC_MMIX_CBRANCH_J
|
1876 |
|
|
@deffnx {} BFD_RELOC_MMIX_CBRANCH_1
|
1877 |
|
|
@deffnx {} BFD_RELOC_MMIX_CBRANCH_2
|
1878 |
|
|
@deffnx {} BFD_RELOC_MMIX_CBRANCH_3
|
1879 |
|
|
These are relocations for a conditional branch instruction.
|
1880 |
|
|
@end deffn
|
1881 |
|
|
@deffn {} BFD_RELOC_MMIX_PUSHJ
|
1882 |
|
|
@deffnx {} BFD_RELOC_MMIX_PUSHJ_1
|
1883 |
|
|
@deffnx {} BFD_RELOC_MMIX_PUSHJ_2
|
1884 |
|
|
@deffnx {} BFD_RELOC_MMIX_PUSHJ_3
|
1885 |
|
|
@deffnx {} BFD_RELOC_MMIX_PUSHJ_STUBBABLE
|
1886 |
|
|
These are relocations for the PUSHJ instruction.
|
1887 |
|
|
@end deffn
|
1888 |
|
|
@deffn {} BFD_RELOC_MMIX_JMP
|
1889 |
|
|
@deffnx {} BFD_RELOC_MMIX_JMP_1
|
1890 |
|
|
@deffnx {} BFD_RELOC_MMIX_JMP_2
|
1891 |
|
|
@deffnx {} BFD_RELOC_MMIX_JMP_3
|
1892 |
|
|
These are relocations for the JMP instruction.
|
1893 |
|
|
@end deffn
|
1894 |
|
|
@deffn {} BFD_RELOC_MMIX_ADDR19
|
1895 |
|
|
This is a relocation for a relative address as in a GETA instruction or
|
1896 |
|
|
a branch.
|
1897 |
|
|
@end deffn
|
1898 |
|
|
@deffn {} BFD_RELOC_MMIX_ADDR27
|
1899 |
|
|
This is a relocation for a relative address as in a JMP instruction.
|
1900 |
|
|
@end deffn
|
1901 |
|
|
@deffn {} BFD_RELOC_MMIX_REG_OR_BYTE
|
1902 |
|
|
This is a relocation for an instruction field that may be a general
|
1903 |
|
|
register or a value 0..255.
|
1904 |
|
|
@end deffn
|
1905 |
|
|
@deffn {} BFD_RELOC_MMIX_REG
|
1906 |
|
|
This is a relocation for an instruction field that may be a general
|
1907 |
|
|
register.
|
1908 |
|
|
@end deffn
|
1909 |
|
|
@deffn {} BFD_RELOC_MMIX_BASE_PLUS_OFFSET
|
1910 |
|
|
This is a relocation for two instruction fields holding a register and
|
1911 |
|
|
an offset, the equivalent of the relocation.
|
1912 |
|
|
@end deffn
|
1913 |
|
|
@deffn {} BFD_RELOC_MMIX_LOCAL
|
1914 |
|
|
This relocation is an assertion that the expression is not allocated as
|
1915 |
|
|
a global register. It does not modify contents.
|
1916 |
|
|
@end deffn
|
1917 |
|
|
@deffn {} BFD_RELOC_AVR_7_PCREL
|
1918 |
|
|
This is a 16 bit reloc for the AVR that stores 8 bit pc relative
|
1919 |
|
|
short offset into 7 bits.
|
1920 |
|
|
@end deffn
|
1921 |
|
|
@deffn {} BFD_RELOC_AVR_13_PCREL
|
1922 |
|
|
This is a 16 bit reloc for the AVR that stores 13 bit pc relative
|
1923 |
|
|
short offset into 12 bits.
|
1924 |
|
|
@end deffn
|
1925 |
|
|
@deffn {} BFD_RELOC_AVR_16_PM
|
1926 |
|
|
This is a 16 bit reloc for the AVR that stores 17 bit value (usually
|
1927 |
|
|
program memory address) into 16 bits.
|
1928 |
|
|
@end deffn
|
1929 |
|
|
@deffn {} BFD_RELOC_AVR_LO8_LDI
|
1930 |
|
|
This is a 16 bit reloc for the AVR that stores 8 bit value (usually
|
1931 |
|
|
data memory address) into 8 bit immediate value of LDI insn.
|
1932 |
|
|
@end deffn
|
1933 |
|
|
@deffn {} BFD_RELOC_AVR_HI8_LDI
|
1934 |
|
|
This is a 16 bit reloc for the AVR that stores 8 bit value (high 8 bit
|
1935 |
|
|
of data memory address) into 8 bit immediate value of LDI insn.
|
1936 |
|
|
@end deffn
|
1937 |
|
|
@deffn {} BFD_RELOC_AVR_HH8_LDI
|
1938 |
|
|
This is a 16 bit reloc for the AVR that stores 8 bit value (most high 8 bit
|
1939 |
|
|
of program memory address) into 8 bit immediate value of LDI insn.
|
1940 |
|
|
@end deffn
|
1941 |
|
|
@deffn {} BFD_RELOC_AVR_MS8_LDI
|
1942 |
|
|
This is a 16 bit reloc for the AVR that stores 8 bit value (most high 8 bit
|
1943 |
|
|
of 32 bit value) into 8 bit immediate value of LDI insn.
|
1944 |
|
|
@end deffn
|
1945 |
|
|
@deffn {} BFD_RELOC_AVR_LO8_LDI_NEG
|
1946 |
|
|
This is a 16 bit reloc for the AVR that stores negated 8 bit value
|
1947 |
|
|
(usually data memory address) into 8 bit immediate value of SUBI insn.
|
1948 |
|
|
@end deffn
|
1949 |
|
|
@deffn {} BFD_RELOC_AVR_HI8_LDI_NEG
|
1950 |
|
|
This is a 16 bit reloc for the AVR that stores negated 8 bit value
|
1951 |
|
|
(high 8 bit of data memory address) into 8 bit immediate value of
|
1952 |
|
|
SUBI insn.
|
1953 |
|
|
@end deffn
|
1954 |
|
|
@deffn {} BFD_RELOC_AVR_HH8_LDI_NEG
|
1955 |
|
|
This is a 16 bit reloc for the AVR that stores negated 8 bit value
|
1956 |
|
|
(most high 8 bit of program memory address) into 8 bit immediate value
|
1957 |
|
|
of LDI or SUBI insn.
|
1958 |
|
|
@end deffn
|
1959 |
|
|
@deffn {} BFD_RELOC_AVR_MS8_LDI_NEG
|
1960 |
|
|
This is a 16 bit reloc for the AVR that stores negated 8 bit value (msb
|
1961 |
|
|
of 32 bit value) into 8 bit immediate value of LDI insn.
|
1962 |
|
|
@end deffn
|
1963 |
|
|
@deffn {} BFD_RELOC_AVR_LO8_LDI_PM
|
1964 |
|
|
This is a 16 bit reloc for the AVR that stores 8 bit value (usually
|
1965 |
|
|
command address) into 8 bit immediate value of LDI insn.
|
1966 |
|
|
@end deffn
|
1967 |
|
|
@deffn {} BFD_RELOC_AVR_LO8_LDI_GS
|
1968 |
|
|
This is a 16 bit reloc for the AVR that stores 8 bit value
|
1969 |
|
|
(command address) into 8 bit immediate value of LDI insn. If the address
|
1970 |
|
|
is beyond the 128k boundary, the linker inserts a jump stub for this reloc
|
1971 |
|
|
in the lower 128k.
|
1972 |
|
|
@end deffn
|
1973 |
|
|
@deffn {} BFD_RELOC_AVR_HI8_LDI_PM
|
1974 |
|
|
This is a 16 bit reloc for the AVR that stores 8 bit value (high 8 bit
|
1975 |
|
|
of command address) into 8 bit immediate value of LDI insn.
|
1976 |
|
|
@end deffn
|
1977 |
|
|
@deffn {} BFD_RELOC_AVR_HI8_LDI_GS
|
1978 |
|
|
This is a 16 bit reloc for the AVR that stores 8 bit value (high 8 bit
|
1979 |
|
|
of command address) into 8 bit immediate value of LDI insn. If the address
|
1980 |
|
|
is beyond the 128k boundary, the linker inserts a jump stub for this reloc
|
1981 |
|
|
below 128k.
|
1982 |
|
|
@end deffn
|
1983 |
|
|
@deffn {} BFD_RELOC_AVR_HH8_LDI_PM
|
1984 |
|
|
This is a 16 bit reloc for the AVR that stores 8 bit value (most high 8 bit
|
1985 |
|
|
of command address) into 8 bit immediate value of LDI insn.
|
1986 |
|
|
@end deffn
|
1987 |
|
|
@deffn {} BFD_RELOC_AVR_LO8_LDI_PM_NEG
|
1988 |
|
|
This is a 16 bit reloc for the AVR that stores negated 8 bit value
|
1989 |
|
|
(usually command address) into 8 bit immediate value of SUBI insn.
|
1990 |
|
|
@end deffn
|
1991 |
|
|
@deffn {} BFD_RELOC_AVR_HI8_LDI_PM_NEG
|
1992 |
|
|
This is a 16 bit reloc for the AVR that stores negated 8 bit value
|
1993 |
|
|
(high 8 bit of 16 bit command address) into 8 bit immediate value
|
1994 |
|
|
of SUBI insn.
|
1995 |
|
|
@end deffn
|
1996 |
|
|
@deffn {} BFD_RELOC_AVR_HH8_LDI_PM_NEG
|
1997 |
|
|
This is a 16 bit reloc for the AVR that stores negated 8 bit value
|
1998 |
|
|
(high 6 bit of 22 bit command address) into 8 bit immediate
|
1999 |
|
|
value of SUBI insn.
|
2000 |
|
|
@end deffn
|
2001 |
|
|
@deffn {} BFD_RELOC_AVR_CALL
|
2002 |
|
|
This is a 32 bit reloc for the AVR that stores 23 bit value
|
2003 |
|
|
into 22 bits.
|
2004 |
|
|
@end deffn
|
2005 |
|
|
@deffn {} BFD_RELOC_AVR_LDI
|
2006 |
|
|
This is a 16 bit reloc for the AVR that stores all needed bits
|
2007 |
|
|
for absolute addressing with ldi with overflow check to linktime
|
2008 |
|
|
@end deffn
|
2009 |
|
|
@deffn {} BFD_RELOC_AVR_6
|
2010 |
|
|
This is a 6 bit reloc for the AVR that stores offset for ldd/std
|
2011 |
|
|
instructions
|
2012 |
|
|
@end deffn
|
2013 |
|
|
@deffn {} BFD_RELOC_AVR_6_ADIW
|
2014 |
|
|
This is a 6 bit reloc for the AVR that stores offset for adiw/sbiw
|
2015 |
|
|
instructions
|
2016 |
|
|
@end deffn
|
2017 |
|
|
@deffn {} BFD_RELOC_RX_NEG8
|
2018 |
|
|
@deffnx {} BFD_RELOC_RX_NEG16
|
2019 |
|
|
@deffnx {} BFD_RELOC_RX_NEG24
|
2020 |
|
|
@deffnx {} BFD_RELOC_RX_NEG32
|
2021 |
|
|
@deffnx {} BFD_RELOC_RX_16_OP
|
2022 |
|
|
@deffnx {} BFD_RELOC_RX_24_OP
|
2023 |
|
|
@deffnx {} BFD_RELOC_RX_32_OP
|
2024 |
|
|
@deffnx {} BFD_RELOC_RX_8U
|
2025 |
|
|
@deffnx {} BFD_RELOC_RX_16U
|
2026 |
|
|
@deffnx {} BFD_RELOC_RX_24U
|
2027 |
|
|
@deffnx {} BFD_RELOC_RX_DIR3U_PCREL
|
2028 |
|
|
@deffnx {} BFD_RELOC_RX_DIFF
|
2029 |
|
|
@deffnx {} BFD_RELOC_RX_GPRELB
|
2030 |
|
|
@deffnx {} BFD_RELOC_RX_GPRELW
|
2031 |
|
|
@deffnx {} BFD_RELOC_RX_GPRELL
|
2032 |
|
|
@deffnx {} BFD_RELOC_RX_SYM
|
2033 |
|
|
@deffnx {} BFD_RELOC_RX_OP_SUBTRACT
|
2034 |
|
|
@deffnx {} BFD_RELOC_RX_ABS8
|
2035 |
|
|
@deffnx {} BFD_RELOC_RX_ABS16
|
2036 |
|
|
@deffnx {} BFD_RELOC_RX_ABS32
|
2037 |
|
|
@deffnx {} BFD_RELOC_RX_ABS16U
|
2038 |
|
|
@deffnx {} BFD_RELOC_RX_ABS16UW
|
2039 |
|
|
@deffnx {} BFD_RELOC_RX_ABS16UL
|
2040 |
|
|
@deffnx {} BFD_RELOC_RX_RELAX
|
2041 |
|
|
Renesas RX Relocations.
|
2042 |
|
|
@end deffn
|
2043 |
|
|
@deffn {} BFD_RELOC_390_12
|
2044 |
|
|
Direct 12 bit.
|
2045 |
|
|
@end deffn
|
2046 |
|
|
@deffn {} BFD_RELOC_390_GOT12
|
2047 |
|
|
12 bit GOT offset.
|
2048 |
|
|
@end deffn
|
2049 |
|
|
@deffn {} BFD_RELOC_390_PLT32
|
2050 |
|
|
32 bit PC relative PLT address.
|
2051 |
|
|
@end deffn
|
2052 |
|
|
@deffn {} BFD_RELOC_390_COPY
|
2053 |
|
|
Copy symbol at runtime.
|
2054 |
|
|
@end deffn
|
2055 |
|
|
@deffn {} BFD_RELOC_390_GLOB_DAT
|
2056 |
|
|
Create GOT entry.
|
2057 |
|
|
@end deffn
|
2058 |
|
|
@deffn {} BFD_RELOC_390_JMP_SLOT
|
2059 |
|
|
Create PLT entry.
|
2060 |
|
|
@end deffn
|
2061 |
|
|
@deffn {} BFD_RELOC_390_RELATIVE
|
2062 |
|
|
Adjust by program base.
|
2063 |
|
|
@end deffn
|
2064 |
|
|
@deffn {} BFD_RELOC_390_GOTPC
|
2065 |
|
|
32 bit PC relative offset to GOT.
|
2066 |
|
|
@end deffn
|
2067 |
|
|
@deffn {} BFD_RELOC_390_GOT16
|
2068 |
|
|
16 bit GOT offset.
|
2069 |
|
|
@end deffn
|
2070 |
|
|
@deffn {} BFD_RELOC_390_PC16DBL
|
2071 |
|
|
PC relative 16 bit shifted by 1.
|
2072 |
|
|
@end deffn
|
2073 |
|
|
@deffn {} BFD_RELOC_390_PLT16DBL
|
2074 |
|
|
16 bit PC rel. PLT shifted by 1.
|
2075 |
|
|
@end deffn
|
2076 |
|
|
@deffn {} BFD_RELOC_390_PC32DBL
|
2077 |
|
|
PC relative 32 bit shifted by 1.
|
2078 |
|
|
@end deffn
|
2079 |
|
|
@deffn {} BFD_RELOC_390_PLT32DBL
|
2080 |
|
|
32 bit PC rel. PLT shifted by 1.
|
2081 |
|
|
@end deffn
|
2082 |
|
|
@deffn {} BFD_RELOC_390_GOTPCDBL
|
2083 |
|
|
32 bit PC rel. GOT shifted by 1.
|
2084 |
|
|
@end deffn
|
2085 |
|
|
@deffn {} BFD_RELOC_390_GOT64
|
2086 |
|
|
64 bit GOT offset.
|
2087 |
|
|
@end deffn
|
2088 |
|
|
@deffn {} BFD_RELOC_390_PLT64
|
2089 |
|
|
64 bit PC relative PLT address.
|
2090 |
|
|
@end deffn
|
2091 |
|
|
@deffn {} BFD_RELOC_390_GOTENT
|
2092 |
|
|
32 bit rel. offset to GOT entry.
|
2093 |
|
|
@end deffn
|
2094 |
|
|
@deffn {} BFD_RELOC_390_GOTOFF64
|
2095 |
|
|
64 bit offset to GOT.
|
2096 |
|
|
@end deffn
|
2097 |
|
|
@deffn {} BFD_RELOC_390_GOTPLT12
|
2098 |
|
|
12-bit offset to symbol-entry within GOT, with PLT handling.
|
2099 |
|
|
@end deffn
|
2100 |
|
|
@deffn {} BFD_RELOC_390_GOTPLT16
|
2101 |
|
|
16-bit offset to symbol-entry within GOT, with PLT handling.
|
2102 |
|
|
@end deffn
|
2103 |
|
|
@deffn {} BFD_RELOC_390_GOTPLT32
|
2104 |
|
|
32-bit offset to symbol-entry within GOT, with PLT handling.
|
2105 |
|
|
@end deffn
|
2106 |
|
|
@deffn {} BFD_RELOC_390_GOTPLT64
|
2107 |
|
|
64-bit offset to symbol-entry within GOT, with PLT handling.
|
2108 |
|
|
@end deffn
|
2109 |
|
|
@deffn {} BFD_RELOC_390_GOTPLTENT
|
2110 |
|
|
32-bit rel. offset to symbol-entry within GOT, with PLT handling.
|
2111 |
|
|
@end deffn
|
2112 |
|
|
@deffn {} BFD_RELOC_390_PLTOFF16
|
2113 |
|
|
16-bit rel. offset from the GOT to a PLT entry.
|
2114 |
|
|
@end deffn
|
2115 |
|
|
@deffn {} BFD_RELOC_390_PLTOFF32
|
2116 |
|
|
32-bit rel. offset from the GOT to a PLT entry.
|
2117 |
|
|
@end deffn
|
2118 |
|
|
@deffn {} BFD_RELOC_390_PLTOFF64
|
2119 |
|
|
64-bit rel. offset from the GOT to a PLT entry.
|
2120 |
|
|
@end deffn
|
2121 |
|
|
@deffn {} BFD_RELOC_390_TLS_LOAD
|
2122 |
|
|
@deffnx {} BFD_RELOC_390_TLS_GDCALL
|
2123 |
|
|
@deffnx {} BFD_RELOC_390_TLS_LDCALL
|
2124 |
|
|
@deffnx {} BFD_RELOC_390_TLS_GD32
|
2125 |
|
|
@deffnx {} BFD_RELOC_390_TLS_GD64
|
2126 |
|
|
@deffnx {} BFD_RELOC_390_TLS_GOTIE12
|
2127 |
|
|
@deffnx {} BFD_RELOC_390_TLS_GOTIE32
|
2128 |
|
|
@deffnx {} BFD_RELOC_390_TLS_GOTIE64
|
2129 |
|
|
@deffnx {} BFD_RELOC_390_TLS_LDM32
|
2130 |
|
|
@deffnx {} BFD_RELOC_390_TLS_LDM64
|
2131 |
|
|
@deffnx {} BFD_RELOC_390_TLS_IE32
|
2132 |
|
|
@deffnx {} BFD_RELOC_390_TLS_IE64
|
2133 |
|
|
@deffnx {} BFD_RELOC_390_TLS_IEENT
|
2134 |
|
|
@deffnx {} BFD_RELOC_390_TLS_LE32
|
2135 |
|
|
@deffnx {} BFD_RELOC_390_TLS_LE64
|
2136 |
|
|
@deffnx {} BFD_RELOC_390_TLS_LDO32
|
2137 |
|
|
@deffnx {} BFD_RELOC_390_TLS_LDO64
|
2138 |
|
|
@deffnx {} BFD_RELOC_390_TLS_DTPMOD
|
2139 |
|
|
@deffnx {} BFD_RELOC_390_TLS_DTPOFF
|
2140 |
|
|
@deffnx {} BFD_RELOC_390_TLS_TPOFF
|
2141 |
|
|
s390 tls relocations.
|
2142 |
|
|
@end deffn
|
2143 |
|
|
@deffn {} BFD_RELOC_390_20
|
2144 |
|
|
@deffnx {} BFD_RELOC_390_GOT20
|
2145 |
|
|
@deffnx {} BFD_RELOC_390_GOTPLT20
|
2146 |
|
|
@deffnx {} BFD_RELOC_390_TLS_GOTIE20
|
2147 |
|
|
Long displacement extension.
|
2148 |
|
|
@end deffn
|
2149 |
|
|
@deffn {} BFD_RELOC_SCORE_GPREL15
|
2150 |
|
|
Score relocations
|
2151 |
|
|
Low 16 bit for load/store
|
2152 |
|
|
@end deffn
|
2153 |
|
|
@deffn {} BFD_RELOC_SCORE_DUMMY2
|
2154 |
|
|
@deffnx {} BFD_RELOC_SCORE_JMP
|
2155 |
|
|
This is a 24-bit reloc with the right 1 bit assumed to be 0
|
2156 |
|
|
@end deffn
|
2157 |
|
|
@deffn {} BFD_RELOC_SCORE_BRANCH
|
2158 |
|
|
This is a 19-bit reloc with the right 1 bit assumed to be 0
|
2159 |
|
|
@end deffn
|
2160 |
|
|
@deffn {} BFD_RELOC_SCORE_IMM30
|
2161 |
|
|
This is a 32-bit reloc for 48-bit instructions.
|
2162 |
|
|
@end deffn
|
2163 |
|
|
@deffn {} BFD_RELOC_SCORE_IMM32
|
2164 |
|
|
This is a 32-bit reloc for 48-bit instructions.
|
2165 |
|
|
@end deffn
|
2166 |
|
|
@deffn {} BFD_RELOC_SCORE16_JMP
|
2167 |
|
|
This is a 11-bit reloc with the right 1 bit assumed to be 0
|
2168 |
|
|
@end deffn
|
2169 |
|
|
@deffn {} BFD_RELOC_SCORE16_BRANCH
|
2170 |
|
|
This is a 8-bit reloc with the right 1 bit assumed to be 0
|
2171 |
|
|
@end deffn
|
2172 |
|
|
@deffn {} BFD_RELOC_SCORE_BCMP
|
2173 |
|
|
This is a 9-bit reloc with the right 1 bit assumed to be 0
|
2174 |
|
|
@end deffn
|
2175 |
|
|
@deffn {} BFD_RELOC_SCORE_GOT15
|
2176 |
|
|
@deffnx {} BFD_RELOC_SCORE_GOT_LO16
|
2177 |
|
|
@deffnx {} BFD_RELOC_SCORE_CALL15
|
2178 |
|
|
@deffnx {} BFD_RELOC_SCORE_DUMMY_HI16
|
2179 |
|
|
Undocumented Score relocs
|
2180 |
|
|
@end deffn
|
2181 |
|
|
@deffn {} BFD_RELOC_IP2K_FR9
|
2182 |
|
|
Scenix IP2K - 9-bit register number / data address
|
2183 |
|
|
@end deffn
|
2184 |
|
|
@deffn {} BFD_RELOC_IP2K_BANK
|
2185 |
|
|
Scenix IP2K - 4-bit register/data bank number
|
2186 |
|
|
@end deffn
|
2187 |
|
|
@deffn {} BFD_RELOC_IP2K_ADDR16CJP
|
2188 |
|
|
Scenix IP2K - low 13 bits of instruction word address
|
2189 |
|
|
@end deffn
|
2190 |
|
|
@deffn {} BFD_RELOC_IP2K_PAGE3
|
2191 |
|
|
Scenix IP2K - high 3 bits of instruction word address
|
2192 |
|
|
@end deffn
|
2193 |
|
|
@deffn {} BFD_RELOC_IP2K_LO8DATA
|
2194 |
|
|
@deffnx {} BFD_RELOC_IP2K_HI8DATA
|
2195 |
|
|
@deffnx {} BFD_RELOC_IP2K_EX8DATA
|
2196 |
|
|
Scenix IP2K - ext/low/high 8 bits of data address
|
2197 |
|
|
@end deffn
|
2198 |
|
|
@deffn {} BFD_RELOC_IP2K_LO8INSN
|
2199 |
|
|
@deffnx {} BFD_RELOC_IP2K_HI8INSN
|
2200 |
|
|
Scenix IP2K - low/high 8 bits of instruction word address
|
2201 |
|
|
@end deffn
|
2202 |
|
|
@deffn {} BFD_RELOC_IP2K_PC_SKIP
|
2203 |
|
|
Scenix IP2K - even/odd PC modifier to modify snb pcl.0
|
2204 |
|
|
@end deffn
|
2205 |
|
|
@deffn {} BFD_RELOC_IP2K_TEXT
|
2206 |
|
|
Scenix IP2K - 16 bit word address in text section.
|
2207 |
|
|
@end deffn
|
2208 |
|
|
@deffn {} BFD_RELOC_IP2K_FR_OFFSET
|
2209 |
|
|
Scenix IP2K - 7-bit sp or dp offset
|
2210 |
|
|
@end deffn
|
2211 |
|
|
@deffn {} BFD_RELOC_VPE4KMATH_DATA
|
2212 |
|
|
@deffnx {} BFD_RELOC_VPE4KMATH_INSN
|
2213 |
|
|
Scenix VPE4K coprocessor - data/insn-space addressing
|
2214 |
|
|
@end deffn
|
2215 |
|
|
@deffn {} BFD_RELOC_VTABLE_INHERIT
|
2216 |
|
|
@deffnx {} BFD_RELOC_VTABLE_ENTRY
|
2217 |
|
|
These two relocations are used by the linker to determine which of
|
2218 |
|
|
the entries in a C++ virtual function table are actually used. When
|
2219 |
|
|
the --gc-sections option is given, the linker will zero out the entries
|
2220 |
|
|
that are not used, so that the code for those functions need not be
|
2221 |
|
|
included in the output.
|
2222 |
|
|
|
2223 |
|
|
VTABLE_INHERIT is a zero-space relocation used to describe to the
|
2224 |
|
|
linker the inheritance tree of a C++ virtual function table. The
|
2225 |
|
|
relocation's symbol should be the parent class' vtable, and the
|
2226 |
|
|
relocation should be located at the child vtable.
|
2227 |
|
|
|
2228 |
|
|
VTABLE_ENTRY is a zero-space relocation that describes the use of a
|
2229 |
|
|
virtual function table entry. The reloc's symbol should refer to the
|
2230 |
|
|
table of the class mentioned in the code. Off of that base, an offset
|
2231 |
|
|
describes the entry that is being used. For Rela hosts, this offset
|
2232 |
|
|
is stored in the reloc's addend. For Rel hosts, we are forced to put
|
2233 |
|
|
this offset in the reloc's section offset.
|
2234 |
|
|
@end deffn
|
2235 |
|
|
@deffn {} BFD_RELOC_IA64_IMM14
|
2236 |
|
|
@deffnx {} BFD_RELOC_IA64_IMM22
|
2237 |
|
|
@deffnx {} BFD_RELOC_IA64_IMM64
|
2238 |
|
|
@deffnx {} BFD_RELOC_IA64_DIR32MSB
|
2239 |
|
|
@deffnx {} BFD_RELOC_IA64_DIR32LSB
|
2240 |
|
|
@deffnx {} BFD_RELOC_IA64_DIR64MSB
|
2241 |
|
|
@deffnx {} BFD_RELOC_IA64_DIR64LSB
|
2242 |
|
|
@deffnx {} BFD_RELOC_IA64_GPREL22
|
2243 |
|
|
@deffnx {} BFD_RELOC_IA64_GPREL64I
|
2244 |
|
|
@deffnx {} BFD_RELOC_IA64_GPREL32MSB
|
2245 |
|
|
@deffnx {} BFD_RELOC_IA64_GPREL32LSB
|
2246 |
|
|
@deffnx {} BFD_RELOC_IA64_GPREL64MSB
|
2247 |
|
|
@deffnx {} BFD_RELOC_IA64_GPREL64LSB
|
2248 |
|
|
@deffnx {} BFD_RELOC_IA64_LTOFF22
|
2249 |
|
|
@deffnx {} BFD_RELOC_IA64_LTOFF64I
|
2250 |
|
|
@deffnx {} BFD_RELOC_IA64_PLTOFF22
|
2251 |
|
|
@deffnx {} BFD_RELOC_IA64_PLTOFF64I
|
2252 |
|
|
@deffnx {} BFD_RELOC_IA64_PLTOFF64MSB
|
2253 |
|
|
@deffnx {} BFD_RELOC_IA64_PLTOFF64LSB
|
2254 |
|
|
@deffnx {} BFD_RELOC_IA64_FPTR64I
|
2255 |
|
|
@deffnx {} BFD_RELOC_IA64_FPTR32MSB
|
2256 |
|
|
@deffnx {} BFD_RELOC_IA64_FPTR32LSB
|
2257 |
|
|
@deffnx {} BFD_RELOC_IA64_FPTR64MSB
|
2258 |
|
|
@deffnx {} BFD_RELOC_IA64_FPTR64LSB
|
2259 |
|
|
@deffnx {} BFD_RELOC_IA64_PCREL21B
|
2260 |
|
|
@deffnx {} BFD_RELOC_IA64_PCREL21BI
|
2261 |
|
|
@deffnx {} BFD_RELOC_IA64_PCREL21M
|
2262 |
|
|
@deffnx {} BFD_RELOC_IA64_PCREL21F
|
2263 |
|
|
@deffnx {} BFD_RELOC_IA64_PCREL22
|
2264 |
|
|
@deffnx {} BFD_RELOC_IA64_PCREL60B
|
2265 |
|
|
@deffnx {} BFD_RELOC_IA64_PCREL64I
|
2266 |
|
|
@deffnx {} BFD_RELOC_IA64_PCREL32MSB
|
2267 |
|
|
@deffnx {} BFD_RELOC_IA64_PCREL32LSB
|
2268 |
|
|
@deffnx {} BFD_RELOC_IA64_PCREL64MSB
|
2269 |
|
|
@deffnx {} BFD_RELOC_IA64_PCREL64LSB
|
2270 |
|
|
@deffnx {} BFD_RELOC_IA64_LTOFF_FPTR22
|
2271 |
|
|
@deffnx {} BFD_RELOC_IA64_LTOFF_FPTR64I
|
2272 |
|
|
@deffnx {} BFD_RELOC_IA64_LTOFF_FPTR32MSB
|
2273 |
|
|
@deffnx {} BFD_RELOC_IA64_LTOFF_FPTR32LSB
|
2274 |
|
|
@deffnx {} BFD_RELOC_IA64_LTOFF_FPTR64MSB
|
2275 |
|
|
@deffnx {} BFD_RELOC_IA64_LTOFF_FPTR64LSB
|
2276 |
|
|
@deffnx {} BFD_RELOC_IA64_SEGREL32MSB
|
2277 |
|
|
@deffnx {} BFD_RELOC_IA64_SEGREL32LSB
|
2278 |
|
|
@deffnx {} BFD_RELOC_IA64_SEGREL64MSB
|
2279 |
|
|
@deffnx {} BFD_RELOC_IA64_SEGREL64LSB
|
2280 |
|
|
@deffnx {} BFD_RELOC_IA64_SECREL32MSB
|
2281 |
|
|
@deffnx {} BFD_RELOC_IA64_SECREL32LSB
|
2282 |
|
|
@deffnx {} BFD_RELOC_IA64_SECREL64MSB
|
2283 |
|
|
@deffnx {} BFD_RELOC_IA64_SECREL64LSB
|
2284 |
|
|
@deffnx {} BFD_RELOC_IA64_REL32MSB
|
2285 |
|
|
@deffnx {} BFD_RELOC_IA64_REL32LSB
|
2286 |
|
|
@deffnx {} BFD_RELOC_IA64_REL64MSB
|
2287 |
|
|
@deffnx {} BFD_RELOC_IA64_REL64LSB
|
2288 |
|
|
@deffnx {} BFD_RELOC_IA64_LTV32MSB
|
2289 |
|
|
@deffnx {} BFD_RELOC_IA64_LTV32LSB
|
2290 |
|
|
@deffnx {} BFD_RELOC_IA64_LTV64MSB
|
2291 |
|
|
@deffnx {} BFD_RELOC_IA64_LTV64LSB
|
2292 |
|
|
@deffnx {} BFD_RELOC_IA64_IPLTMSB
|
2293 |
|
|
@deffnx {} BFD_RELOC_IA64_IPLTLSB
|
2294 |
|
|
@deffnx {} BFD_RELOC_IA64_COPY
|
2295 |
|
|
@deffnx {} BFD_RELOC_IA64_LTOFF22X
|
2296 |
|
|
@deffnx {} BFD_RELOC_IA64_LDXMOV
|
2297 |
|
|
@deffnx {} BFD_RELOC_IA64_TPREL14
|
2298 |
|
|
@deffnx {} BFD_RELOC_IA64_TPREL22
|
2299 |
|
|
@deffnx {} BFD_RELOC_IA64_TPREL64I
|
2300 |
|
|
@deffnx {} BFD_RELOC_IA64_TPREL64MSB
|
2301 |
|
|
@deffnx {} BFD_RELOC_IA64_TPREL64LSB
|
2302 |
|
|
@deffnx {} BFD_RELOC_IA64_LTOFF_TPREL22
|
2303 |
|
|
@deffnx {} BFD_RELOC_IA64_DTPMOD64MSB
|
2304 |
|
|
@deffnx {} BFD_RELOC_IA64_DTPMOD64LSB
|
2305 |
|
|
@deffnx {} BFD_RELOC_IA64_LTOFF_DTPMOD22
|
2306 |
|
|
@deffnx {} BFD_RELOC_IA64_DTPREL14
|
2307 |
|
|
@deffnx {} BFD_RELOC_IA64_DTPREL22
|
2308 |
|
|
@deffnx {} BFD_RELOC_IA64_DTPREL64I
|
2309 |
|
|
@deffnx {} BFD_RELOC_IA64_DTPREL32MSB
|
2310 |
|
|
@deffnx {} BFD_RELOC_IA64_DTPREL32LSB
|
2311 |
|
|
@deffnx {} BFD_RELOC_IA64_DTPREL64MSB
|
2312 |
|
|
@deffnx {} BFD_RELOC_IA64_DTPREL64LSB
|
2313 |
|
|
@deffnx {} BFD_RELOC_IA64_LTOFF_DTPREL22
|
2314 |
|
|
Intel IA64 Relocations.
|
2315 |
|
|
@end deffn
|
2316 |
|
|
@deffn {} BFD_RELOC_M68HC11_HI8
|
2317 |
|
|
Motorola 68HC11 reloc.
|
2318 |
|
|
This is the 8 bit high part of an absolute address.
|
2319 |
|
|
@end deffn
|
2320 |
|
|
@deffn {} BFD_RELOC_M68HC11_LO8
|
2321 |
|
|
Motorola 68HC11 reloc.
|
2322 |
|
|
This is the 8 bit low part of an absolute address.
|
2323 |
|
|
@end deffn
|
2324 |
|
|
@deffn {} BFD_RELOC_M68HC11_3B
|
2325 |
|
|
Motorola 68HC11 reloc.
|
2326 |
|
|
This is the 3 bit of a value.
|
2327 |
|
|
@end deffn
|
2328 |
|
|
@deffn {} BFD_RELOC_M68HC11_RL_JUMP
|
2329 |
|
|
Motorola 68HC11 reloc.
|
2330 |
|
|
This reloc marks the beginning of a jump/call instruction.
|
2331 |
|
|
It is used for linker relaxation to correctly identify beginning
|
2332 |
|
|
of instruction and change some branches to use PC-relative
|
2333 |
|
|
addressing mode.
|
2334 |
|
|
@end deffn
|
2335 |
|
|
@deffn {} BFD_RELOC_M68HC11_RL_GROUP
|
2336 |
|
|
Motorola 68HC11 reloc.
|
2337 |
|
|
This reloc marks a group of several instructions that gcc generates
|
2338 |
|
|
and for which the linker relaxation pass can modify and/or remove
|
2339 |
|
|
some of them.
|
2340 |
|
|
@end deffn
|
2341 |
|
|
@deffn {} BFD_RELOC_M68HC11_LO16
|
2342 |
|
|
Motorola 68HC11 reloc.
|
2343 |
|
|
This is the 16-bit lower part of an address. It is used for 'call'
|
2344 |
|
|
instruction to specify the symbol address without any special
|
2345 |
|
|
transformation (due to memory bank window).
|
2346 |
|
|
@end deffn
|
2347 |
|
|
@deffn {} BFD_RELOC_M68HC11_PAGE
|
2348 |
|
|
Motorola 68HC11 reloc.
|
2349 |
|
|
This is a 8-bit reloc that specifies the page number of an address.
|
2350 |
|
|
It is used by 'call' instruction to specify the page number of
|
2351 |
|
|
the symbol.
|
2352 |
|
|
@end deffn
|
2353 |
|
|
@deffn {} BFD_RELOC_M68HC11_24
|
2354 |
|
|
Motorola 68HC11 reloc.
|
2355 |
|
|
This is a 24-bit reloc that represents the address with a 16-bit
|
2356 |
|
|
value and a 8-bit page number. The symbol address is transformed
|
2357 |
|
|
to follow the 16K memory bank of 68HC12 (seen as mapped in the window).
|
2358 |
|
|
@end deffn
|
2359 |
|
|
@deffn {} BFD_RELOC_M68HC12_5B
|
2360 |
|
|
Motorola 68HC12 reloc.
|
2361 |
|
|
This is the 5 bits of a value.
|
2362 |
|
|
@end deffn
|
2363 |
|
|
@deffn {} BFD_RELOC_16C_NUM08
|
2364 |
|
|
@deffnx {} BFD_RELOC_16C_NUM08_C
|
2365 |
|
|
@deffnx {} BFD_RELOC_16C_NUM16
|
2366 |
|
|
@deffnx {} BFD_RELOC_16C_NUM16_C
|
2367 |
|
|
@deffnx {} BFD_RELOC_16C_NUM32
|
2368 |
|
|
@deffnx {} BFD_RELOC_16C_NUM32_C
|
2369 |
|
|
@deffnx {} BFD_RELOC_16C_DISP04
|
2370 |
|
|
@deffnx {} BFD_RELOC_16C_DISP04_C
|
2371 |
|
|
@deffnx {} BFD_RELOC_16C_DISP08
|
2372 |
|
|
@deffnx {} BFD_RELOC_16C_DISP08_C
|
2373 |
|
|
@deffnx {} BFD_RELOC_16C_DISP16
|
2374 |
|
|
@deffnx {} BFD_RELOC_16C_DISP16_C
|
2375 |
|
|
@deffnx {} BFD_RELOC_16C_DISP24
|
2376 |
|
|
@deffnx {} BFD_RELOC_16C_DISP24_C
|
2377 |
|
|
@deffnx {} BFD_RELOC_16C_DISP24a
|
2378 |
|
|
@deffnx {} BFD_RELOC_16C_DISP24a_C
|
2379 |
|
|
@deffnx {} BFD_RELOC_16C_REG04
|
2380 |
|
|
@deffnx {} BFD_RELOC_16C_REG04_C
|
2381 |
|
|
@deffnx {} BFD_RELOC_16C_REG04a
|
2382 |
|
|
@deffnx {} BFD_RELOC_16C_REG04a_C
|
2383 |
|
|
@deffnx {} BFD_RELOC_16C_REG14
|
2384 |
|
|
@deffnx {} BFD_RELOC_16C_REG14_C
|
2385 |
|
|
@deffnx {} BFD_RELOC_16C_REG16
|
2386 |
|
|
@deffnx {} BFD_RELOC_16C_REG16_C
|
2387 |
|
|
@deffnx {} BFD_RELOC_16C_REG20
|
2388 |
|
|
@deffnx {} BFD_RELOC_16C_REG20_C
|
2389 |
|
|
@deffnx {} BFD_RELOC_16C_ABS20
|
2390 |
|
|
@deffnx {} BFD_RELOC_16C_ABS20_C
|
2391 |
|
|
@deffnx {} BFD_RELOC_16C_ABS24
|
2392 |
|
|
@deffnx {} BFD_RELOC_16C_ABS24_C
|
2393 |
|
|
@deffnx {} BFD_RELOC_16C_IMM04
|
2394 |
|
|
@deffnx {} BFD_RELOC_16C_IMM04_C
|
2395 |
|
|
@deffnx {} BFD_RELOC_16C_IMM16
|
2396 |
|
|
@deffnx {} BFD_RELOC_16C_IMM16_C
|
2397 |
|
|
@deffnx {} BFD_RELOC_16C_IMM20
|
2398 |
|
|
@deffnx {} BFD_RELOC_16C_IMM20_C
|
2399 |
|
|
@deffnx {} BFD_RELOC_16C_IMM24
|
2400 |
|
|
@deffnx {} BFD_RELOC_16C_IMM24_C
|
2401 |
|
|
@deffnx {} BFD_RELOC_16C_IMM32
|
2402 |
|
|
@deffnx {} BFD_RELOC_16C_IMM32_C
|
2403 |
|
|
NS CR16C Relocations.
|
2404 |
|
|
@end deffn
|
2405 |
|
|
@deffn {} BFD_RELOC_CR16_NUM8
|
2406 |
|
|
@deffnx {} BFD_RELOC_CR16_NUM16
|
2407 |
|
|
@deffnx {} BFD_RELOC_CR16_NUM32
|
2408 |
|
|
@deffnx {} BFD_RELOC_CR16_NUM32a
|
2409 |
|
|
@deffnx {} BFD_RELOC_CR16_REGREL0
|
2410 |
|
|
@deffnx {} BFD_RELOC_CR16_REGREL4
|
2411 |
|
|
@deffnx {} BFD_RELOC_CR16_REGREL4a
|
2412 |
|
|
@deffnx {} BFD_RELOC_CR16_REGREL14
|
2413 |
|
|
@deffnx {} BFD_RELOC_CR16_REGREL14a
|
2414 |
|
|
@deffnx {} BFD_RELOC_CR16_REGREL16
|
2415 |
|
|
@deffnx {} BFD_RELOC_CR16_REGREL20
|
2416 |
|
|
@deffnx {} BFD_RELOC_CR16_REGREL20a
|
2417 |
|
|
@deffnx {} BFD_RELOC_CR16_ABS20
|
2418 |
|
|
@deffnx {} BFD_RELOC_CR16_ABS24
|
2419 |
|
|
@deffnx {} BFD_RELOC_CR16_IMM4
|
2420 |
|
|
@deffnx {} BFD_RELOC_CR16_IMM8
|
2421 |
|
|
@deffnx {} BFD_RELOC_CR16_IMM16
|
2422 |
|
|
@deffnx {} BFD_RELOC_CR16_IMM20
|
2423 |
|
|
@deffnx {} BFD_RELOC_CR16_IMM24
|
2424 |
|
|
@deffnx {} BFD_RELOC_CR16_IMM32
|
2425 |
|
|
@deffnx {} BFD_RELOC_CR16_IMM32a
|
2426 |
|
|
@deffnx {} BFD_RELOC_CR16_DISP4
|
2427 |
|
|
@deffnx {} BFD_RELOC_CR16_DISP8
|
2428 |
|
|
@deffnx {} BFD_RELOC_CR16_DISP16
|
2429 |
|
|
@deffnx {} BFD_RELOC_CR16_DISP20
|
2430 |
|
|
@deffnx {} BFD_RELOC_CR16_DISP24
|
2431 |
|
|
@deffnx {} BFD_RELOC_CR16_DISP24a
|
2432 |
|
|
@deffnx {} BFD_RELOC_CR16_SWITCH8
|
2433 |
|
|
@deffnx {} BFD_RELOC_CR16_SWITCH16
|
2434 |
|
|
@deffnx {} BFD_RELOC_CR16_SWITCH32
|
2435 |
|
|
@deffnx {} BFD_RELOC_CR16_GOT_REGREL20
|
2436 |
|
|
@deffnx {} BFD_RELOC_CR16_GOTC_REGREL20
|
2437 |
|
|
@deffnx {} BFD_RELOC_CR16_GLOB_DAT
|
2438 |
|
|
NS CR16 Relocations.
|
2439 |
|
|
@end deffn
|
2440 |
|
|
@deffn {} BFD_RELOC_CRX_REL4
|
2441 |
|
|
@deffnx {} BFD_RELOC_CRX_REL8
|
2442 |
|
|
@deffnx {} BFD_RELOC_CRX_REL8_CMP
|
2443 |
|
|
@deffnx {} BFD_RELOC_CRX_REL16
|
2444 |
|
|
@deffnx {} BFD_RELOC_CRX_REL24
|
2445 |
|
|
@deffnx {} BFD_RELOC_CRX_REL32
|
2446 |
|
|
@deffnx {} BFD_RELOC_CRX_REGREL12
|
2447 |
|
|
@deffnx {} BFD_RELOC_CRX_REGREL22
|
2448 |
|
|
@deffnx {} BFD_RELOC_CRX_REGREL28
|
2449 |
|
|
@deffnx {} BFD_RELOC_CRX_REGREL32
|
2450 |
|
|
@deffnx {} BFD_RELOC_CRX_ABS16
|
2451 |
|
|
@deffnx {} BFD_RELOC_CRX_ABS32
|
2452 |
|
|
@deffnx {} BFD_RELOC_CRX_NUM8
|
2453 |
|
|
@deffnx {} BFD_RELOC_CRX_NUM16
|
2454 |
|
|
@deffnx {} BFD_RELOC_CRX_NUM32
|
2455 |
|
|
@deffnx {} BFD_RELOC_CRX_IMM16
|
2456 |
|
|
@deffnx {} BFD_RELOC_CRX_IMM32
|
2457 |
|
|
@deffnx {} BFD_RELOC_CRX_SWITCH8
|
2458 |
|
|
@deffnx {} BFD_RELOC_CRX_SWITCH16
|
2459 |
|
|
@deffnx {} BFD_RELOC_CRX_SWITCH32
|
2460 |
|
|
NS CRX Relocations.
|
2461 |
|
|
@end deffn
|
2462 |
|
|
@deffn {} BFD_RELOC_CRIS_BDISP8
|
2463 |
|
|
@deffnx {} BFD_RELOC_CRIS_UNSIGNED_5
|
2464 |
|
|
@deffnx {} BFD_RELOC_CRIS_SIGNED_6
|
2465 |
|
|
@deffnx {} BFD_RELOC_CRIS_UNSIGNED_6
|
2466 |
|
|
@deffnx {} BFD_RELOC_CRIS_SIGNED_8
|
2467 |
|
|
@deffnx {} BFD_RELOC_CRIS_UNSIGNED_8
|
2468 |
|
|
@deffnx {} BFD_RELOC_CRIS_SIGNED_16
|
2469 |
|
|
@deffnx {} BFD_RELOC_CRIS_UNSIGNED_16
|
2470 |
|
|
@deffnx {} BFD_RELOC_CRIS_LAPCQ_OFFSET
|
2471 |
|
|
@deffnx {} BFD_RELOC_CRIS_UNSIGNED_4
|
2472 |
|
|
These relocs are only used within the CRIS assembler. They are not
|
2473 |
|
|
(at present) written to any object files.
|
2474 |
|
|
@end deffn
|
2475 |
|
|
@deffn {} BFD_RELOC_CRIS_COPY
|
2476 |
|
|
@deffnx {} BFD_RELOC_CRIS_GLOB_DAT
|
2477 |
|
|
@deffnx {} BFD_RELOC_CRIS_JUMP_SLOT
|
2478 |
|
|
@deffnx {} BFD_RELOC_CRIS_RELATIVE
|
2479 |
|
|
Relocs used in ELF shared libraries for CRIS.
|
2480 |
|
|
@end deffn
|
2481 |
|
|
@deffn {} BFD_RELOC_CRIS_32_GOT
|
2482 |
|
|
32-bit offset to symbol-entry within GOT.
|
2483 |
|
|
@end deffn
|
2484 |
|
|
@deffn {} BFD_RELOC_CRIS_16_GOT
|
2485 |
|
|
16-bit offset to symbol-entry within GOT.
|
2486 |
|
|
@end deffn
|
2487 |
|
|
@deffn {} BFD_RELOC_CRIS_32_GOTPLT
|
2488 |
|
|
32-bit offset to symbol-entry within GOT, with PLT handling.
|
2489 |
|
|
@end deffn
|
2490 |
|
|
@deffn {} BFD_RELOC_CRIS_16_GOTPLT
|
2491 |
|
|
16-bit offset to symbol-entry within GOT, with PLT handling.
|
2492 |
|
|
@end deffn
|
2493 |
|
|
@deffn {} BFD_RELOC_CRIS_32_GOTREL
|
2494 |
|
|
32-bit offset to symbol, relative to GOT.
|
2495 |
|
|
@end deffn
|
2496 |
|
|
@deffn {} BFD_RELOC_CRIS_32_PLT_GOTREL
|
2497 |
|
|
32-bit offset to symbol with PLT entry, relative to GOT.
|
2498 |
|
|
@end deffn
|
2499 |
|
|
@deffn {} BFD_RELOC_CRIS_32_PLT_PCREL
|
2500 |
|
|
32-bit offset to symbol with PLT entry, relative to this relocation.
|
2501 |
|
|
@end deffn
|
2502 |
|
|
@deffn {} BFD_RELOC_CRIS_32_GOT_GD
|
2503 |
|
|
@deffnx {} BFD_RELOC_CRIS_16_GOT_GD
|
2504 |
|
|
@deffnx {} BFD_RELOC_CRIS_32_GD
|
2505 |
|
|
@deffnx {} BFD_RELOC_CRIS_DTP
|
2506 |
|
|
@deffnx {} BFD_RELOC_CRIS_32_DTPREL
|
2507 |
|
|
@deffnx {} BFD_RELOC_CRIS_16_DTPREL
|
2508 |
|
|
@deffnx {} BFD_RELOC_CRIS_32_GOT_TPREL
|
2509 |
|
|
@deffnx {} BFD_RELOC_CRIS_16_GOT_TPREL
|
2510 |
|
|
@deffnx {} BFD_RELOC_CRIS_32_TPREL
|
2511 |
|
|
@deffnx {} BFD_RELOC_CRIS_16_TPREL
|
2512 |
|
|
@deffnx {} BFD_RELOC_CRIS_DTPMOD
|
2513 |
|
|
@deffnx {} BFD_RELOC_CRIS_32_IE
|
2514 |
|
|
Relocs used in TLS code for CRIS.
|
2515 |
|
|
@end deffn
|
2516 |
|
|
@deffn {} BFD_RELOC_860_COPY
|
2517 |
|
|
@deffnx {} BFD_RELOC_860_GLOB_DAT
|
2518 |
|
|
@deffnx {} BFD_RELOC_860_JUMP_SLOT
|
2519 |
|
|
@deffnx {} BFD_RELOC_860_RELATIVE
|
2520 |
|
|
@deffnx {} BFD_RELOC_860_PC26
|
2521 |
|
|
@deffnx {} BFD_RELOC_860_PLT26
|
2522 |
|
|
@deffnx {} BFD_RELOC_860_PC16
|
2523 |
|
|
@deffnx {} BFD_RELOC_860_LOW0
|
2524 |
|
|
@deffnx {} BFD_RELOC_860_SPLIT0
|
2525 |
|
|
@deffnx {} BFD_RELOC_860_LOW1
|
2526 |
|
|
@deffnx {} BFD_RELOC_860_SPLIT1
|
2527 |
|
|
@deffnx {} BFD_RELOC_860_LOW2
|
2528 |
|
|
@deffnx {} BFD_RELOC_860_SPLIT2
|
2529 |
|
|
@deffnx {} BFD_RELOC_860_LOW3
|
2530 |
|
|
@deffnx {} BFD_RELOC_860_LOGOT0
|
2531 |
|
|
@deffnx {} BFD_RELOC_860_SPGOT0
|
2532 |
|
|
@deffnx {} BFD_RELOC_860_LOGOT1
|
2533 |
|
|
@deffnx {} BFD_RELOC_860_SPGOT1
|
2534 |
|
|
@deffnx {} BFD_RELOC_860_LOGOTOFF0
|
2535 |
|
|
@deffnx {} BFD_RELOC_860_SPGOTOFF0
|
2536 |
|
|
@deffnx {} BFD_RELOC_860_LOGOTOFF1
|
2537 |
|
|
@deffnx {} BFD_RELOC_860_SPGOTOFF1
|
2538 |
|
|
@deffnx {} BFD_RELOC_860_LOGOTOFF2
|
2539 |
|
|
@deffnx {} BFD_RELOC_860_LOGOTOFF3
|
2540 |
|
|
@deffnx {} BFD_RELOC_860_LOPC
|
2541 |
|
|
@deffnx {} BFD_RELOC_860_HIGHADJ
|
2542 |
|
|
@deffnx {} BFD_RELOC_860_HAGOT
|
2543 |
|
|
@deffnx {} BFD_RELOC_860_HAGOTOFF
|
2544 |
|
|
@deffnx {} BFD_RELOC_860_HAPC
|
2545 |
|
|
@deffnx {} BFD_RELOC_860_HIGH
|
2546 |
|
|
@deffnx {} BFD_RELOC_860_HIGOT
|
2547 |
|
|
@deffnx {} BFD_RELOC_860_HIGOTOFF
|
2548 |
|
|
Intel i860 Relocations.
|
2549 |
|
|
@end deffn
|
2550 |
|
|
@deffn {} BFD_RELOC_OPENRISC_ABS_26
|
2551 |
|
|
@deffnx {} BFD_RELOC_OPENRISC_REL_26
|
2552 |
|
|
OpenRISC Relocations.
|
2553 |
|
|
@end deffn
|
2554 |
|
|
@deffn {} BFD_RELOC_H8_DIR16A8
|
2555 |
|
|
@deffnx {} BFD_RELOC_H8_DIR16R8
|
2556 |
|
|
@deffnx {} BFD_RELOC_H8_DIR24A8
|
2557 |
|
|
@deffnx {} BFD_RELOC_H8_DIR24R8
|
2558 |
|
|
@deffnx {} BFD_RELOC_H8_DIR32A16
|
2559 |
|
|
H8 elf Relocations.
|
2560 |
|
|
@end deffn
|
2561 |
|
|
@deffn {} BFD_RELOC_XSTORMY16_REL_12
|
2562 |
|
|
@deffnx {} BFD_RELOC_XSTORMY16_12
|
2563 |
|
|
@deffnx {} BFD_RELOC_XSTORMY16_24
|
2564 |
|
|
@deffnx {} BFD_RELOC_XSTORMY16_FPTR16
|
2565 |
|
|
Sony Xstormy16 Relocations.
|
2566 |
|
|
@end deffn
|
2567 |
|
|
@deffn {} BFD_RELOC_RELC
|
2568 |
|
|
Self-describing complex relocations.
|
2569 |
|
|
@end deffn
|
2570 |
|
|
@deffn {} BFD_RELOC_XC16X_PAG
|
2571 |
|
|
@deffnx {} BFD_RELOC_XC16X_POF
|
2572 |
|
|
@deffnx {} BFD_RELOC_XC16X_SEG
|
2573 |
|
|
@deffnx {} BFD_RELOC_XC16X_SOF
|
2574 |
|
|
Infineon Relocations.
|
2575 |
|
|
@end deffn
|
2576 |
|
|
@deffn {} BFD_RELOC_VAX_GLOB_DAT
|
2577 |
|
|
@deffnx {} BFD_RELOC_VAX_JMP_SLOT
|
2578 |
|
|
@deffnx {} BFD_RELOC_VAX_RELATIVE
|
2579 |
|
|
Relocations used by VAX ELF.
|
2580 |
|
|
@end deffn
|
2581 |
|
|
@deffn {} BFD_RELOC_MT_PC16
|
2582 |
|
|
Morpho MT - 16 bit immediate relocation.
|
2583 |
|
|
@end deffn
|
2584 |
|
|
@deffn {} BFD_RELOC_MT_HI16
|
2585 |
|
|
Morpho MT - Hi 16 bits of an address.
|
2586 |
|
|
@end deffn
|
2587 |
|
|
@deffn {} BFD_RELOC_MT_LO16
|
2588 |
|
|
Morpho MT - Low 16 bits of an address.
|
2589 |
|
|
@end deffn
|
2590 |
|
|
@deffn {} BFD_RELOC_MT_GNU_VTINHERIT
|
2591 |
|
|
Morpho MT - Used to tell the linker which vtable entries are used.
|
2592 |
|
|
@end deffn
|
2593 |
|
|
@deffn {} BFD_RELOC_MT_GNU_VTENTRY
|
2594 |
|
|
Morpho MT - Used to tell the linker which vtable entries are used.
|
2595 |
|
|
@end deffn
|
2596 |
|
|
@deffn {} BFD_RELOC_MT_PCINSN8
|
2597 |
|
|
Morpho MT - 8 bit immediate relocation.
|
2598 |
|
|
@end deffn
|
2599 |
|
|
@deffn {} BFD_RELOC_MSP430_10_PCREL
|
2600 |
|
|
@deffnx {} BFD_RELOC_MSP430_16_PCREL
|
2601 |
|
|
@deffnx {} BFD_RELOC_MSP430_16
|
2602 |
|
|
@deffnx {} BFD_RELOC_MSP430_16_PCREL_BYTE
|
2603 |
|
|
@deffnx {} BFD_RELOC_MSP430_16_BYTE
|
2604 |
|
|
@deffnx {} BFD_RELOC_MSP430_2X_PCREL
|
2605 |
|
|
@deffnx {} BFD_RELOC_MSP430_RL_PCREL
|
2606 |
|
|
msp430 specific relocation codes
|
2607 |
|
|
@end deffn
|
2608 |
|
|
@deffn {} BFD_RELOC_IQ2000_OFFSET_16
|
2609 |
|
|
@deffnx {} BFD_RELOC_IQ2000_OFFSET_21
|
2610 |
|
|
@deffnx {} BFD_RELOC_IQ2000_UHI16
|
2611 |
|
|
IQ2000 Relocations.
|
2612 |
|
|
@end deffn
|
2613 |
|
|
@deffn {} BFD_RELOC_XTENSA_RTLD
|
2614 |
|
|
Special Xtensa relocation used only by PLT entries in ELF shared
|
2615 |
|
|
objects to indicate that the runtime linker should set the value
|
2616 |
|
|
to one of its own internal functions or data structures.
|
2617 |
|
|
@end deffn
|
2618 |
|
|
@deffn {} BFD_RELOC_XTENSA_GLOB_DAT
|
2619 |
|
|
@deffnx {} BFD_RELOC_XTENSA_JMP_SLOT
|
2620 |
|
|
@deffnx {} BFD_RELOC_XTENSA_RELATIVE
|
2621 |
|
|
Xtensa relocations for ELF shared objects.
|
2622 |
|
|
@end deffn
|
2623 |
|
|
@deffn {} BFD_RELOC_XTENSA_PLT
|
2624 |
|
|
Xtensa relocation used in ELF object files for symbols that may require
|
2625 |
|
|
PLT entries. Otherwise, this is just a generic 32-bit relocation.
|
2626 |
|
|
@end deffn
|
2627 |
|
|
@deffn {} BFD_RELOC_XTENSA_DIFF8
|
2628 |
|
|
@deffnx {} BFD_RELOC_XTENSA_DIFF16
|
2629 |
|
|
@deffnx {} BFD_RELOC_XTENSA_DIFF32
|
2630 |
|
|
Xtensa relocations to mark the difference of two local symbols.
|
2631 |
|
|
These are only needed to support linker relaxation and can be ignored
|
2632 |
|
|
when not relaxing. The field is set to the value of the difference
|
2633 |
|
|
assuming no relaxation. The relocation encodes the position of the
|
2634 |
|
|
first symbol so the linker can determine whether to adjust the field
|
2635 |
|
|
value.
|
2636 |
|
|
@end deffn
|
2637 |
|
|
@deffn {} BFD_RELOC_XTENSA_SLOT0_OP
|
2638 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT1_OP
|
2639 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT2_OP
|
2640 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT3_OP
|
2641 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT4_OP
|
2642 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT5_OP
|
2643 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT6_OP
|
2644 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT7_OP
|
2645 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT8_OP
|
2646 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT9_OP
|
2647 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT10_OP
|
2648 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT11_OP
|
2649 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT12_OP
|
2650 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT13_OP
|
2651 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT14_OP
|
2652 |
|
|
Generic Xtensa relocations for instruction operands. Only the slot
|
2653 |
|
|
number is encoded in the relocation. The relocation applies to the
|
2654 |
|
|
last PC-relative immediate operand, or if there are no PC-relative
|
2655 |
|
|
immediates, to the last immediate operand.
|
2656 |
|
|
@end deffn
|
2657 |
|
|
@deffn {} BFD_RELOC_XTENSA_SLOT0_ALT
|
2658 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT1_ALT
|
2659 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT2_ALT
|
2660 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT3_ALT
|
2661 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT4_ALT
|
2662 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT5_ALT
|
2663 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT6_ALT
|
2664 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT7_ALT
|
2665 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT8_ALT
|
2666 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT9_ALT
|
2667 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT10_ALT
|
2668 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT11_ALT
|
2669 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT12_ALT
|
2670 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT13_ALT
|
2671 |
|
|
@deffnx {} BFD_RELOC_XTENSA_SLOT14_ALT
|
2672 |
|
|
Alternate Xtensa relocations. Only the slot is encoded in the
|
2673 |
|
|
relocation. The meaning of these relocations is opcode-specific.
|
2674 |
|
|
@end deffn
|
2675 |
|
|
@deffn {} BFD_RELOC_XTENSA_OP0
|
2676 |
|
|
@deffnx {} BFD_RELOC_XTENSA_OP1
|
2677 |
|
|
@deffnx {} BFD_RELOC_XTENSA_OP2
|
2678 |
|
|
Xtensa relocations for backward compatibility. These have all been
|
2679 |
|
|
replaced by BFD_RELOC_XTENSA_SLOT0_OP.
|
2680 |
|
|
@end deffn
|
2681 |
|
|
@deffn {} BFD_RELOC_XTENSA_ASM_EXPAND
|
2682 |
|
|
Xtensa relocation to mark that the assembler expanded the
|
2683 |
|
|
instructions from an original target. The expansion size is
|
2684 |
|
|
encoded in the reloc size.
|
2685 |
|
|
@end deffn
|
2686 |
|
|
@deffn {} BFD_RELOC_XTENSA_ASM_SIMPLIFY
|
2687 |
|
|
Xtensa relocation to mark that the linker should simplify
|
2688 |
|
|
assembler-expanded instructions. This is commonly used
|
2689 |
|
|
internally by the linker after analysis of a
|
2690 |
|
|
BFD_RELOC_XTENSA_ASM_EXPAND.
|
2691 |
|
|
@end deffn
|
2692 |
|
|
@deffn {} BFD_RELOC_XTENSA_TLSDESC_FN
|
2693 |
|
|
@deffnx {} BFD_RELOC_XTENSA_TLSDESC_ARG
|
2694 |
|
|
@deffnx {} BFD_RELOC_XTENSA_TLS_DTPOFF
|
2695 |
|
|
@deffnx {} BFD_RELOC_XTENSA_TLS_TPOFF
|
2696 |
|
|
@deffnx {} BFD_RELOC_XTENSA_TLS_FUNC
|
2697 |
|
|
@deffnx {} BFD_RELOC_XTENSA_TLS_ARG
|
2698 |
|
|
@deffnx {} BFD_RELOC_XTENSA_TLS_CALL
|
2699 |
|
|
Xtensa TLS relocations.
|
2700 |
|
|
@end deffn
|
2701 |
|
|
@deffn {} BFD_RELOC_Z80_DISP8
|
2702 |
|
|
8 bit signed offset in (ix+d) or (iy+d).
|
2703 |
|
|
@end deffn
|
2704 |
|
|
@deffn {} BFD_RELOC_Z8K_DISP7
|
2705 |
|
|
DJNZ offset.
|
2706 |
|
|
@end deffn
|
2707 |
|
|
@deffn {} BFD_RELOC_Z8K_CALLR
|
2708 |
|
|
CALR offset.
|
2709 |
|
|
@end deffn
|
2710 |
|
|
@deffn {} BFD_RELOC_Z8K_IMM4L
|
2711 |
|
|
4 bit value.
|
2712 |
|
|
@end deffn
|
2713 |
|
|
@deffn {} BFD_RELOC_LM32_CALL
|
2714 |
|
|
@deffnx {} BFD_RELOC_LM32_BRANCH
|
2715 |
|
|
@deffnx {} BFD_RELOC_LM32_16_GOT
|
2716 |
|
|
@deffnx {} BFD_RELOC_LM32_GOTOFF_HI16
|
2717 |
|
|
@deffnx {} BFD_RELOC_LM32_GOTOFF_LO16
|
2718 |
|
|
@deffnx {} BFD_RELOC_LM32_COPY
|
2719 |
|
|
@deffnx {} BFD_RELOC_LM32_GLOB_DAT
|
2720 |
|
|
@deffnx {} BFD_RELOC_LM32_JMP_SLOT
|
2721 |
|
|
@deffnx {} BFD_RELOC_LM32_RELATIVE
|
2722 |
|
|
Lattice Mico32 relocations.
|
2723 |
|
|
@end deffn
|
2724 |
|
|
@deffn {} BFD_RELOC_MACH_O_SECTDIFF
|
2725 |
|
|
Difference between two section addreses. Must be followed by a
|
2726 |
|
|
BFD_RELOC_MACH_O_PAIR.
|
2727 |
|
|
@end deffn
|
2728 |
|
|
@deffn {} BFD_RELOC_MACH_O_PAIR
|
2729 |
|
|
Pair of relocation. Contains the first symbol.
|
2730 |
|
|
@end deffn
|
2731 |
|
|
@deffn {} BFD_RELOC_MACH_O_X86_64_BRANCH32
|
2732 |
|
|
@deffnx {} BFD_RELOC_MACH_O_X86_64_BRANCH8
|
2733 |
|
|
PCREL relocations. They are marked as branch to create PLT entry if
|
2734 |
|
|
required.
|
2735 |
|
|
@end deffn
|
2736 |
|
|
@deffn {} BFD_RELOC_MACH_O_X86_64_GOT
|
2737 |
|
|
Used when referencing a GOT entry.
|
2738 |
|
|
@end deffn
|
2739 |
|
|
@deffn {} BFD_RELOC_MACH_O_X86_64_GOT_LOAD
|
2740 |
|
|
Used when loading a GOT entry with movq. It is specially marked so that
|
2741 |
|
|
the linker could optimize the movq to a leaq if possible.
|
2742 |
|
|
@end deffn
|
2743 |
|
|
@deffn {} BFD_RELOC_MACH_O_X86_64_SUBTRACTOR32
|
2744 |
|
|
Symbol will be substracted. Must be followed by a BFD_RELOC_64.
|
2745 |
|
|
@end deffn
|
2746 |
|
|
@deffn {} BFD_RELOC_MACH_O_X86_64_SUBTRACTOR64
|
2747 |
|
|
Symbol will be substracted. Must be followed by a BFD_RELOC_64.
|
2748 |
|
|
@end deffn
|
2749 |
|
|
@deffn {} BFD_RELOC_MACH_O_X86_64_PCREL32_1
|
2750 |
|
|
Same as BFD_RELOC_32_PCREL but with an implicit -1 addend.
|
2751 |
|
|
@end deffn
|
2752 |
|
|
@deffn {} BFD_RELOC_MACH_O_X86_64_PCREL32_2
|
2753 |
|
|
Same as BFD_RELOC_32_PCREL but with an implicit -2 addend.
|
2754 |
|
|
@end deffn
|
2755 |
|
|
@deffn {} BFD_RELOC_MACH_O_X86_64_PCREL32_4
|
2756 |
|
|
Same as BFD_RELOC_32_PCREL but with an implicit -4 addend.
|
2757 |
|
|
@end deffn
|
2758 |
|
|
@deffn {} BFD_RELOC_MICROBLAZE_32_LO
|
2759 |
|
|
This is a 32 bit reloc for the microblaze that stores the
|
2760 |
|
|
low 16 bits of a value
|
2761 |
|
|
@end deffn
|
2762 |
|
|
@deffn {} BFD_RELOC_MICROBLAZE_32_LO_PCREL
|
2763 |
|
|
This is a 32 bit pc-relative reloc for the microblaze that
|
2764 |
|
|
stores the low 16 bits of a value
|
2765 |
|
|
@end deffn
|
2766 |
|
|
@deffn {} BFD_RELOC_MICROBLAZE_32_ROSDA
|
2767 |
|
|
This is a 32 bit reloc for the microblaze that stores a
|
2768 |
|
|
value relative to the read-only small data area anchor
|
2769 |
|
|
@end deffn
|
2770 |
|
|
@deffn {} BFD_RELOC_MICROBLAZE_32_RWSDA
|
2771 |
|
|
This is a 32 bit reloc for the microblaze that stores a
|
2772 |
|
|
value relative to the read-write small data area anchor
|
2773 |
|
|
@end deffn
|
2774 |
|
|
@deffn {} BFD_RELOC_MICROBLAZE_32_SYM_OP_SYM
|
2775 |
|
|
This is a 32 bit reloc for the microblaze to handle
|
2776 |
|
|
expressions of the form "Symbol Op Symbol"
|
2777 |
|
|
@end deffn
|
2778 |
|
|
@deffn {} BFD_RELOC_MICROBLAZE_64_NONE
|
2779 |
|
|
This is a 64 bit reloc that stores the 32 bit pc relative
|
2780 |
|
|
value in two words (with an imm instruction). No relocation is
|
2781 |
|
|
done here - only used for relaxing
|
2782 |
|
|
@end deffn
|
2783 |
|
|
@deffn {} BFD_RELOC_MICROBLAZE_64_GOTPC
|
2784 |
|
|
This is a 64 bit reloc that stores the 32 bit pc relative
|
2785 |
|
|
value in two words (with an imm instruction). The relocation is
|
2786 |
|
|
PC-relative GOT offset
|
2787 |
|
|
@end deffn
|
2788 |
|
|
@deffn {} BFD_RELOC_MICROBLAZE_64_GOT
|
2789 |
|
|
This is a 64 bit reloc that stores the 32 bit pc relative
|
2790 |
|
|
value in two words (with an imm instruction). The relocation is
|
2791 |
|
|
GOT offset
|
2792 |
|
|
@end deffn
|
2793 |
|
|
@deffn {} BFD_RELOC_MICROBLAZE_64_PLT
|
2794 |
|
|
This is a 64 bit reloc that stores the 32 bit pc relative
|
2795 |
|
|
value in two words (with an imm instruction). The relocation is
|
2796 |
|
|
PC-relative offset into PLT
|
2797 |
|
|
@end deffn
|
2798 |
|
|
@deffn {} BFD_RELOC_MICROBLAZE_64_GOTOFF
|
2799 |
|
|
This is a 64 bit reloc that stores the 32 bit GOT relative
|
2800 |
|
|
value in two words (with an imm instruction). The relocation is
|
2801 |
|
|
relative offset from _GLOBAL_OFFSET_TABLE_
|
2802 |
|
|
@end deffn
|
2803 |
|
|
@deffn {} BFD_RELOC_MICROBLAZE_32_GOTOFF
|
2804 |
|
|
This is a 32 bit reloc that stores the 32 bit GOT relative
|
2805 |
|
|
value in a word. The relocation is relative offset from
|
2806 |
|
|
@end deffn
|
2807 |
|
|
@deffn {} BFD_RELOC_MICROBLAZE_COPY
|
2808 |
|
|
This is used to tell the dynamic linker to copy the value out of
|
2809 |
|
|
the dynamic object into the runtime process image.
|
2810 |
|
|
@end deffn
|
2811 |
|
|
|
2812 |
|
|
@example
|
2813 |
|
|
|
2814 |
|
|
typedef enum bfd_reloc_code_real bfd_reloc_code_real_type;
|
2815 |
|
|
@end example
|
2816 |
|
|
@findex bfd_reloc_type_lookup
|
2817 |
|
|
@subsubsection @code{bfd_reloc_type_lookup}
|
2818 |
|
|
@strong{Synopsis}
|
2819 |
|
|
@example
|
2820 |
|
|
reloc_howto_type *bfd_reloc_type_lookup
|
2821 |
|
|
(bfd *abfd, bfd_reloc_code_real_type code);
|
2822 |
|
|
reloc_howto_type *bfd_reloc_name_lookup
|
2823 |
|
|
(bfd *abfd, const char *reloc_name);
|
2824 |
|
|
@end example
|
2825 |
|
|
@strong{Description}@*
|
2826 |
|
|
Return a pointer to a howto structure which, when
|
2827 |
|
|
invoked, will perform the relocation @var{code} on data from the
|
2828 |
|
|
architecture noted.
|
2829 |
|
|
|
2830 |
|
|
@findex bfd_default_reloc_type_lookup
|
2831 |
|
|
@subsubsection @code{bfd_default_reloc_type_lookup}
|
2832 |
|
|
@strong{Synopsis}
|
2833 |
|
|
@example
|
2834 |
|
|
reloc_howto_type *bfd_default_reloc_type_lookup
|
2835 |
|
|
(bfd *abfd, bfd_reloc_code_real_type code);
|
2836 |
|
|
@end example
|
2837 |
|
|
@strong{Description}@*
|
2838 |
|
|
Provides a default relocation lookup routine for any architecture.
|
2839 |
|
|
|
2840 |
|
|
@findex bfd_get_reloc_code_name
|
2841 |
|
|
@subsubsection @code{bfd_get_reloc_code_name}
|
2842 |
|
|
@strong{Synopsis}
|
2843 |
|
|
@example
|
2844 |
|
|
const char *bfd_get_reloc_code_name (bfd_reloc_code_real_type code);
|
2845 |
|
|
@end example
|
2846 |
|
|
@strong{Description}@*
|
2847 |
|
|
Provides a printable name for the supplied relocation code.
|
2848 |
|
|
Useful mainly for printing error messages.
|
2849 |
|
|
|
2850 |
|
|
@findex bfd_generic_relax_section
|
2851 |
|
|
@subsubsection @code{bfd_generic_relax_section}
|
2852 |
|
|
@strong{Synopsis}
|
2853 |
|
|
@example
|
2854 |
|
|
bfd_boolean bfd_generic_relax_section
|
2855 |
|
|
(bfd *abfd,
|
2856 |
|
|
asection *section,
|
2857 |
|
|
struct bfd_link_info *,
|
2858 |
|
|
bfd_boolean *);
|
2859 |
|
|
@end example
|
2860 |
|
|
@strong{Description}@*
|
2861 |
|
|
Provides default handling for relaxing for back ends which
|
2862 |
|
|
don't do relaxing.
|
2863 |
|
|
|
2864 |
|
|
@findex bfd_generic_gc_sections
|
2865 |
|
|
@subsubsection @code{bfd_generic_gc_sections}
|
2866 |
|
|
@strong{Synopsis}
|
2867 |
|
|
@example
|
2868 |
|
|
bfd_boolean bfd_generic_gc_sections
|
2869 |
|
|
(bfd *, struct bfd_link_info *);
|
2870 |
|
|
@end example
|
2871 |
|
|
@strong{Description}@*
|
2872 |
|
|
Provides default handling for relaxing for back ends which
|
2873 |
|
|
don't do section gc -- i.e., does nothing.
|
2874 |
|
|
|
2875 |
|
|
@findex bfd_generic_merge_sections
|
2876 |
|
|
@subsubsection @code{bfd_generic_merge_sections}
|
2877 |
|
|
@strong{Synopsis}
|
2878 |
|
|
@example
|
2879 |
|
|
bfd_boolean bfd_generic_merge_sections
|
2880 |
|
|
(bfd *, struct bfd_link_info *);
|
2881 |
|
|
@end example
|
2882 |
|
|
@strong{Description}@*
|
2883 |
|
|
Provides default handling for SEC_MERGE section merging for back ends
|
2884 |
|
|
which don't have SEC_MERGE support -- i.e., does nothing.
|
2885 |
|
|
|
2886 |
|
|
@findex bfd_generic_get_relocated_section_contents
|
2887 |
|
|
@subsubsection @code{bfd_generic_get_relocated_section_contents}
|
2888 |
|
|
@strong{Synopsis}
|
2889 |
|
|
@example
|
2890 |
|
|
bfd_byte *bfd_generic_get_relocated_section_contents
|
2891 |
|
|
(bfd *abfd,
|
2892 |
|
|
struct bfd_link_info *link_info,
|
2893 |
|
|
struct bfd_link_order *link_order,
|
2894 |
|
|
bfd_byte *data,
|
2895 |
|
|
bfd_boolean relocatable,
|
2896 |
|
|
asymbol **symbols);
|
2897 |
|
|
@end example
|
2898 |
|
|
@strong{Description}@*
|
2899 |
|
|
Provides default handling of relocation effort for back ends
|
2900 |
|
|
which can't be bothered to do it efficiently.
|
2901 |
|
|
|