1 | @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 symbol_cache_entry **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
|
---|
88 | the pointer into the table returned by the back end's
|
---|
89 | @code{get_symtab} action. @xref{Symbols}. The symbol is referenced
|
---|
90 | through a pointer to a pointer so that tools like the linker
|
---|
91 | can fix up all the symbols of the same name by modifying only
|
---|
92 | one pointer. The relocation routine looks in the symbol and
|
---|
93 | uses the base of the section the symbol is attached to and the
|
---|
94 | value of the symbol as the initial relocation offset. If the
|
---|
95 | symbol pointer is zero, then the section provided is looked up.
|
---|
96 |
|
---|
97 | @itemize @bullet
|
---|
98 |
|
---|
99 | @item
|
---|
100 | @code{address}
|
---|
101 | @end itemize
|
---|
102 | The @code{address} field gives the offset in bytes from the base of
|
---|
103 | the section data which owns the relocation record to the first
|
---|
104 | byte of relocatable information. The actual data relocated
|
---|
105 | will be relative to this point; for example, a relocation
|
---|
106 | type which modifies the bottom two bytes of a four byte word
|
---|
107 | would not touch the first byte pointed to in a big endian
|
---|
108 | world.
|
---|
109 |
|
---|
110 | @itemize @bullet
|
---|
111 |
|
---|
112 | @item
|
---|
113 | @code{addend}
|
---|
114 | @end itemize
|
---|
115 | The @code{addend} is a value provided by the back end to be added (!)
|
---|
116 | to the relocation offset. Its interpretation is dependent upon
|
---|
117 | the howto. For example, on the 68k the code:
|
---|
118 |
|
---|
119 | @example
|
---|
120 | char foo[];
|
---|
121 | main()
|
---|
122 | @{
|
---|
123 | return foo[0x12345678];
|
---|
124 | @}
|
---|
125 | @end example
|
---|
126 |
|
---|
127 | Could be compiled into:
|
---|
128 |
|
---|
129 | @example
|
---|
130 | linkw fp,#-4
|
---|
131 | moveb @@#12345678,d0
|
---|
132 | extbl d0
|
---|
133 | unlk fp
|
---|
134 | rts
|
---|
135 | @end example
|
---|
136 |
|
---|
137 | This could create a reloc pointing to @code{foo}, but leave the
|
---|
138 | offset in the data, something like:
|
---|
139 |
|
---|
140 | @example
|
---|
141 | RELOCATION RECORDS FOR [.text]:
|
---|
142 | offset type value
|
---|
143 | 00000006 32 _foo
|
---|
144 |
|
---|
145 | 00000000 4e56 fffc ; linkw fp,#-4
|
---|
146 | 00000004 1039 1234 5678 ; moveb @@#12345678,d0
|
---|
147 | 0000000a 49c0 ; extbl d0
|
---|
148 | 0000000c 4e5e ; unlk fp
|
---|
149 | 0000000e 4e75 ; rts
|
---|
150 | @end example
|
---|
151 |
|
---|
152 | Using coff and an 88k, some instructions don't have enough
|
---|
153 | space in them to represent the full address range, and
|
---|
154 | pointers have to be loaded in two parts. So you'd get something like:
|
---|
155 |
|
---|
156 | @example
|
---|
157 | or.u r13,r0,hi16(_foo+0x12345678)
|
---|
158 | ld.b r2,r13,lo16(_foo+0x12345678)
|
---|
159 | jmp r1
|
---|
160 | @end example
|
---|
161 |
|
---|
162 | This should create two relocs, both pointing to @code{_foo}, and with
|
---|
163 | 0x12340000 in their addend field. The data would consist of:
|
---|
164 |
|
---|
165 | @example
|
---|
166 | RELOCATION RECORDS FOR [.text]:
|
---|
167 | offset type value
|
---|
168 | 00000002 HVRT16 _foo+0x12340000
|
---|
169 | 00000006 LVRT16 _foo+0x12340000
|
---|
170 |
|
---|
171 | 00000000 5da05678 ; or.u r13,r0,0x5678
|
---|
172 | 00000004 1c4d5678 ; ld.b r2,r13,0x5678
|
---|
173 | 00000008 f400c001 ; jmp r1
|
---|
174 | @end example
|
---|
175 |
|
---|
176 | The relocation routine digs out the value from the data, adds
|
---|
177 | it to the addend to get the original offset, and then adds the
|
---|
178 | value of @code{_foo}. Note that all 32 bits have to be kept around
|
---|
179 | somewhere, to cope with carry from bit 15 to bit 16.
|
---|
180 |
|
---|
181 | One further example is the sparc and the a.out format. The
|
---|
182 | sparc has a similar problem to the 88k, in that some
|
---|
183 | instructions don't have room for an entire offset, but on the
|
---|
184 | sparc the parts are created in odd sized lumps. The designers of
|
---|
185 | the a.out format chose to not use the data within the section
|
---|
186 | for storing part of the offset; all the offset is kept within
|
---|
187 | the reloc. Anything in the data should be ignored.
|
---|
188 |
|
---|
189 | @example
|
---|
190 | save %sp,-112,%sp
|
---|
191 | sethi %hi(_foo+0x12345678),%g2
|
---|
192 | ldsb [%g2+%lo(_foo+0x12345678)],%i0
|
---|
193 | ret
|
---|
194 | restore
|
---|
195 | @end example
|
---|
196 |
|
---|
197 | Both relocs contain a pointer to @code{foo}, and the offsets
|
---|
198 | contain junk.
|
---|
199 |
|
---|
200 | @example
|
---|
201 | RELOCATION RECORDS FOR [.text]:
|
---|
202 | offset type value
|
---|
203 | 00000004 HI22 _foo+0x12345678
|
---|
204 | 00000008 LO10 _foo+0x12345678
|
---|
205 |
|
---|
206 | 00000000 9de3bf90 ; save %sp,-112,%sp
|
---|
207 | 00000004 05000000 ; sethi %hi(_foo+0),%g2
|
---|
208 | 00000008 f048a000 ; ldsb [%g2+%lo(_foo+0)],%i0
|
---|
209 | 0000000c 81c7e008 ; ret
|
---|
210 | 00000010 81e80000 ; restore
|
---|
211 | @end example
|
---|
212 |
|
---|
213 | @itemize @bullet
|
---|
214 |
|
---|
215 | @item
|
---|
216 | @code{howto}
|
---|
217 | @end itemize
|
---|
218 | The @code{howto} field can be imagined as a
|
---|
219 | relocation instruction. It is a pointer to a structure which
|
---|
220 | contains information on what to do with all of the other
|
---|
221 | information in the reloc record and data section. A back end
|
---|
222 | would normally have a relocation instruction set and turn
|
---|
223 | relocations into pointers to the correct structure on input -
|
---|
224 | but it would be possible to create each howto field on demand.
|
---|
225 |
|
---|
226 | @subsubsection @code{enum complain_overflow}
|
---|
227 | Indicates what sort of overflow checking should be done when
|
---|
228 | performing a relocation.
|
---|
229 |
|
---|
230 |
|
---|
231 | @example
|
---|
232 |
|
---|
233 | enum complain_overflow
|
---|
234 | @{
|
---|
235 | /* Do not complain on overflow. */
|
---|
236 | complain_overflow_dont,
|
---|
237 |
|
---|
238 | /* Complain if the bitfield overflows, whether it is considered
|
---|
239 | as signed or unsigned. */
|
---|
240 | complain_overflow_bitfield,
|
---|
241 |
|
---|
242 | /* Complain if the value overflows when considered as signed
|
---|
243 | number. */
|
---|
244 | complain_overflow_signed,
|
---|
245 |
|
---|
246 | /* Complain if the value overflows when considered as an
|
---|
247 | unsigned number. */
|
---|
248 | complain_overflow_unsigned
|
---|
249 | @};
|
---|
250 | @end example
|
---|
251 | @subsubsection @code{reloc_howto_type}
|
---|
252 | The @code{reloc_howto_type} is a structure which contains all the
|
---|
253 | information that libbfd needs to know to tie up a back end's data.
|
---|
254 |
|
---|
255 |
|
---|
256 | @example
|
---|
257 | struct symbol_cache_entry; /* Forward declaration. */
|
---|
258 |
|
---|
259 | struct reloc_howto_struct
|
---|
260 | @{
|
---|
261 | /* The type field has mainly a documentary use - the back end can
|
---|
262 | do what it wants with it, though normally the back end's
|
---|
263 | external idea of what a reloc number is stored
|
---|
264 | in this field. For example, a PC relative word relocation
|
---|
265 | in a coff environment has the type 023 - because that's
|
---|
266 | what the outside world calls a R_PCRWORD reloc. */
|
---|
267 | unsigned int type;
|
---|
268 |
|
---|
269 | /* The value the final relocation is shifted right by. This drops
|
---|
270 | unwanted data from the relocation. */
|
---|
271 | unsigned int rightshift;
|
---|
272 |
|
---|
273 | /* The size of the item to be relocated. This is *not* a
|
---|
274 | power-of-two measure. To get the number of bytes operated
|
---|
275 | on by a type of relocation, use bfd_get_reloc_size. */
|
---|
276 | int size;
|
---|
277 |
|
---|
278 | /* The number of bits in the item to be relocated. This is used
|
---|
279 | when doing overflow checking. */
|
---|
280 | unsigned int bitsize;
|
---|
281 |
|
---|
282 | /* Notes that the relocation is relative to the location in the
|
---|
283 | data section of the addend. The relocation function will
|
---|
284 | subtract from the relocation value the address of the location
|
---|
285 | being relocated. */
|
---|
286 | bfd_boolean pc_relative;
|
---|
287 |
|
---|
288 | /* The bit position of the reloc value in the destination.
|
---|
289 | The relocated value is left shifted by this amount. */
|
---|
290 | unsigned int bitpos;
|
---|
291 |
|
---|
292 | /* What type of overflow error should be checked for when
|
---|
293 | relocating. */
|
---|
294 | enum complain_overflow complain_on_overflow;
|
---|
295 |
|
---|
296 | /* If this field is non null, then the supplied function is
|
---|
297 | called rather than the normal function. This allows really
|
---|
298 | strange relocation methods to be accomodated (e.g., i960 callj
|
---|
299 | instructions). */
|
---|
300 | bfd_reloc_status_type (*special_function)
|
---|
301 | PARAMS ((bfd *, arelent *, struct symbol_cache_entry *, PTR, asection *,
|
---|
302 | bfd *, char **));
|
---|
303 |
|
---|
304 | /* The textual name of the relocation type. */
|
---|
305 | char *name;
|
---|
306 |
|
---|
307 | /* Some formats record a relocation addend in the section contents
|
---|
308 | rather than with the relocation. For ELF formats this is the
|
---|
309 | distinction between USE_REL and USE_RELA (though the code checks
|
---|
310 | for USE_REL == 1/0). The value of this field is TRUE if the
|
---|
311 | addend is recorded with the section contents; when performing a
|
---|
312 | partial link (ld -r) the section contents (the data) will be
|
---|
313 | modified. The value of this field is FALSE if addends are
|
---|
314 | recorded with the relocation (in arelent.addend); when performing
|
---|
315 | a partial link the relocation will be modified.
|
---|
316 | All relocations for all ELF USE_RELA targets should set this field
|
---|
317 | to FALSE (values of TRUE should be looked on with suspicion).
|
---|
318 | However, the converse is not true: not all relocations of all ELF
|
---|
319 | USE_REL targets set this field to TRUE. Why this is so is peculiar
|
---|
320 | to each particular target. For relocs that aren't used in partial
|
---|
321 | links (e.g. GOT stuff) it doesn't matter what this is set to. */
|
---|
322 | bfd_boolean partial_inplace;
|
---|
323 |
|
---|
324 | /* src_mask selects the part of the instruction (or data) to be used
|
---|
325 | in the relocation sum. If the target relocations don't have an
|
---|
326 | addend in the reloc, eg. ELF USE_REL, src_mask will normally equal
|
---|
327 | dst_mask to extract the addend from the section contents. If
|
---|
328 | relocations do have an addend in the reloc, eg. ELF USE_RELA, this
|
---|
329 | field should be zero. Non-zero values for ELF USE_RELA targets are
|
---|
330 | bogus as in those cases the value in the dst_mask part of the
|
---|
331 | section contents should be treated as garbage. */
|
---|
332 | bfd_vma src_mask;
|
---|
333 |
|
---|
334 | /* dst_mask selects which parts of the instruction (or data) are
|
---|
335 | replaced with a relocated value. */
|
---|
336 | bfd_vma dst_mask;
|
---|
337 |
|
---|
338 | /* When some formats create PC relative instructions, they leave
|
---|
339 | the value of the pc of the place being relocated in the offset
|
---|
340 | slot of the instruction, so that a PC relative relocation can
|
---|
341 | be made just by adding in an ordinary offset (e.g., sun3 a.out).
|
---|
342 | Some formats leave the displacement part of an instruction
|
---|
343 | empty (e.g., m88k bcs); this flag signals the fact. */
|
---|
344 | bfd_boolean pcrel_offset;
|
---|
345 | @};
|
---|
346 |
|
---|
347 | @end example
|
---|
348 | @findex The HOWTO Macro
|
---|
349 | @subsubsection @code{The HOWTO Macro}
|
---|
350 | @strong{Description}@*
|
---|
351 | The HOWTO define is horrible and will go away.
|
---|
352 | @example
|
---|
353 | #define HOWTO(C, R, S, B, P, BI, O, SF, NAME, INPLACE, MASKSRC, MASKDST, PC) \
|
---|
354 | @{ (unsigned) C, R, S, B, P, BI, O, SF, NAME, INPLACE, MASKSRC, MASKDST, PC @}
|
---|
355 | @end example
|
---|
356 |
|
---|
357 | @strong{Description}@*
|
---|
358 | And will be replaced with the totally magic way. But for the
|
---|
359 | moment, we are compatible, so do it this way.
|
---|
360 | @example
|
---|
361 | #define NEWHOWTO(FUNCTION, NAME, SIZE, REL, IN) \
|
---|
362 | HOWTO (0, 0, SIZE, 0, REL, 0, complain_overflow_dont, FUNCTION, \
|
---|
363 | NAME, FALSE, 0, 0, IN)
|
---|
364 |
|
---|
365 | @end example
|
---|
366 |
|
---|
367 | @strong{Description}@*
|
---|
368 | This is used to fill in an empty howto entry in an array.
|
---|
369 | @example
|
---|
370 | #define EMPTY_HOWTO(C) \
|
---|
371 | HOWTO ((C), 0, 0, 0, FALSE, 0, complain_overflow_dont, NULL, \
|
---|
372 | NULL, FALSE, 0, 0, FALSE)
|
---|
373 |
|
---|
374 | @end example
|
---|
375 |
|
---|
376 | @strong{Description}@*
|
---|
377 | Helper routine to turn a symbol into a relocation value.
|
---|
378 | @example
|
---|
379 | #define HOWTO_PREPARE(relocation, symbol) \
|
---|
380 | @{ \
|
---|
381 | if (symbol != (asymbol *) NULL) \
|
---|
382 | @{ \
|
---|
383 | if (bfd_is_com_section (symbol->section)) \
|
---|
384 | @{ \
|
---|
385 | relocation = 0; \
|
---|
386 | @} \
|
---|
387 | else \
|
---|
388 | @{ \
|
---|
389 | relocation = symbol->value; \
|
---|
390 | @} \
|
---|
391 | @} \
|
---|
392 | @}
|
---|
393 |
|
---|
394 | @end example
|
---|
395 |
|
---|
396 | @findex bfd_get_reloc_size
|
---|
397 | @subsubsection @code{bfd_get_reloc_size}
|
---|
398 | @strong{Synopsis}
|
---|
399 | @example
|
---|
400 | unsigned int bfd_get_reloc_size (reloc_howto_type *);
|
---|
401 | @end example
|
---|
402 | @strong{Description}@*
|
---|
403 | For a reloc_howto_type that operates on a fixed number of bytes,
|
---|
404 | this returns the number of bytes operated on.
|
---|
405 |
|
---|
406 | @findex arelent_chain
|
---|
407 | @subsubsection @code{arelent_chain}
|
---|
408 | @strong{Description}@*
|
---|
409 | How relocs are tied together in an @code{asection}:
|
---|
410 | @example
|
---|
411 | typedef struct relent_chain
|
---|
412 | @{
|
---|
413 | arelent relent;
|
---|
414 | struct relent_chain *next;
|
---|
415 | @}
|
---|
416 | arelent_chain;
|
---|
417 |
|
---|
418 | @end example
|
---|
419 |
|
---|
420 | @findex bfd_check_overflow
|
---|
421 | @subsubsection @code{bfd_check_overflow}
|
---|
422 | @strong{Synopsis}
|
---|
423 | @example
|
---|
424 | bfd_reloc_status_type
|
---|
425 | bfd_check_overflow
|
---|
426 | (enum complain_overflow how,
|
---|
427 | unsigned int bitsize,
|
---|
428 | unsigned int rightshift,
|
---|
429 | unsigned int addrsize,
|
---|
430 | bfd_vma relocation);
|
---|
431 | @end example
|
---|
432 | @strong{Description}@*
|
---|
433 | Perform overflow checking on @var{relocation} which has
|
---|
434 | @var{bitsize} significant bits and will be shifted right by
|
---|
435 | @var{rightshift} bits, on a machine with addresses containing
|
---|
436 | @var{addrsize} significant bits. The result is either of
|
---|
437 | @code{bfd_reloc_ok} or @code{bfd_reloc_overflow}.
|
---|
438 |
|
---|
439 | @findex bfd_perform_relocation
|
---|
440 | @subsubsection @code{bfd_perform_relocation}
|
---|
441 | @strong{Synopsis}
|
---|
442 | @example
|
---|
443 | bfd_reloc_status_type
|
---|
444 | bfd_perform_relocation
|
---|
445 | (bfd *abfd,
|
---|
446 | arelent *reloc_entry,
|
---|
447 | PTR data,
|
---|
448 | asection *input_section,
|
---|
449 | bfd *output_bfd,
|
---|
450 | char **error_message);
|
---|
451 | @end example
|
---|
452 | @strong{Description}@*
|
---|
453 | If @var{output_bfd} is supplied to this function, the
|
---|
454 | generated image will be relocatable; the relocations are
|
---|
455 | copied to the output file after they have been changed to
|
---|
456 | reflect the new state of the world. There are two ways of
|
---|
457 | reflecting the results of partial linkage in an output file:
|
---|
458 | by modifying the output data in place, and by modifying the
|
---|
459 | relocation record. Some native formats (e.g., basic a.out and
|
---|
460 | basic coff) have no way of specifying an addend in the
|
---|
461 | relocation type, so the addend has to go in the output data.
|
---|
462 | This is no big deal since in these formats the output data
|
---|
463 | slot will always be big enough for the addend. Complex reloc
|
---|
464 | types with addends were invented to solve just this problem.
|
---|
465 | The @var{error_message} argument is set to an error message if
|
---|
466 | this return @code{bfd_reloc_dangerous}.
|
---|
467 |
|
---|
468 | @findex bfd_install_relocation
|
---|
469 | @subsubsection @code{bfd_install_relocation}
|
---|
470 | @strong{Synopsis}
|
---|
471 | @example
|
---|
472 | bfd_reloc_status_type
|
---|
473 | bfd_install_relocation
|
---|
474 | (bfd *abfd,
|
---|
475 | arelent *reloc_entry,
|
---|
476 | PTR data, bfd_vma data_start,
|
---|
477 | asection *input_section,
|
---|
478 | char **error_message);
|
---|
479 | @end example
|
---|
480 | @strong{Description}@*
|
---|
481 | This looks remarkably like @code{bfd_perform_relocation}, except it
|
---|
482 | does not expect that the section contents have been filled in.
|
---|
483 | I.e., it's suitable for use when creating, rather than applying
|
---|
484 | a relocation.
|
---|
485 |
|
---|
486 | For now, this function should be considered reserved for the
|
---|
487 | assembler.
|
---|
488 |
|
---|
489 |
|
---|
490 | @node howto manager, , typedef arelent, Relocations
|
---|
491 | @section The howto manager
|
---|
492 | When an application wants to create a relocation, but doesn't
|
---|
493 | know what the target machine might call it, it can find out by
|
---|
494 | using this bit of code.
|
---|
495 |
|
---|
496 | @findex bfd_reloc_code_type
|
---|
497 | @subsubsection @code{bfd_reloc_code_type}
|
---|
498 | @strong{Description}@*
|
---|
499 | The insides of a reloc code. The idea is that, eventually, there
|
---|
500 | will be one enumerator for every type of relocation we ever do.
|
---|
501 | Pass one of these values to @code{bfd_reloc_type_lookup}, and it'll
|
---|
502 | return a howto pointer.
|
---|
503 |
|
---|
504 | This does mean that the application must determine the correct
|
---|
505 | enumerator value; you can't get a howto pointer from a random set
|
---|
506 | of attributes.
|
---|
507 |
|
---|
508 | Here are the possible values for @code{enum bfd_reloc_code_real}:
|
---|
509 |
|
---|
510 | @deffn {} BFD_RELOC_64
|
---|
511 | @deffnx {} BFD_RELOC_32
|
---|
512 | @deffnx {} BFD_RELOC_26
|
---|
513 | @deffnx {} BFD_RELOC_24
|
---|
514 | @deffnx {} BFD_RELOC_16
|
---|
515 | @deffnx {} BFD_RELOC_14
|
---|
516 | @deffnx {} BFD_RELOC_8
|
---|
517 | Basic absolute relocations of N bits.
|
---|
518 | @end deffn
|
---|
519 | @deffn {} BFD_RELOC_64_PCREL
|
---|
520 | @deffnx {} BFD_RELOC_32_PCREL
|
---|
521 | @deffnx {} BFD_RELOC_24_PCREL
|
---|
522 | @deffnx {} BFD_RELOC_16_PCREL
|
---|
523 | @deffnx {} BFD_RELOC_12_PCREL
|
---|
524 | @deffnx {} BFD_RELOC_8_PCREL
|
---|
525 | PC-relative relocations. Sometimes these are relative to the address
|
---|
526 | of the relocation itself; sometimes they are relative to the start of
|
---|
527 | the section containing the relocation. It depends on the specific target.
|
---|
528 |
|
---|
529 | The 24-bit relocation is used in some Intel 960 configurations.
|
---|
530 | @end deffn
|
---|
531 | @deffn {} BFD_RELOC_32_GOT_PCREL
|
---|
532 | @deffnx {} BFD_RELOC_16_GOT_PCREL
|
---|
533 | @deffnx {} BFD_RELOC_8_GOT_PCREL
|
---|
534 | @deffnx {} BFD_RELOC_32_GOTOFF
|
---|
535 | @deffnx {} BFD_RELOC_16_GOTOFF
|
---|
536 | @deffnx {} BFD_RELOC_LO16_GOTOFF
|
---|
537 | @deffnx {} BFD_RELOC_HI16_GOTOFF
|
---|
538 | @deffnx {} BFD_RELOC_HI16_S_GOTOFF
|
---|
539 | @deffnx {} BFD_RELOC_8_GOTOFF
|
---|
540 | @deffnx {} BFD_RELOC_64_PLT_PCREL
|
---|
541 | @deffnx {} BFD_RELOC_32_PLT_PCREL
|
---|
542 | @deffnx {} BFD_RELOC_24_PLT_PCREL
|
---|
543 | @deffnx {} BFD_RELOC_16_PLT_PCREL
|
---|
544 | @deffnx {} BFD_RELOC_8_PLT_PCREL
|
---|
545 | @deffnx {} BFD_RELOC_64_PLTOFF
|
---|
546 | @deffnx {} BFD_RELOC_32_PLTOFF
|
---|
547 | @deffnx {} BFD_RELOC_16_PLTOFF
|
---|
548 | @deffnx {} BFD_RELOC_LO16_PLTOFF
|
---|
549 | @deffnx {} BFD_RELOC_HI16_PLTOFF
|
---|
550 | @deffnx {} BFD_RELOC_HI16_S_PLTOFF
|
---|
551 | @deffnx {} BFD_RELOC_8_PLTOFF
|
---|
552 | For ELF.
|
---|
553 | @end deffn
|
---|
554 | @deffn {} BFD_RELOC_68K_GLOB_DAT
|
---|
555 | @deffnx {} BFD_RELOC_68K_JMP_SLOT
|
---|
556 | @deffnx {} BFD_RELOC_68K_RELATIVE
|
---|
557 | Relocations used by 68K ELF.
|
---|
558 | @end deffn
|
---|
559 | @deffn {} BFD_RELOC_32_BASEREL
|
---|
560 | @deffnx {} BFD_RELOC_16_BASEREL
|
---|
561 | @deffnx {} BFD_RELOC_LO16_BASEREL
|
---|
562 | @deffnx {} BFD_RELOC_HI16_BASEREL
|
---|
563 | @deffnx {} BFD_RELOC_HI16_S_BASEREL
|
---|
564 | @deffnx {} BFD_RELOC_8_BASEREL
|
---|
565 | @deffnx {} BFD_RELOC_RVA
|
---|
566 | Linkage-table relative.
|
---|
567 | @end deffn
|
---|
568 | @deffn {} BFD_RELOC_8_FFnn
|
---|
569 | Absolute 8-bit relocation, but used to form an address like 0xFFnn.
|
---|
570 | @end deffn
|
---|
571 | @deffn {} BFD_RELOC_32_PCREL_S2
|
---|
572 | @deffnx {} BFD_RELOC_16_PCREL_S2
|
---|
573 | @deffnx {} BFD_RELOC_23_PCREL_S2
|
---|
574 | These PC-relative relocations are stored as word displacements --
|
---|
575 | i.e., byte displacements shifted right two bits. The 30-bit word
|
---|
576 | displacement (<<32_PCREL_S2>> -- 32 bits, shifted 2) is used on the
|
---|
577 | SPARC. (SPARC tools generally refer to this as <<WDISP30>>.) The
|
---|
578 | signed 16-bit displacement is used on the MIPS, and the 23-bit
|
---|
579 | displacement is used on the Alpha.
|
---|
580 | @end deffn
|
---|
581 | @deffn {} BFD_RELOC_HI22
|
---|
582 | @deffnx {} BFD_RELOC_LO10
|
---|
583 | High 22 bits and low 10 bits of 32-bit value, placed into lower bits of
|
---|
584 | the target word. These are used on the SPARC.
|
---|
585 | @end deffn
|
---|
586 | @deffn {} BFD_RELOC_GPREL16
|
---|
587 | @deffnx {} BFD_RELOC_GPREL32
|
---|
588 | For systems that allocate a Global Pointer register, these are
|
---|
589 | displacements off that register. These relocation types are
|
---|
590 | handled specially, because the value the register will have is
|
---|
591 | decided relatively late.
|
---|
592 | @end deffn
|
---|
593 | @deffn {} BFD_RELOC_I960_CALLJ
|
---|
594 | Reloc types used for i960/b.out.
|
---|
595 | @end deffn
|
---|
596 | @deffn {} BFD_RELOC_NONE
|
---|
597 | @deffnx {} BFD_RELOC_SPARC_WDISP22
|
---|
598 | @deffnx {} BFD_RELOC_SPARC22
|
---|
599 | @deffnx {} BFD_RELOC_SPARC13
|
---|
600 | @deffnx {} BFD_RELOC_SPARC_GOT10
|
---|
601 | @deffnx {} BFD_RELOC_SPARC_GOT13
|
---|
602 | @deffnx {} BFD_RELOC_SPARC_GOT22
|
---|
603 | @deffnx {} BFD_RELOC_SPARC_PC10
|
---|
604 | @deffnx {} BFD_RELOC_SPARC_PC22
|
---|
605 | @deffnx {} BFD_RELOC_SPARC_WPLT30
|
---|
606 | @deffnx {} BFD_RELOC_SPARC_COPY
|
---|
607 | @deffnx {} BFD_RELOC_SPARC_GLOB_DAT
|
---|
608 | @deffnx {} BFD_RELOC_SPARC_JMP_SLOT
|
---|
609 | @deffnx {} BFD_RELOC_SPARC_RELATIVE
|
---|
610 | @deffnx {} BFD_RELOC_SPARC_UA16
|
---|
611 | @deffnx {} BFD_RELOC_SPARC_UA32
|
---|
612 | @deffnx {} BFD_RELOC_SPARC_UA64
|
---|
613 | SPARC ELF relocations. There is probably some overlap with other
|
---|
614 | relocation types already defined.
|
---|
615 | @end deffn
|
---|
616 | @deffn {} BFD_RELOC_SPARC_BASE13
|
---|
617 | @deffnx {} BFD_RELOC_SPARC_BASE22
|
---|
618 | I think these are specific to SPARC a.out (e.g., Sun 4).
|
---|
619 | @end deffn
|
---|
620 | @deffn {} BFD_RELOC_SPARC_64
|
---|
621 | @deffnx {} BFD_RELOC_SPARC_10
|
---|
622 | @deffnx {} BFD_RELOC_SPARC_11
|
---|
623 | @deffnx {} BFD_RELOC_SPARC_OLO10
|
---|
624 | @deffnx {} BFD_RELOC_SPARC_HH22
|
---|
625 | @deffnx {} BFD_RELOC_SPARC_HM10
|
---|
626 | @deffnx {} BFD_RELOC_SPARC_LM22
|
---|
627 | @deffnx {} BFD_RELOC_SPARC_PC_HH22
|
---|
628 | @deffnx {} BFD_RELOC_SPARC_PC_HM10
|
---|
629 | @deffnx {} BFD_RELOC_SPARC_PC_LM22
|
---|
630 | @deffnx {} BFD_RELOC_SPARC_WDISP16
|
---|
631 | @deffnx {} BFD_RELOC_SPARC_WDISP19
|
---|
632 | @deffnx {} BFD_RELOC_SPARC_7
|
---|
633 | @deffnx {} BFD_RELOC_SPARC_6
|
---|
634 | @deffnx {} BFD_RELOC_SPARC_5
|
---|
635 | @deffnx {} BFD_RELOC_SPARC_DISP64
|
---|
636 | @deffnx {} BFD_RELOC_SPARC_PLT32
|
---|
637 | @deffnx {} BFD_RELOC_SPARC_PLT64
|
---|
638 | @deffnx {} BFD_RELOC_SPARC_HIX22
|
---|
639 | @deffnx {} BFD_RELOC_SPARC_LOX10
|
---|
640 | @deffnx {} BFD_RELOC_SPARC_H44
|
---|
641 | @deffnx {} BFD_RELOC_SPARC_M44
|
---|
642 | @deffnx {} BFD_RELOC_SPARC_L44
|
---|
643 | @deffnx {} BFD_RELOC_SPARC_REGISTER
|
---|
644 | SPARC64 relocations
|
---|
645 | @end deffn
|
---|
646 | @deffn {} BFD_RELOC_SPARC_REV32
|
---|
647 | SPARC little endian relocation
|
---|
648 | @end deffn
|
---|
649 | @deffn {} BFD_RELOC_SPARC_TLS_GD_HI22
|
---|
650 | @deffnx {} BFD_RELOC_SPARC_TLS_GD_LO10
|
---|
651 | @deffnx {} BFD_RELOC_SPARC_TLS_GD_ADD
|
---|
652 | @deffnx {} BFD_RELOC_SPARC_TLS_GD_CALL
|
---|
653 | @deffnx {} BFD_RELOC_SPARC_TLS_LDM_HI22
|
---|
654 | @deffnx {} BFD_RELOC_SPARC_TLS_LDM_LO10
|
---|
655 | @deffnx {} BFD_RELOC_SPARC_TLS_LDM_ADD
|
---|
656 | @deffnx {} BFD_RELOC_SPARC_TLS_LDM_CALL
|
---|
657 | @deffnx {} BFD_RELOC_SPARC_TLS_LDO_HIX22
|
---|
658 | @deffnx {} BFD_RELOC_SPARC_TLS_LDO_LOX10
|
---|
659 | @deffnx {} BFD_RELOC_SPARC_TLS_LDO_ADD
|
---|
660 | @deffnx {} BFD_RELOC_SPARC_TLS_IE_HI22
|
---|
661 | @deffnx {} BFD_RELOC_SPARC_TLS_IE_LO10
|
---|
662 | @deffnx {} BFD_RELOC_SPARC_TLS_IE_LD
|
---|
663 | @deffnx {} BFD_RELOC_SPARC_TLS_IE_LDX
|
---|
664 | @deffnx {} BFD_RELOC_SPARC_TLS_IE_ADD
|
---|
665 | @deffnx {} BFD_RELOC_SPARC_TLS_LE_HIX22
|
---|
666 | @deffnx {} BFD_RELOC_SPARC_TLS_LE_LOX10
|
---|
667 | @deffnx {} BFD_RELOC_SPARC_TLS_DTPMOD32
|
---|
668 | @deffnx {} BFD_RELOC_SPARC_TLS_DTPMOD64
|
---|
669 | @deffnx {} BFD_RELOC_SPARC_TLS_DTPOFF32
|
---|
670 | @deffnx {} BFD_RELOC_SPARC_TLS_DTPOFF64
|
---|
671 | @deffnx {} BFD_RELOC_SPARC_TLS_TPOFF32
|
---|
672 | @deffnx {} BFD_RELOC_SPARC_TLS_TPOFF64
|
---|
673 | SPARC TLS relocations
|
---|
674 | @end deffn
|
---|
675 | @deffn {} BFD_RELOC_ALPHA_GPDISP_HI16
|
---|
676 | Alpha ECOFF and ELF relocations. Some of these treat the symbol or
|
---|
677 | "addend" in some special way.
|
---|
678 | For GPDISP_HI16 ("gpdisp") relocations, the symbol is ignored when
|
---|
679 | writing; when reading, it will be the absolute section symbol. The
|
---|
680 | addend is the displacement in bytes of the "lda" instruction from
|
---|
681 | the "ldah" instruction (which is at the address of this reloc).
|
---|
682 | @end deffn
|
---|
683 | @deffn {} BFD_RELOC_ALPHA_GPDISP_LO16
|
---|
684 | For GPDISP_LO16 ("ignore") relocations, the symbol is handled as
|
---|
685 | with GPDISP_HI16 relocs. The addend is ignored when writing the
|
---|
686 | relocations out, and is filled in with the file's GP value on
|
---|
687 | reading, for convenience.
|
---|
688 | @end deffn
|
---|
689 | @deffn {} BFD_RELOC_ALPHA_GPDISP
|
---|
690 | The ELF GPDISP relocation is exactly the same as the GPDISP_HI16
|
---|
691 | relocation except that there is no accompanying GPDISP_LO16
|
---|
692 | relocation.
|
---|
693 | @end deffn
|
---|
694 | @deffn {} BFD_RELOC_ALPHA_LITERAL
|
---|
695 | @deffnx {} BFD_RELOC_ALPHA_ELF_LITERAL
|
---|
696 | @deffnx {} BFD_RELOC_ALPHA_LITUSE
|
---|
697 | The Alpha LITERAL/LITUSE relocs are produced by a symbol reference;
|
---|
698 | the assembler turns it into a LDQ instruction to load the address of
|
---|
699 | the symbol, and then fills in a register in the real instruction.
|
---|
700 |
|
---|
701 | The LITERAL reloc, at the LDQ instruction, refers to the .lita
|
---|
702 | section symbol. The addend is ignored when writing, but is filled
|
---|
703 | in with the file's GP value on reading, for convenience, as with the
|
---|
704 | GPDISP_LO16 reloc.
|
---|
705 |
|
---|
706 | The ELF_LITERAL reloc is somewhere between 16_GOTOFF and GPDISP_LO16.
|
---|
707 | It should refer to the symbol to be referenced, as with 16_GOTOFF,
|
---|
708 | but it generates output not based on the position within the .got
|
---|
709 | section, but relative to the GP value chosen for the file during the
|
---|
710 | final link stage.
|
---|
711 |
|
---|
712 | The LITUSE reloc, on the instruction using the loaded address, gives
|
---|
713 | information to the linker that it might be able to use to optimize
|
---|
714 | away some literal section references. The symbol is ignored (read
|
---|
715 | as the absolute section symbol), and the "addend" indicates the type
|
---|
716 | of instruction using the register:
|
---|
717 | 1 - "memory" fmt insn
|
---|
718 | 2 - byte-manipulation (byte offset reg)
|
---|
719 | 3 - jsr (target of branch)
|
---|
720 | @end deffn
|
---|
721 | @deffn {} BFD_RELOC_ALPHA_HINT
|
---|
722 | The HINT relocation indicates a value that should be filled into the
|
---|
723 | "hint" field of a jmp/jsr/ret instruction, for possible branch-
|
---|
724 | prediction logic which may be provided on some processors.
|
---|
725 | @end deffn
|
---|
726 | @deffn {} BFD_RELOC_ALPHA_LINKAGE
|
---|
727 | The LINKAGE relocation outputs a linkage pair in the object file,
|
---|
728 | which is filled by the linker.
|
---|
729 | @end deffn
|
---|
730 | @deffn {} BFD_RELOC_ALPHA_CODEADDR
|
---|
731 | The CODEADDR relocation outputs a STO_CA in the object file,
|
---|
732 | which is filled by the linker.
|
---|
733 | @end deffn
|
---|
734 | @deffn {} BFD_RELOC_ALPHA_GPREL_HI16
|
---|
735 | @deffnx {} BFD_RELOC_ALPHA_GPREL_LO16
|
---|
736 | The GPREL_HI/LO relocations together form a 32-bit offset from the
|
---|
737 | GP register.
|
---|
738 | @end deffn
|
---|
739 | @deffn {} BFD_RELOC_ALPHA_BRSGP
|
---|
740 | Like BFD_RELOC_23_PCREL_S2, except that the source and target must
|
---|
741 | share a common GP, and the target address is adjusted for
|
---|
742 | STO_ALPHA_STD_GPLOAD.
|
---|
743 | @end deffn
|
---|
744 | @deffn {} BFD_RELOC_ALPHA_TLSGD
|
---|
745 | @deffnx {} BFD_RELOC_ALPHA_TLSLDM
|
---|
746 | @deffnx {} BFD_RELOC_ALPHA_DTPMOD64
|
---|
747 | @deffnx {} BFD_RELOC_ALPHA_GOTDTPREL16
|
---|
748 | @deffnx {} BFD_RELOC_ALPHA_DTPREL64
|
---|
749 | @deffnx {} BFD_RELOC_ALPHA_DTPREL_HI16
|
---|
750 | @deffnx {} BFD_RELOC_ALPHA_DTPREL_LO16
|
---|
751 | @deffnx {} BFD_RELOC_ALPHA_DTPREL16
|
---|
752 | @deffnx {} BFD_RELOC_ALPHA_GOTTPREL16
|
---|
753 | @deffnx {} BFD_RELOC_ALPHA_TPREL64
|
---|
754 | @deffnx {} BFD_RELOC_ALPHA_TPREL_HI16
|
---|
755 | @deffnx {} BFD_RELOC_ALPHA_TPREL_LO16
|
---|
756 | @deffnx {} BFD_RELOC_ALPHA_TPREL16
|
---|
757 | Alpha thread-local storage relocations.
|
---|
758 | @end deffn
|
---|
759 | @deffn {} BFD_RELOC_MIPS_JMP
|
---|
760 | Bits 27..2 of the relocation address shifted right 2 bits;
|
---|
761 | simple reloc otherwise.
|
---|
762 | @end deffn
|
---|
763 | @deffn {} BFD_RELOC_MIPS16_JMP
|
---|
764 | The MIPS16 jump instruction.
|
---|
765 | @end deffn
|
---|
766 | @deffn {} BFD_RELOC_MIPS16_GPREL
|
---|
767 | MIPS16 GP relative reloc.
|
---|
768 | @end deffn
|
---|
769 | @deffn {} BFD_RELOC_HI16
|
---|
770 | High 16 bits of 32-bit value; simple reloc.
|
---|
771 | @end deffn
|
---|
772 | @deffn {} BFD_RELOC_HI16_S
|
---|
773 | High 16 bits of 32-bit value but the low 16 bits will be sign
|
---|
774 | extended and added to form the final result. If the low 16
|
---|
775 | bits form a negative number, we need to add one to the high value
|
---|
776 | to compensate for the borrow when the low bits are added.
|
---|
777 | @end deffn
|
---|
778 | @deffn {} BFD_RELOC_LO16
|
---|
779 | Low 16 bits.
|
---|
780 | @end deffn
|
---|
781 | @deffn {} BFD_RELOC_PCREL_HI16_S
|
---|
782 | Like BFD_RELOC_HI16_S, but PC relative.
|
---|
783 | @end deffn
|
---|
784 | @deffn {} BFD_RELOC_PCREL_LO16
|
---|
785 | Like BFD_RELOC_LO16, but PC relative.
|
---|
786 | @end deffn
|
---|
787 | @deffn {} BFD_RELOC_MIPS_LITERAL
|
---|
788 | Relocation against a MIPS literal section.
|
---|
789 | @end deffn
|
---|
790 | @deffn {} BFD_RELOC_MIPS_GOT16
|
---|
791 | @deffnx {} BFD_RELOC_MIPS_CALL16
|
---|
792 | @deffnx {} BFD_RELOC_MIPS_GOT_HI16
|
---|
793 | @deffnx {} BFD_RELOC_MIPS_GOT_LO16
|
---|
794 | @deffnx {} BFD_RELOC_MIPS_CALL_HI16
|
---|
795 | @deffnx {} BFD_RELOC_MIPS_CALL_LO16
|
---|
796 | @deffnx {} BFD_RELOC_MIPS_SUB
|
---|
797 | @deffnx {} BFD_RELOC_MIPS_GOT_PAGE
|
---|
798 | @deffnx {} BFD_RELOC_MIPS_GOT_OFST
|
---|
799 | @deffnx {} BFD_RELOC_MIPS_GOT_DISP
|
---|
800 | @deffnx {} BFD_RELOC_MIPS_SHIFT5
|
---|
801 | @deffnx {} BFD_RELOC_MIPS_SHIFT6
|
---|
802 | @deffnx {} BFD_RELOC_MIPS_INSERT_A
|
---|
803 | @deffnx {} BFD_RELOC_MIPS_INSERT_B
|
---|
804 | @deffnx {} BFD_RELOC_MIPS_DELETE
|
---|
805 | @deffnx {} BFD_RELOC_MIPS_HIGHEST
|
---|
806 | @deffnx {} BFD_RELOC_MIPS_HIGHER
|
---|
807 | @deffnx {} BFD_RELOC_MIPS_SCN_DISP
|
---|
808 | @deffnx {} BFD_RELOC_MIPS_REL16
|
---|
809 | @deffnx {} BFD_RELOC_MIPS_RELGOT
|
---|
810 | @deffnx {} BFD_RELOC_MIPS_JALR
|
---|
811 | @deffn {} BFD_RELOC_FRV_LABEL16
|
---|
812 | @deffnx {} BFD_RELOC_FRV_LABEL24
|
---|
813 | @deffnx {} BFD_RELOC_FRV_LO16
|
---|
814 | @deffnx {} BFD_RELOC_FRV_HI16
|
---|
815 | @deffnx {} BFD_RELOC_FRV_GPREL12
|
---|
816 | @deffnx {} BFD_RELOC_FRV_GPRELU12
|
---|
817 | @deffnx {} BFD_RELOC_FRV_GPREL32
|
---|
818 | @deffnx {} BFD_RELOC_FRV_GPRELHI
|
---|
819 | @deffnx {} BFD_RELOC_FRV_GPRELLO
|
---|
820 | Fujitsu Frv Relocations.
|
---|
821 | @end deffn
|
---|
822 | MIPS ELF relocations.
|
---|
823 | @end deffn
|
---|
824 | @deffn {} BFD_RELOC_386_GOT32
|
---|
825 | @deffnx {} BFD_RELOC_386_PLT32
|
---|
826 | @deffnx {} BFD_RELOC_386_COPY
|
---|
827 | @deffnx {} BFD_RELOC_386_GLOB_DAT
|
---|
828 | @deffnx {} BFD_RELOC_386_JUMP_SLOT
|
---|
829 | @deffnx {} BFD_RELOC_386_RELATIVE
|
---|
830 | @deffnx {} BFD_RELOC_386_GOTOFF
|
---|
831 | @deffnx {} BFD_RELOC_386_GOTPC
|
---|
832 | @deffnx {} BFD_RELOC_386_TLS_TPOFF
|
---|
833 | @deffnx {} BFD_RELOC_386_TLS_IE
|
---|
834 | @deffnx {} BFD_RELOC_386_TLS_GOTIE
|
---|
835 | @deffnx {} BFD_RELOC_386_TLS_LE
|
---|
836 | @deffnx {} BFD_RELOC_386_TLS_GD
|
---|
837 | @deffnx {} BFD_RELOC_386_TLS_LDM
|
---|
838 | @deffnx {} BFD_RELOC_386_TLS_LDO_32
|
---|
839 | @deffnx {} BFD_RELOC_386_TLS_IE_32
|
---|
840 | @deffnx {} BFD_RELOC_386_TLS_LE_32
|
---|
841 | @deffnx {} BFD_RELOC_386_TLS_DTPMOD32
|
---|
842 | @deffnx {} BFD_RELOC_386_TLS_DTPOFF32
|
---|
843 | @deffnx {} BFD_RELOC_386_TLS_TPOFF32
|
---|
844 | i386/elf relocations
|
---|
845 | @end deffn
|
---|
846 | @deffn {} BFD_RELOC_X86_64_GOT32
|
---|
847 | @deffnx {} BFD_RELOC_X86_64_PLT32
|
---|
848 | @deffnx {} BFD_RELOC_X86_64_COPY
|
---|
849 | @deffnx {} BFD_RELOC_X86_64_GLOB_DAT
|
---|
850 | @deffnx {} BFD_RELOC_X86_64_JUMP_SLOT
|
---|
851 | @deffnx {} BFD_RELOC_X86_64_RELATIVE
|
---|
852 | @deffnx {} BFD_RELOC_X86_64_GOTPCREL
|
---|
853 | @deffnx {} BFD_RELOC_X86_64_32S
|
---|
854 | @deffnx {} BFD_RELOC_X86_64_DTPMOD64
|
---|
855 | @deffnx {} BFD_RELOC_X86_64_DTPOFF64
|
---|
856 | @deffnx {} BFD_RELOC_X86_64_TPOFF64
|
---|
857 | @deffnx {} BFD_RELOC_X86_64_TLSGD
|
---|
858 | @deffnx {} BFD_RELOC_X86_64_TLSLD
|
---|
859 | @deffnx {} BFD_RELOC_X86_64_DTPOFF32
|
---|
860 | @deffnx {} BFD_RELOC_X86_64_GOTTPOFF
|
---|
861 | @deffnx {} BFD_RELOC_X86_64_TPOFF32
|
---|
862 | x86-64/elf relocations
|
---|
863 | @end deffn
|
---|
864 | @deffn {} BFD_RELOC_NS32K_IMM_8
|
---|
865 | @deffnx {} BFD_RELOC_NS32K_IMM_16
|
---|
866 | @deffnx {} BFD_RELOC_NS32K_IMM_32
|
---|
867 | @deffnx {} BFD_RELOC_NS32K_IMM_8_PCREL
|
---|
868 | @deffnx {} BFD_RELOC_NS32K_IMM_16_PCREL
|
---|
869 | @deffnx {} BFD_RELOC_NS32K_IMM_32_PCREL
|
---|
870 | @deffnx {} BFD_RELOC_NS32K_DISP_8
|
---|
871 | @deffnx {} BFD_RELOC_NS32K_DISP_16
|
---|
872 | @deffnx {} BFD_RELOC_NS32K_DISP_32
|
---|
873 | @deffnx {} BFD_RELOC_NS32K_DISP_8_PCREL
|
---|
874 | @deffnx {} BFD_RELOC_NS32K_DISP_16_PCREL
|
---|
875 | @deffnx {} BFD_RELOC_NS32K_DISP_32_PCREL
|
---|
876 | ns32k relocations
|
---|
877 | @end deffn
|
---|
878 | @deffn {} BFD_RELOC_PDP11_DISP_8_PCREL
|
---|
879 | @deffnx {} BFD_RELOC_PDP11_DISP_6_PCREL
|
---|
880 | PDP11 relocations
|
---|
881 | @end deffn
|
---|
882 | @deffn {} BFD_RELOC_PJ_CODE_HI16
|
---|
883 | @deffnx {} BFD_RELOC_PJ_CODE_LO16
|
---|
884 | @deffnx {} BFD_RELOC_PJ_CODE_DIR16
|
---|
885 | @deffnx {} BFD_RELOC_PJ_CODE_DIR32
|
---|
886 | @deffnx {} BFD_RELOC_PJ_CODE_REL16
|
---|
887 | @deffnx {} BFD_RELOC_PJ_CODE_REL32
|
---|
888 | Picojava relocs. Not all of these appear in object files.
|
---|
889 | @end deffn
|
---|
890 | @deffn {} BFD_RELOC_PPC_B26
|
---|
891 | @deffnx {} BFD_RELOC_PPC_BA26
|
---|
892 | @deffnx {} BFD_RELOC_PPC_TOC16
|
---|
893 | @deffnx {} BFD_RELOC_PPC_B16
|
---|
894 | @deffnx {} BFD_RELOC_PPC_B16_BRTAKEN
|
---|
895 | @deffnx {} BFD_RELOC_PPC_B16_BRNTAKEN
|
---|
896 | @deffnx {} BFD_RELOC_PPC_BA16
|
---|
897 | @deffnx {} BFD_RELOC_PPC_BA16_BRTAKEN
|
---|
898 | @deffnx {} BFD_RELOC_PPC_BA16_BRNTAKEN
|
---|
899 | @deffnx {} BFD_RELOC_PPC_COPY
|
---|
900 | @deffnx {} BFD_RELOC_PPC_GLOB_DAT
|
---|
901 | @deffnx {} BFD_RELOC_PPC_JMP_SLOT
|
---|
902 | @deffnx {} BFD_RELOC_PPC_RELATIVE
|
---|
903 | @deffnx {} BFD_RELOC_PPC_LOCAL24PC
|
---|
904 | @deffnx {} BFD_RELOC_PPC_EMB_NADDR32
|
---|
905 | @deffnx {} BFD_RELOC_PPC_EMB_NADDR16
|
---|
906 | @deffnx {} BFD_RELOC_PPC_EMB_NADDR16_LO
|
---|
907 | @deffnx {} BFD_RELOC_PPC_EMB_NADDR16_HI
|
---|
908 | @deffnx {} BFD_RELOC_PPC_EMB_NADDR16_HA
|
---|
909 | @deffnx {} BFD_RELOC_PPC_EMB_SDAI16
|
---|
910 | @deffnx {} BFD_RELOC_PPC_EMB_SDA2I16
|
---|
911 | @deffnx {} BFD_RELOC_PPC_EMB_SDA2REL
|
---|
912 | @deffnx {} BFD_RELOC_PPC_EMB_SDA21
|
---|
913 | @deffnx {} BFD_RELOC_PPC_EMB_MRKREF
|
---|
914 | @deffnx {} BFD_RELOC_PPC_EMB_RELSEC16
|
---|
915 | @deffnx {} BFD_RELOC_PPC_EMB_RELST_LO
|
---|
916 | @deffnx {} BFD_RELOC_PPC_EMB_RELST_HI
|
---|
917 | @deffnx {} BFD_RELOC_PPC_EMB_RELST_HA
|
---|
918 | @deffnx {} BFD_RELOC_PPC_EMB_BIT_FLD
|
---|
919 | @deffnx {} BFD_RELOC_PPC_EMB_RELSDA
|
---|
920 | @deffnx {} BFD_RELOC_PPC64_HIGHER
|
---|
921 | @deffnx {} BFD_RELOC_PPC64_HIGHER_S
|
---|
922 | @deffnx {} BFD_RELOC_PPC64_HIGHEST
|
---|
923 | @deffnx {} BFD_RELOC_PPC64_HIGHEST_S
|
---|
924 | @deffnx {} BFD_RELOC_PPC64_TOC16_LO
|
---|
925 | @deffnx {} BFD_RELOC_PPC64_TOC16_HI
|
---|
926 | @deffnx {} BFD_RELOC_PPC64_TOC16_HA
|
---|
927 | @deffnx {} BFD_RELOC_PPC64_TOC
|
---|
928 | @deffnx {} BFD_RELOC_PPC64_PLTGOT16
|
---|
929 | @deffnx {} BFD_RELOC_PPC64_PLTGOT16_LO
|
---|
930 | @deffnx {} BFD_RELOC_PPC64_PLTGOT16_HI
|
---|
931 | @deffnx {} BFD_RELOC_PPC64_PLTGOT16_HA
|
---|
932 | @deffnx {} BFD_RELOC_PPC64_ADDR16_DS
|
---|
933 | @deffnx {} BFD_RELOC_PPC64_ADDR16_LO_DS
|
---|
934 | @deffnx {} BFD_RELOC_PPC64_GOT16_DS
|
---|
935 | @deffnx {} BFD_RELOC_PPC64_GOT16_LO_DS
|
---|
936 | @deffnx {} BFD_RELOC_PPC64_PLT16_LO_DS
|
---|
937 | @deffnx {} BFD_RELOC_PPC64_SECTOFF_DS
|
---|
938 | @deffnx {} BFD_RELOC_PPC64_SECTOFF_LO_DS
|
---|
939 | @deffnx {} BFD_RELOC_PPC64_TOC16_DS
|
---|
940 | @deffnx {} BFD_RELOC_PPC64_TOC16_LO_DS
|
---|
941 | @deffnx {} BFD_RELOC_PPC64_PLTGOT16_DS
|
---|
942 | @deffnx {} BFD_RELOC_PPC64_PLTGOT16_LO_DS
|
---|
943 | Power(rs6000) and PowerPC relocations.
|
---|
944 | @end deffn
|
---|
945 | @deffn {} BFD_RELOC_PPC_TLS
|
---|
946 | @deffnx {} BFD_RELOC_PPC_DTPMOD
|
---|
947 | @deffnx {} BFD_RELOC_PPC_TPREL16
|
---|
948 | @deffnx {} BFD_RELOC_PPC_TPREL16_LO
|
---|
949 | @deffnx {} BFD_RELOC_PPC_TPREL16_HI
|
---|
950 | @deffnx {} BFD_RELOC_PPC_TPREL16_HA
|
---|
951 | @deffnx {} BFD_RELOC_PPC_TPREL
|
---|
952 | @deffnx {} BFD_RELOC_PPC_DTPREL16
|
---|
953 | @deffnx {} BFD_RELOC_PPC_DTPREL16_LO
|
---|
954 | @deffnx {} BFD_RELOC_PPC_DTPREL16_HI
|
---|
955 | @deffnx {} BFD_RELOC_PPC_DTPREL16_HA
|
---|
956 | @deffnx {} BFD_RELOC_PPC_DTPREL
|
---|
957 | @deffnx {} BFD_RELOC_PPC_GOT_TLSGD16
|
---|
958 | @deffnx {} BFD_RELOC_PPC_GOT_TLSGD16_LO
|
---|
959 | @deffnx {} BFD_RELOC_PPC_GOT_TLSGD16_HI
|
---|
960 | @deffnx {} BFD_RELOC_PPC_GOT_TLSGD16_HA
|
---|
961 | @deffnx {} BFD_RELOC_PPC_GOT_TLSLD16
|
---|
962 | @deffnx {} BFD_RELOC_PPC_GOT_TLSLD16_LO
|
---|
963 | @deffnx {} BFD_RELOC_PPC_GOT_TLSLD16_HI
|
---|
964 | @deffnx {} BFD_RELOC_PPC_GOT_TLSLD16_HA
|
---|
965 | @deffnx {} BFD_RELOC_PPC_GOT_TPREL16
|
---|
966 | @deffnx {} BFD_RELOC_PPC_GOT_TPREL16_LO
|
---|
967 | @deffnx {} BFD_RELOC_PPC_GOT_TPREL16_HI
|
---|
968 | @deffnx {} BFD_RELOC_PPC_GOT_TPREL16_HA
|
---|
969 | @deffnx {} BFD_RELOC_PPC_GOT_DTPREL16
|
---|
970 | @deffnx {} BFD_RELOC_PPC_GOT_DTPREL16_LO
|
---|
971 | @deffnx {} BFD_RELOC_PPC_GOT_DTPREL16_HI
|
---|
972 | @deffnx {} BFD_RELOC_PPC_GOT_DTPREL16_HA
|
---|
973 | @deffnx {} BFD_RELOC_PPC64_TPREL16_DS
|
---|
974 | @deffnx {} BFD_RELOC_PPC64_TPREL16_LO_DS
|
---|
975 | @deffnx {} BFD_RELOC_PPC64_TPREL16_HIGHER
|
---|
976 | @deffnx {} BFD_RELOC_PPC64_TPREL16_HIGHERA
|
---|
977 | @deffnx {} BFD_RELOC_PPC64_TPREL16_HIGHEST
|
---|
978 | @deffnx {} BFD_RELOC_PPC64_TPREL16_HIGHESTA
|
---|
979 | @deffnx {} BFD_RELOC_PPC64_DTPREL16_DS
|
---|
980 | @deffnx {} BFD_RELOC_PPC64_DTPREL16_LO_DS
|
---|
981 | @deffnx {} BFD_RELOC_PPC64_DTPREL16_HIGHER
|
---|
982 | @deffnx {} BFD_RELOC_PPC64_DTPREL16_HIGHERA
|
---|
983 | @deffnx {} BFD_RELOC_PPC64_DTPREL16_HIGHEST
|
---|
984 | @deffnx {} BFD_RELOC_PPC64_DTPREL16_HIGHESTA
|
---|
985 | PowerPC and PowerPC64 thread-local storage relocations.
|
---|
986 | @end deffn
|
---|
987 | @deffn {} BFD_RELOC_I370_D12
|
---|
988 | IBM 370/390 relocations
|
---|
989 | @end deffn
|
---|
990 | @deffn {} BFD_RELOC_CTOR
|
---|
991 | The type of reloc used to build a contructor table - at the moment
|
---|
992 | probably a 32 bit wide absolute relocation, but the target can choose.
|
---|
993 | It generally does map to one of the other relocation types.
|
---|
994 | @end deffn
|
---|
995 | @deffn {} BFD_RELOC_ARM_PCREL_BRANCH
|
---|
996 | ARM 26 bit pc-relative branch. The lowest two bits must be zero and are
|
---|
997 | not stored in the instruction.
|
---|
998 | @end deffn
|
---|
999 | @deffn {} BFD_RELOC_ARM_PCREL_BLX
|
---|
1000 | ARM 26 bit pc-relative branch. The lowest bit must be zero and is
|
---|
1001 | not stored in the instruction. The 2nd lowest bit comes from a 1 bit
|
---|
1002 | field in the instruction.
|
---|
1003 | @end deffn
|
---|
1004 | @deffn {} BFD_RELOC_THUMB_PCREL_BLX
|
---|
1005 | Thumb 22 bit pc-relative branch. The lowest bit must be zero and is
|
---|
1006 | not stored in the instruction. The 2nd lowest bit comes from a 1 bit
|
---|
1007 | field in the instruction.
|
---|
1008 | @end deffn
|
---|
1009 | @deffn {} BFD_RELOC_ARM_IMMEDIATE
|
---|
1010 | @deffnx {} BFD_RELOC_ARM_ADRL_IMMEDIATE
|
---|
1011 | @deffnx {} BFD_RELOC_ARM_OFFSET_IMM
|
---|
1012 | @deffnx {} BFD_RELOC_ARM_SHIFT_IMM
|
---|
1013 | @deffnx {} BFD_RELOC_ARM_SWI
|
---|
1014 | @deffnx {} BFD_RELOC_ARM_MULTI
|
---|
1015 | @deffnx {} BFD_RELOC_ARM_CP_OFF_IMM
|
---|
1016 | @deffnx {} BFD_RELOC_ARM_CP_OFF_IMM_S2
|
---|
1017 | @deffnx {} BFD_RELOC_ARM_ADR_IMM
|
---|
1018 | @deffnx {} BFD_RELOC_ARM_LDR_IMM
|
---|
1019 | @deffnx {} BFD_RELOC_ARM_LITERAL
|
---|
1020 | @deffnx {} BFD_RELOC_ARM_IN_POOL
|
---|
1021 | @deffnx {} BFD_RELOC_ARM_OFFSET_IMM8
|
---|
1022 | @deffnx {} BFD_RELOC_ARM_HWLITERAL
|
---|
1023 | @deffnx {} BFD_RELOC_ARM_THUMB_ADD
|
---|
1024 | @deffnx {} BFD_RELOC_ARM_THUMB_IMM
|
---|
1025 | @deffnx {} BFD_RELOC_ARM_THUMB_SHIFT
|
---|
1026 | @deffnx {} BFD_RELOC_ARM_THUMB_OFFSET
|
---|
1027 | @deffnx {} BFD_RELOC_ARM_GOT12
|
---|
1028 | @deffnx {} BFD_RELOC_ARM_GOT32
|
---|
1029 | @deffnx {} BFD_RELOC_ARM_JUMP_SLOT
|
---|
1030 | @deffnx {} BFD_RELOC_ARM_COPY
|
---|
1031 | @deffnx {} BFD_RELOC_ARM_GLOB_DAT
|
---|
1032 | @deffnx {} BFD_RELOC_ARM_PLT32
|
---|
1033 | @deffnx {} BFD_RELOC_ARM_RELATIVE
|
---|
1034 | @deffnx {} BFD_RELOC_ARM_GOTOFF
|
---|
1035 | @deffnx {} BFD_RELOC_ARM_GOTPC
|
---|
1036 | These relocs are only used within the ARM assembler. They are not
|
---|
1037 | (at present) written to any object files.
|
---|
1038 | @end deffn
|
---|
1039 | @deffn {} BFD_RELOC_SH_PCDISP8BY2
|
---|
1040 | @deffnx {} BFD_RELOC_SH_PCDISP12BY2
|
---|
1041 | @deffnx {} BFD_RELOC_SH_IMM4
|
---|
1042 | @deffnx {} BFD_RELOC_SH_IMM4BY2
|
---|
1043 | @deffnx {} BFD_RELOC_SH_IMM4BY4
|
---|
1044 | @deffnx {} BFD_RELOC_SH_IMM8
|
---|
1045 | @deffnx {} BFD_RELOC_SH_IMM8BY2
|
---|
1046 | @deffnx {} BFD_RELOC_SH_IMM8BY4
|
---|
1047 | @deffnx {} BFD_RELOC_SH_PCRELIMM8BY2
|
---|
1048 | @deffnx {} BFD_RELOC_SH_PCRELIMM8BY4
|
---|
1049 | @deffnx {} BFD_RELOC_SH_SWITCH16
|
---|
1050 | @deffnx {} BFD_RELOC_SH_SWITCH32
|
---|
1051 | @deffnx {} BFD_RELOC_SH_USES
|
---|
1052 | @deffnx {} BFD_RELOC_SH_COUNT
|
---|
1053 | @deffnx {} BFD_RELOC_SH_ALIGN
|
---|
1054 | @deffnx {} BFD_RELOC_SH_CODE
|
---|
1055 | @deffnx {} BFD_RELOC_SH_DATA
|
---|
1056 | @deffnx {} BFD_RELOC_SH_LABEL
|
---|
1057 | @deffnx {} BFD_RELOC_SH_LOOP_START
|
---|
1058 | @deffnx {} BFD_RELOC_SH_LOOP_END
|
---|
1059 | @deffnx {} BFD_RELOC_SH_COPY
|
---|
1060 | @deffnx {} BFD_RELOC_SH_GLOB_DAT
|
---|
1061 | @deffnx {} BFD_RELOC_SH_JMP_SLOT
|
---|
1062 | @deffnx {} BFD_RELOC_SH_RELATIVE
|
---|
1063 | @deffnx {} BFD_RELOC_SH_GOTPC
|
---|
1064 | @deffnx {} BFD_RELOC_SH_GOT_LOW16
|
---|
1065 | @deffnx {} BFD_RELOC_SH_GOT_MEDLOW16
|
---|
1066 | @deffnx {} BFD_RELOC_SH_GOT_MEDHI16
|
---|
1067 | @deffnx {} BFD_RELOC_SH_GOT_HI16
|
---|
1068 | @deffnx {} BFD_RELOC_SH_GOTPLT_LOW16
|
---|
1069 | @deffnx {} BFD_RELOC_SH_GOTPLT_MEDLOW16
|
---|
1070 | @deffnx {} BFD_RELOC_SH_GOTPLT_MEDHI16
|
---|
1071 | @deffnx {} BFD_RELOC_SH_GOTPLT_HI16
|
---|
1072 | @deffnx {} BFD_RELOC_SH_PLT_LOW16
|
---|
1073 | @deffnx {} BFD_RELOC_SH_PLT_MEDLOW16
|
---|
1074 | @deffnx {} BFD_RELOC_SH_PLT_MEDHI16
|
---|
1075 | @deffnx {} BFD_RELOC_SH_PLT_HI16
|
---|
1076 | @deffnx {} BFD_RELOC_SH_GOTOFF_LOW16
|
---|
1077 | @deffnx {} BFD_RELOC_SH_GOTOFF_MEDLOW16
|
---|
1078 | @deffnx {} BFD_RELOC_SH_GOTOFF_MEDHI16
|
---|
1079 | @deffnx {} BFD_RELOC_SH_GOTOFF_HI16
|
---|
1080 | @deffnx {} BFD_RELOC_SH_GOTPC_LOW16
|
---|
1081 | @deffnx {} BFD_RELOC_SH_GOTPC_MEDLOW16
|
---|
1082 | @deffnx {} BFD_RELOC_SH_GOTPC_MEDHI16
|
---|
1083 | @deffnx {} BFD_RELOC_SH_GOTPC_HI16
|
---|
1084 | @deffnx {} BFD_RELOC_SH_COPY64
|
---|
1085 | @deffnx {} BFD_RELOC_SH_GLOB_DAT64
|
---|
1086 | @deffnx {} BFD_RELOC_SH_JMP_SLOT64
|
---|
1087 | @deffnx {} BFD_RELOC_SH_RELATIVE64
|
---|
1088 | @deffnx {} BFD_RELOC_SH_GOT10BY4
|
---|
1089 | @deffnx {} BFD_RELOC_SH_GOT10BY8
|
---|
1090 | @deffnx {} BFD_RELOC_SH_GOTPLT10BY4
|
---|
1091 | @deffnx {} BFD_RELOC_SH_GOTPLT10BY8
|
---|
1092 | @deffnx {} BFD_RELOC_SH_GOTPLT32
|
---|
1093 | @deffnx {} BFD_RELOC_SH_SHMEDIA_CODE
|
---|
1094 | @deffnx {} BFD_RELOC_SH_IMMU5
|
---|
1095 | @deffnx {} BFD_RELOC_SH_IMMS6
|
---|
1096 | @deffnx {} BFD_RELOC_SH_IMMS6BY32
|
---|
1097 | @deffnx {} BFD_RELOC_SH_IMMU6
|
---|
1098 | @deffnx {} BFD_RELOC_SH_IMMS10
|
---|
1099 | @deffnx {} BFD_RELOC_SH_IMMS10BY2
|
---|
1100 | @deffnx {} BFD_RELOC_SH_IMMS10BY4
|
---|
1101 | @deffnx {} BFD_RELOC_SH_IMMS10BY8
|
---|
1102 | @deffnx {} BFD_RELOC_SH_IMMS16
|
---|
1103 | @deffnx {} BFD_RELOC_SH_IMMU16
|
---|
1104 | @deffnx {} BFD_RELOC_SH_IMM_LOW16
|
---|
1105 | @deffnx {} BFD_RELOC_SH_IMM_LOW16_PCREL
|
---|
1106 | @deffnx {} BFD_RELOC_SH_IMM_MEDLOW16
|
---|
1107 | @deffnx {} BFD_RELOC_SH_IMM_MEDLOW16_PCREL
|
---|
1108 | @deffnx {} BFD_RELOC_SH_IMM_MEDHI16
|
---|
1109 | @deffnx {} BFD_RELOC_SH_IMM_MEDHI16_PCREL
|
---|
1110 | @deffnx {} BFD_RELOC_SH_IMM_HI16
|
---|
1111 | @deffnx {} BFD_RELOC_SH_IMM_HI16_PCREL
|
---|
1112 | @deffnx {} BFD_RELOC_SH_PT_16
|
---|
1113 | @deffnx {} BFD_RELOC_SH_TLS_GD_32
|
---|
1114 | @deffnx {} BFD_RELOC_SH_TLS_LD_32
|
---|
1115 | @deffnx {} BFD_RELOC_SH_TLS_LDO_32
|
---|
1116 | @deffnx {} BFD_RELOC_SH_TLS_IE_32
|
---|
1117 | @deffnx {} BFD_RELOC_SH_TLS_LE_32
|
---|
1118 | @deffnx {} BFD_RELOC_SH_TLS_DTPMOD32
|
---|
1119 | @deffnx {} BFD_RELOC_SH_TLS_DTPOFF32
|
---|
1120 | @deffnx {} BFD_RELOC_SH_TLS_TPOFF32
|
---|
1121 | Renesas / SuperH SH relocs. Not all of these appear in object files.
|
---|
1122 | @end deffn
|
---|
1123 | @deffn {} BFD_RELOC_THUMB_PCREL_BRANCH9
|
---|
1124 | @deffnx {} BFD_RELOC_THUMB_PCREL_BRANCH12
|
---|
1125 | @deffnx {} BFD_RELOC_THUMB_PCREL_BRANCH23
|
---|
1126 | Thumb 23-, 12- and 9-bit pc-relative branches. The lowest bit must
|
---|
1127 | be zero and is not stored in the instruction.
|
---|
1128 | @end deffn
|
---|
1129 | @deffn {} BFD_RELOC_ARC_B22_PCREL
|
---|
1130 | ARC Cores relocs.
|
---|
1131 | ARC 22 bit pc-relative branch. The lowest two bits must be zero and are
|
---|
1132 | not stored in the instruction. The high 20 bits are installed in bits 26
|
---|
1133 | through 7 of the instruction.
|
---|
1134 | @end deffn
|
---|
1135 | @deffn {} BFD_RELOC_ARC_B26
|
---|
1136 | ARC 26 bit absolute branch. The lowest two bits must be zero and are not
|
---|
1137 | stored in the instruction. The high 24 bits are installed in bits 23
|
---|
1138 | through 0.
|
---|
1139 | @end deffn
|
---|
1140 | @deffn {} BFD_RELOC_D10V_10_PCREL_R
|
---|
1141 | Mitsubishi D10V relocs.
|
---|
1142 | This is a 10-bit reloc with the right 2 bits
|
---|
1143 | assumed to be 0.
|
---|
1144 | @end deffn
|
---|
1145 | @deffn {} BFD_RELOC_D10V_10_PCREL_L
|
---|
1146 | Mitsubishi D10V relocs.
|
---|
1147 | This is a 10-bit reloc with the right 2 bits
|
---|
1148 | assumed to be 0. This is the same as the previous reloc
|
---|
1149 | except it is in the left container, i.e.,
|
---|
1150 | shifted left 15 bits.
|
---|
1151 | @end deffn
|
---|
1152 | @deffn {} BFD_RELOC_D10V_18
|
---|
1153 | This is an 18-bit reloc with the right 2 bits
|
---|
1154 | assumed to be 0.
|
---|
1155 | @end deffn
|
---|
1156 | @deffn {} BFD_RELOC_D10V_18_PCREL
|
---|
1157 | This is an 18-bit reloc with the right 2 bits
|
---|
1158 | assumed to be 0.
|
---|
1159 | @end deffn
|
---|
1160 | @deffn {} BFD_RELOC_D30V_6
|
---|
1161 | Mitsubishi D30V relocs.
|
---|
1162 | This is a 6-bit absolute reloc.
|
---|
1163 | @end deffn
|
---|
1164 | @deffn {} BFD_RELOC_D30V_9_PCREL
|
---|
1165 | This is a 6-bit pc-relative reloc with
|
---|
1166 | the right 3 bits assumed to be 0.
|
---|
1167 | @end deffn
|
---|
1168 | @deffn {} BFD_RELOC_D30V_9_PCREL_R
|
---|
1169 | This is a 6-bit pc-relative reloc with
|
---|
1170 | the right 3 bits assumed to be 0. Same
|
---|
1171 | as the previous reloc but on the right side
|
---|
1172 | of the container.
|
---|
1173 | @end deffn
|
---|
1174 | @deffn {} BFD_RELOC_D30V_15
|
---|
1175 | This is a 12-bit absolute reloc with the
|
---|
1176 | right 3 bitsassumed to be 0.
|
---|
1177 | @end deffn
|
---|
1178 | @deffn {} BFD_RELOC_D30V_15_PCREL
|
---|
1179 | This is a 12-bit pc-relative reloc with
|
---|
1180 | the right 3 bits assumed to be 0.
|
---|
1181 | @end deffn
|
---|
1182 | @deffn {} BFD_RELOC_D30V_15_PCREL_R
|
---|
1183 | This is a 12-bit pc-relative reloc with
|
---|
1184 | the right 3 bits assumed to be 0. Same
|
---|
1185 | as the previous reloc but on the right side
|
---|
1186 | of the container.
|
---|
1187 | @end deffn
|
---|
1188 | @deffn {} BFD_RELOC_D30V_21
|
---|
1189 | This is an 18-bit absolute reloc with
|
---|
1190 | the right 3 bits assumed to be 0.
|
---|
1191 | @end deffn
|
---|
1192 | @deffn {} BFD_RELOC_D30V_21_PCREL
|
---|
1193 | This is an 18-bit pc-relative reloc with
|
---|
1194 | the right 3 bits assumed to be 0.
|
---|
1195 | @end deffn
|
---|
1196 | @deffn {} BFD_RELOC_D30V_21_PCREL_R
|
---|
1197 | This is an 18-bit pc-relative reloc with
|
---|
1198 | the right 3 bits assumed to be 0. Same
|
---|
1199 | as the previous reloc but on the right side
|
---|
1200 | of the container.
|
---|
1201 | @end deffn
|
---|
1202 | @deffn {} BFD_RELOC_D30V_32
|
---|
1203 | This is a 32-bit absolute reloc.
|
---|
1204 | @end deffn
|
---|
1205 | @deffn {} BFD_RELOC_D30V_32_PCREL
|
---|
1206 | This is a 32-bit pc-relative reloc.
|
---|
1207 | @end deffn
|
---|
1208 | @deffn {} BFD_RELOC_DLX_HI16_S
|
---|
1209 | DLX relocs
|
---|
1210 | @end deffn
|
---|
1211 | @deffn {} BFD_RELOC_DLX_LO16
|
---|
1212 | DLX relocs
|
---|
1213 | @end deffn
|
---|
1214 | @deffn {} BFD_RELOC_DLX_JMP26
|
---|
1215 | DLX relocs
|
---|
1216 | @end deffn
|
---|
1217 | @deffn {} BFD_RELOC_M32R_24
|
---|
1218 | Renesas M32R (formerly Mitsubishi M32R) relocs.
|
---|
1219 | This is a 24 bit absolute address.
|
---|
1220 | @end deffn
|
---|
1221 | @deffn {} BFD_RELOC_M32R_10_PCREL
|
---|
1222 | This is a 10-bit pc-relative reloc with the right 2 bits assumed to be 0.
|
---|
1223 | @end deffn
|
---|
1224 | @deffn {} BFD_RELOC_M32R_18_PCREL
|
---|
1225 | This is an 18-bit reloc with the right 2 bits assumed to be 0.
|
---|
1226 | @end deffn
|
---|
1227 | @deffn {} BFD_RELOC_M32R_26_PCREL
|
---|
1228 | This is a 26-bit reloc with the right 2 bits assumed to be 0.
|
---|
1229 | @end deffn
|
---|
1230 | @deffn {} BFD_RELOC_M32R_HI16_ULO
|
---|
1231 | This is a 16-bit reloc containing the high 16 bits of an address
|
---|
1232 | used when the lower 16 bits are treated as unsigned.
|
---|
1233 | @end deffn
|
---|
1234 | @deffn {} BFD_RELOC_M32R_HI16_SLO
|
---|
1235 | This is a 16-bit reloc containing the high 16 bits of an address
|
---|
1236 | used when the lower 16 bits are treated as signed.
|
---|
1237 | @end deffn
|
---|
1238 | @deffn {} BFD_RELOC_M32R_LO16
|
---|
1239 | This is a 16-bit reloc containing the lower 16 bits of an address.
|
---|
1240 | @end deffn
|
---|
1241 | @deffn {} BFD_RELOC_M32R_SDA16
|
---|
1242 | This is a 16-bit reloc containing the small data area offset for use in
|
---|
1243 | add3, load, and store instructions.
|
---|
1244 | @end deffn
|
---|
1245 | @deffn {} BFD_RELOC_V850_9_PCREL
|
---|
1246 | This is a 9-bit reloc
|
---|
1247 | @end deffn
|
---|
1248 | @deffn {} BFD_RELOC_V850_22_PCREL
|
---|
1249 | This is a 22-bit reloc
|
---|
1250 | @end deffn
|
---|
1251 | @deffn {} BFD_RELOC_V850_SDA_16_16_OFFSET
|
---|
1252 | This is a 16 bit offset from the short data area pointer.
|
---|
1253 | @end deffn
|
---|
1254 | @deffn {} BFD_RELOC_V850_SDA_15_16_OFFSET
|
---|
1255 | This is a 16 bit offset (of which only 15 bits are used) from the
|
---|
1256 | short data area pointer.
|
---|
1257 | @end deffn
|
---|
1258 | @deffn {} BFD_RELOC_V850_ZDA_16_16_OFFSET
|
---|
1259 | This is a 16 bit offset from the zero data area pointer.
|
---|
1260 | @end deffn
|
---|
1261 | @deffn {} BFD_RELOC_V850_ZDA_15_16_OFFSET
|
---|
1262 | This is a 16 bit offset (of which only 15 bits are used) from the
|
---|
1263 | zero data area pointer.
|
---|
1264 | @end deffn
|
---|
1265 | @deffn {} BFD_RELOC_V850_TDA_6_8_OFFSET
|
---|
1266 | This is an 8 bit offset (of which only 6 bits are used) from the
|
---|
1267 | tiny data area pointer.
|
---|
1268 | @end deffn
|
---|
1269 | @deffn {} BFD_RELOC_V850_TDA_7_8_OFFSET
|
---|
1270 | This is an 8bit offset (of which only 7 bits are used) from the tiny
|
---|
1271 | data area pointer.
|
---|
1272 | @end deffn
|
---|
1273 | @deffn {} BFD_RELOC_V850_TDA_7_7_OFFSET
|
---|
1274 | This is a 7 bit offset from the tiny data area pointer.
|
---|
1275 | @end deffn
|
---|
1276 | @deffn {} BFD_RELOC_V850_TDA_16_16_OFFSET
|
---|
1277 | This is a 16 bit offset from the tiny data area pointer.
|
---|
1278 | @end deffn
|
---|
1279 | @deffn {} BFD_RELOC_V850_TDA_4_5_OFFSET
|
---|
1280 | This is a 5 bit offset (of which only 4 bits are used) from the tiny
|
---|
1281 | data area pointer.
|
---|
1282 | @end deffn
|
---|
1283 | @deffn {} BFD_RELOC_V850_TDA_4_4_OFFSET
|
---|
1284 | This is a 4 bit offset from the tiny data area pointer.
|
---|
1285 | @end deffn
|
---|
1286 | @deffn {} BFD_RELOC_V850_SDA_16_16_SPLIT_OFFSET
|
---|
1287 | This is a 16 bit offset from the short data area pointer, with the
|
---|
1288 | bits placed non-contigously in the instruction.
|
---|
1289 | @end deffn
|
---|
1290 | @deffn {} BFD_RELOC_V850_ZDA_16_16_SPLIT_OFFSET
|
---|
1291 | This is a 16 bit offset from the zero data area pointer, with the
|
---|
1292 | bits placed non-contigously in the instruction.
|
---|
1293 | @end deffn
|
---|
1294 | @deffn {} BFD_RELOC_V850_CALLT_6_7_OFFSET
|
---|
1295 | This is a 6 bit offset from the call table base pointer.
|
---|
1296 | @end deffn
|
---|
1297 | @deffn {} BFD_RELOC_V850_CALLT_16_16_OFFSET
|
---|
1298 | This is a 16 bit offset from the call table base pointer.
|
---|
1299 | @end deffn
|
---|
1300 | @deffn {} BFD_RELOC_V850_LONGCALL
|
---|
1301 | Used for relaxing indirect function calls.
|
---|
1302 | @end deffn
|
---|
1303 | @deffn {} BFD_RELOC_V850_LONGJUMP
|
---|
1304 | Used for relaxing indirect jumps.
|
---|
1305 | @end deffn
|
---|
1306 | @deffn {} BFD_RELOC_V850_ALIGN
|
---|
1307 | Used to maintain alignment whilst relaxing.
|
---|
1308 | @end deffn
|
---|
1309 | @deffn {} BFD_RELOC_MN10300_32_PCREL
|
---|
1310 | This is a 32bit pcrel reloc for the mn10300, offset by two bytes in the
|
---|
1311 | instruction.
|
---|
1312 | @end deffn
|
---|
1313 | @deffn {} BFD_RELOC_MN10300_16_PCREL
|
---|
1314 | This is a 16bit pcrel reloc for the mn10300, offset by two bytes in the
|
---|
1315 | instruction.
|
---|
1316 | @end deffn
|
---|
1317 | @deffn {} BFD_RELOC_TIC30_LDP
|
---|
1318 | This is a 8bit DP reloc for the tms320c30, where the most
|
---|
1319 | significant 8 bits of a 24 bit word are placed into the least
|
---|
1320 | significant 8 bits of the opcode.
|
---|
1321 | @end deffn
|
---|
1322 | @deffn {} BFD_RELOC_TIC54X_PARTLS7
|
---|
1323 | This is a 7bit reloc for the tms320c54x, where the least
|
---|
1324 | significant 7 bits of a 16 bit word are placed into the least
|
---|
1325 | significant 7 bits of the opcode.
|
---|
1326 | @end deffn
|
---|
1327 | @deffn {} BFD_RELOC_TIC54X_PARTMS9
|
---|
1328 | This is a 9bit DP reloc for the tms320c54x, where the most
|
---|
1329 | significant 9 bits of a 16 bit word are placed into the least
|
---|
1330 | significant 9 bits of the opcode.
|
---|
1331 | @end deffn
|
---|
1332 | @deffn {} BFD_RELOC_TIC54X_23
|
---|
1333 | This is an extended address 23-bit reloc for the tms320c54x.
|
---|
1334 | @end deffn
|
---|
1335 | @deffn {} BFD_RELOC_TIC54X_16_OF_23
|
---|
1336 | This is a 16-bit reloc for the tms320c54x, where the least
|
---|
1337 | significant 16 bits of a 23-bit extended address are placed into
|
---|
1338 | the opcode.
|
---|
1339 | @end deffn
|
---|
1340 | @deffn {} BFD_RELOC_TIC54X_MS7_OF_23
|
---|
1341 | This is a reloc for the tms320c54x, where the most
|
---|
1342 | significant 7 bits of a 23-bit extended address are placed into
|
---|
1343 | the opcode.
|
---|
1344 | @end deffn
|
---|
1345 | @deffn {} BFD_RELOC_FR30_48
|
---|
1346 | This is a 48 bit reloc for the FR30 that stores 32 bits.
|
---|
1347 | @end deffn
|
---|
1348 | @deffn {} BFD_RELOC_FR30_20
|
---|
1349 | This is a 32 bit reloc for the FR30 that stores 20 bits split up into
|
---|
1350 | two sections.
|
---|
1351 | @end deffn
|
---|
1352 | @deffn {} BFD_RELOC_FR30_6_IN_4
|
---|
1353 | This is a 16 bit reloc for the FR30 that stores a 6 bit word offset in
|
---|
1354 | 4 bits.
|
---|
1355 | @end deffn
|
---|
1356 | @deffn {} BFD_RELOC_FR30_8_IN_8
|
---|
1357 | This is a 16 bit reloc for the FR30 that stores an 8 bit byte offset
|
---|
1358 | into 8 bits.
|
---|
1359 | @end deffn
|
---|
1360 | @deffn {} BFD_RELOC_FR30_9_IN_8
|
---|
1361 | This is a 16 bit reloc for the FR30 that stores a 9 bit short offset
|
---|
1362 | into 8 bits.
|
---|
1363 | @end deffn
|
---|
1364 | @deffn {} BFD_RELOC_FR30_10_IN_8
|
---|
1365 | This is a 16 bit reloc for the FR30 that stores a 10 bit word offset
|
---|
1366 | into 8 bits.
|
---|
1367 | @end deffn
|
---|
1368 | @deffn {} BFD_RELOC_FR30_9_PCREL
|
---|
1369 | This is a 16 bit reloc for the FR30 that stores a 9 bit pc relative
|
---|
1370 | short offset into 8 bits.
|
---|
1371 | @end deffn
|
---|
1372 | @deffn {} BFD_RELOC_FR30_12_PCREL
|
---|
1373 | This is a 16 bit reloc for the FR30 that stores a 12 bit pc relative
|
---|
1374 | short offset into 11 bits.
|
---|
1375 | @end deffn
|
---|
1376 | @deffn {} BFD_RELOC_MCORE_PCREL_IMM8BY4
|
---|
1377 | @deffnx {} BFD_RELOC_MCORE_PCREL_IMM11BY2
|
---|
1378 | @deffnx {} BFD_RELOC_MCORE_PCREL_IMM4BY2
|
---|
1379 | @deffnx {} BFD_RELOC_MCORE_PCREL_32
|
---|
1380 | @deffnx {} BFD_RELOC_MCORE_PCREL_JSR_IMM11BY2
|
---|
1381 | @deffnx {} BFD_RELOC_MCORE_RVA
|
---|
1382 | Motorola Mcore relocations.
|
---|
1383 | @end deffn
|
---|
1384 | @deffn {} BFD_RELOC_MMIX_GETA
|
---|
1385 | @deffnx {} BFD_RELOC_MMIX_GETA_1
|
---|
1386 | @deffnx {} BFD_RELOC_MMIX_GETA_2
|
---|
1387 | @deffnx {} BFD_RELOC_MMIX_GETA_3
|
---|
1388 | These are relocations for the GETA instruction.
|
---|
1389 | @end deffn
|
---|
1390 | @deffn {} BFD_RELOC_MMIX_CBRANCH
|
---|
1391 | @deffnx {} BFD_RELOC_MMIX_CBRANCH_J
|
---|
1392 | @deffnx {} BFD_RELOC_MMIX_CBRANCH_1
|
---|
1393 | @deffnx {} BFD_RELOC_MMIX_CBRANCH_2
|
---|
1394 | @deffnx {} BFD_RELOC_MMIX_CBRANCH_3
|
---|
1395 | These are relocations for a conditional branch instruction.
|
---|
1396 | @end deffn
|
---|
1397 | @deffn {} BFD_RELOC_MMIX_PUSHJ
|
---|
1398 | @deffnx {} BFD_RELOC_MMIX_PUSHJ_1
|
---|
1399 | @deffnx {} BFD_RELOC_MMIX_PUSHJ_2
|
---|
1400 | @deffnx {} BFD_RELOC_MMIX_PUSHJ_3
|
---|
1401 | These are relocations for the PUSHJ instruction.
|
---|
1402 | @end deffn
|
---|
1403 | @deffn {} BFD_RELOC_MMIX_JMP
|
---|
1404 | @deffnx {} BFD_RELOC_MMIX_JMP_1
|
---|
1405 | @deffnx {} BFD_RELOC_MMIX_JMP_2
|
---|
1406 | @deffnx {} BFD_RELOC_MMIX_JMP_3
|
---|
1407 | These are relocations for the JMP instruction.
|
---|
1408 | @end deffn
|
---|
1409 | @deffn {} BFD_RELOC_MMIX_ADDR19
|
---|
1410 | This is a relocation for a relative address as in a GETA instruction or
|
---|
1411 | a branch.
|
---|
1412 | @end deffn
|
---|
1413 | @deffn {} BFD_RELOC_MMIX_ADDR27
|
---|
1414 | This is a relocation for a relative address as in a JMP instruction.
|
---|
1415 | @end deffn
|
---|
1416 | @deffn {} BFD_RELOC_MMIX_REG_OR_BYTE
|
---|
1417 | This is a relocation for an instruction field that may be a general
|
---|
1418 | register or a value 0..255.
|
---|
1419 | @end deffn
|
---|
1420 | @deffn {} BFD_RELOC_MMIX_REG
|
---|
1421 | This is a relocation for an instruction field that may be a general
|
---|
1422 | register.
|
---|
1423 | @end deffn
|
---|
1424 | @deffn {} BFD_RELOC_MMIX_BASE_PLUS_OFFSET
|
---|
1425 | This is a relocation for two instruction fields holding a register and
|
---|
1426 | an offset, the equivalent of the relocation.
|
---|
1427 | @end deffn
|
---|
1428 | @deffn {} BFD_RELOC_MMIX_LOCAL
|
---|
1429 | This relocation is an assertion that the expression is not allocated as
|
---|
1430 | a global register. It does not modify contents.
|
---|
1431 | @end deffn
|
---|
1432 | @deffn {} BFD_RELOC_AVR_7_PCREL
|
---|
1433 | This is a 16 bit reloc for the AVR that stores 8 bit pc relative
|
---|
1434 | short offset into 7 bits.
|
---|
1435 | @end deffn
|
---|
1436 | @deffn {} BFD_RELOC_AVR_13_PCREL
|
---|
1437 | This is a 16 bit reloc for the AVR that stores 13 bit pc relative
|
---|
1438 | short offset into 12 bits.
|
---|
1439 | @end deffn
|
---|
1440 | @deffn {} BFD_RELOC_AVR_16_PM
|
---|
1441 | This is a 16 bit reloc for the AVR that stores 17 bit value (usually
|
---|
1442 | program memory address) into 16 bits.
|
---|
1443 | @end deffn
|
---|
1444 | @deffn {} BFD_RELOC_AVR_LO8_LDI
|
---|
1445 | This is a 16 bit reloc for the AVR that stores 8 bit value (usually
|
---|
1446 | data memory address) into 8 bit immediate value of LDI insn.
|
---|
1447 | @end deffn
|
---|
1448 | @deffn {} BFD_RELOC_AVR_HI8_LDI
|
---|
1449 | This is a 16 bit reloc for the AVR that stores 8 bit value (high 8 bit
|
---|
1450 | of data memory address) into 8 bit immediate value of LDI insn.
|
---|
1451 | @end deffn
|
---|
1452 | @deffn {} BFD_RELOC_AVR_HH8_LDI
|
---|
1453 | This is a 16 bit reloc for the AVR that stores 8 bit value (most high 8 bit
|
---|
1454 | of program memory address) into 8 bit immediate value of LDI insn.
|
---|
1455 | @end deffn
|
---|
1456 | @deffn {} BFD_RELOC_AVR_LO8_LDI_NEG
|
---|
1457 | This is a 16 bit reloc for the AVR that stores negated 8 bit value
|
---|
1458 | (usually data memory address) into 8 bit immediate value of SUBI insn.
|
---|
1459 | @end deffn
|
---|
1460 | @deffn {} BFD_RELOC_AVR_HI8_LDI_NEG
|
---|
1461 | This is a 16 bit reloc for the AVR that stores negated 8 bit value
|
---|
1462 | (high 8 bit of data memory address) into 8 bit immediate value of
|
---|
1463 | SUBI insn.
|
---|
1464 | @end deffn
|
---|
1465 | @deffn {} BFD_RELOC_AVR_HH8_LDI_NEG
|
---|
1466 | This is a 16 bit reloc for the AVR that stores negated 8 bit value
|
---|
1467 | (most high 8 bit of program memory address) into 8 bit immediate value
|
---|
1468 | of LDI or SUBI insn.
|
---|
1469 | @end deffn
|
---|
1470 | @deffn {} BFD_RELOC_AVR_LO8_LDI_PM
|
---|
1471 | This is a 16 bit reloc for the AVR that stores 8 bit value (usually
|
---|
1472 | command address) into 8 bit immediate value of LDI insn.
|
---|
1473 | @end deffn
|
---|
1474 | @deffn {} BFD_RELOC_AVR_HI8_LDI_PM
|
---|
1475 | This is a 16 bit reloc for the AVR that stores 8 bit value (high 8 bit
|
---|
1476 | of command address) into 8 bit immediate value of LDI insn.
|
---|
1477 | @end deffn
|
---|
1478 | @deffn {} BFD_RELOC_AVR_HH8_LDI_PM
|
---|
1479 | This is a 16 bit reloc for the AVR that stores 8 bit value (most high 8 bit
|
---|
1480 | of command address) into 8 bit immediate value of LDI insn.
|
---|
1481 | @end deffn
|
---|
1482 | @deffn {} BFD_RELOC_AVR_LO8_LDI_PM_NEG
|
---|
1483 | This is a 16 bit reloc for the AVR that stores negated 8 bit value
|
---|
1484 | (usually command address) into 8 bit immediate value of SUBI insn.
|
---|
1485 | @end deffn
|
---|
1486 | @deffn {} BFD_RELOC_AVR_HI8_LDI_PM_NEG
|
---|
1487 | This is a 16 bit reloc for the AVR that stores negated 8 bit value
|
---|
1488 | (high 8 bit of 16 bit command address) into 8 bit immediate value
|
---|
1489 | of SUBI insn.
|
---|
1490 | @end deffn
|
---|
1491 | @deffn {} BFD_RELOC_AVR_HH8_LDI_PM_NEG
|
---|
1492 | This is a 16 bit reloc for the AVR that stores negated 8 bit value
|
---|
1493 | (high 6 bit of 22 bit command address) into 8 bit immediate
|
---|
1494 | value of SUBI insn.
|
---|
1495 | @end deffn
|
---|
1496 | @deffn {} BFD_RELOC_AVR_CALL
|
---|
1497 | This is a 32 bit reloc for the AVR that stores 23 bit value
|
---|
1498 | into 22 bits.
|
---|
1499 | @end deffn
|
---|
1500 | @deffn {} BFD_RELOC_390_12
|
---|
1501 | Direct 12 bit.
|
---|
1502 | @end deffn
|
---|
1503 | @deffn {} BFD_RELOC_390_GOT12
|
---|
1504 | 12 bit GOT offset.
|
---|
1505 | @end deffn
|
---|
1506 | @deffn {} BFD_RELOC_390_PLT32
|
---|
1507 | 32 bit PC relative PLT address.
|
---|
1508 | @end deffn
|
---|
1509 | @deffn {} BFD_RELOC_390_COPY
|
---|
1510 | Copy symbol at runtime.
|
---|
1511 | @end deffn
|
---|
1512 | @deffn {} BFD_RELOC_390_GLOB_DAT
|
---|
1513 | Create GOT entry.
|
---|
1514 | @end deffn
|
---|
1515 | @deffn {} BFD_RELOC_390_JMP_SLOT
|
---|
1516 | Create PLT entry.
|
---|
1517 | @end deffn
|
---|
1518 | @deffn {} BFD_RELOC_390_RELATIVE
|
---|
1519 | Adjust by program base.
|
---|
1520 | @end deffn
|
---|
1521 | @deffn {} BFD_RELOC_390_GOTPC
|
---|
1522 | 32 bit PC relative offset to GOT.
|
---|
1523 | @end deffn
|
---|
1524 | @deffn {} BFD_RELOC_390_GOT16
|
---|
1525 | 16 bit GOT offset.
|
---|
1526 | @end deffn
|
---|
1527 | @deffn {} BFD_RELOC_390_PC16DBL
|
---|
1528 | PC relative 16 bit shifted by 1.
|
---|
1529 | @end deffn
|
---|
1530 | @deffn {} BFD_RELOC_390_PLT16DBL
|
---|
1531 | 16 bit PC rel. PLT shifted by 1.
|
---|
1532 | @end deffn
|
---|
1533 | @deffn {} BFD_RELOC_390_PC32DBL
|
---|
1534 | PC relative 32 bit shifted by 1.
|
---|
1535 | @end deffn
|
---|
1536 | @deffn {} BFD_RELOC_390_PLT32DBL
|
---|
1537 | 32 bit PC rel. PLT shifted by 1.
|
---|
1538 | @end deffn
|
---|
1539 | @deffn {} BFD_RELOC_390_GOTPCDBL
|
---|
1540 | 32 bit PC rel. GOT shifted by 1.
|
---|
1541 | @end deffn
|
---|
1542 | @deffn {} BFD_RELOC_390_GOT64
|
---|
1543 | 64 bit GOT offset.
|
---|
1544 | @end deffn
|
---|
1545 | @deffn {} BFD_RELOC_390_PLT64
|
---|
1546 | 64 bit PC relative PLT address.
|
---|
1547 | @end deffn
|
---|
1548 | @deffn {} BFD_RELOC_390_GOTENT
|
---|
1549 | 32 bit rel. offset to GOT entry.
|
---|
1550 | @end deffn
|
---|
1551 | @deffn {} BFD_RELOC_390_GOTOFF64
|
---|
1552 | 64 bit offset to GOT.
|
---|
1553 | @end deffn
|
---|
1554 | @deffn {} BFD_RELOC_390_GOTPLT12
|
---|
1555 | 12-bit offset to symbol-entry within GOT, with PLT handling.
|
---|
1556 | @end deffn
|
---|
1557 | @deffn {} BFD_RELOC_390_GOTPLT16
|
---|
1558 | 16-bit offset to symbol-entry within GOT, with PLT handling.
|
---|
1559 | @end deffn
|
---|
1560 | @deffn {} BFD_RELOC_390_GOTPLT32
|
---|
1561 | 32-bit offset to symbol-entry within GOT, with PLT handling.
|
---|
1562 | @end deffn
|
---|
1563 | @deffn {} BFD_RELOC_390_GOTPLT64
|
---|
1564 | 64-bit offset to symbol-entry within GOT, with PLT handling.
|
---|
1565 | @end deffn
|
---|
1566 | @deffn {} BFD_RELOC_390_GOTPLTENT
|
---|
1567 | 32-bit rel. offset to symbol-entry within GOT, with PLT handling.
|
---|
1568 | @end deffn
|
---|
1569 | @deffn {} BFD_RELOC_390_PLTOFF16
|
---|
1570 | 16-bit rel. offset from the GOT to a PLT entry.
|
---|
1571 | @end deffn
|
---|
1572 | @deffn {} BFD_RELOC_390_PLTOFF32
|
---|
1573 | 32-bit rel. offset from the GOT to a PLT entry.
|
---|
1574 | @end deffn
|
---|
1575 | @deffn {} BFD_RELOC_390_PLTOFF64
|
---|
1576 | 64-bit rel. offset from the GOT to a PLT entry.
|
---|
1577 | @end deffn
|
---|
1578 | @deffn {} BFD_RELOC_390_TLS_LOAD
|
---|
1579 | @deffnx {} BFD_RELOC_390_TLS_GDCALL
|
---|
1580 | @deffnx {} BFD_RELOC_390_TLS_LDCALL
|
---|
1581 | @deffnx {} BFD_RELOC_390_TLS_GD32
|
---|
1582 | @deffnx {} BFD_RELOC_390_TLS_GD64
|
---|
1583 | @deffnx {} BFD_RELOC_390_TLS_GOTIE12
|
---|
1584 | @deffnx {} BFD_RELOC_390_TLS_GOTIE32
|
---|
1585 | @deffnx {} BFD_RELOC_390_TLS_GOTIE64
|
---|
1586 | @deffnx {} BFD_RELOC_390_TLS_LDM32
|
---|
1587 | @deffnx {} BFD_RELOC_390_TLS_LDM64
|
---|
1588 | @deffnx {} BFD_RELOC_390_TLS_IE32
|
---|
1589 | @deffnx {} BFD_RELOC_390_TLS_IE64
|
---|
1590 | @deffnx {} BFD_RELOC_390_TLS_IEENT
|
---|
1591 | @deffnx {} BFD_RELOC_390_TLS_LE32
|
---|
1592 | @deffnx {} BFD_RELOC_390_TLS_LE64
|
---|
1593 | @deffnx {} BFD_RELOC_390_TLS_LDO32
|
---|
1594 | @deffnx {} BFD_RELOC_390_TLS_LDO64
|
---|
1595 | @deffnx {} BFD_RELOC_390_TLS_DTPMOD
|
---|
1596 | @deffnx {} BFD_RELOC_390_TLS_DTPOFF
|
---|
1597 | @deffnx {} BFD_RELOC_390_TLS_TPOFF
|
---|
1598 | s390 tls relocations.
|
---|
1599 | @end deffn
|
---|
1600 | @deffn {} BFD_RELOC_IP2K_FR9
|
---|
1601 | Scenix IP2K - 9-bit register number / data address
|
---|
1602 | @end deffn
|
---|
1603 | @deffn {} BFD_RELOC_IP2K_BANK
|
---|
1604 | Scenix IP2K - 4-bit register/data bank number
|
---|
1605 | @end deffn
|
---|
1606 | @deffn {} BFD_RELOC_IP2K_ADDR16CJP
|
---|
1607 | Scenix IP2K - low 13 bits of instruction word address
|
---|
1608 | @end deffn
|
---|
1609 | @deffn {} BFD_RELOC_IP2K_PAGE3
|
---|
1610 | Scenix IP2K - high 3 bits of instruction word address
|
---|
1611 | @end deffn
|
---|
1612 | @deffn {} BFD_RELOC_IP2K_LO8DATA
|
---|
1613 | @deffnx {} BFD_RELOC_IP2K_HI8DATA
|
---|
1614 | @deffnx {} BFD_RELOC_IP2K_EX8DATA
|
---|
1615 | Scenix IP2K - ext/low/high 8 bits of data address
|
---|
1616 | @end deffn
|
---|
1617 | @deffn {} BFD_RELOC_IP2K_LO8INSN
|
---|
1618 | @deffnx {} BFD_RELOC_IP2K_HI8INSN
|
---|
1619 | Scenix IP2K - low/high 8 bits of instruction word address
|
---|
1620 | @end deffn
|
---|
1621 | @deffn {} BFD_RELOC_IP2K_PC_SKIP
|
---|
1622 | Scenix IP2K - even/odd PC modifier to modify snb pcl.0
|
---|
1623 | @end deffn
|
---|
1624 | @deffn {} BFD_RELOC_IP2K_TEXT
|
---|
1625 | Scenix IP2K - 16 bit word address in text section.
|
---|
1626 | @end deffn
|
---|
1627 | @deffn {} BFD_RELOC_IP2K_FR_OFFSET
|
---|
1628 | Scenix IP2K - 7-bit sp or dp offset
|
---|
1629 | @end deffn
|
---|
1630 | @deffn {} BFD_RELOC_VPE4KMATH_DATA
|
---|
1631 | @deffnx {} BFD_RELOC_VPE4KMATH_INSN
|
---|
1632 | Scenix VPE4K coprocessor - data/insn-space addressing
|
---|
1633 | @end deffn
|
---|
1634 | @deffn {} BFD_RELOC_VTABLE_INHERIT
|
---|
1635 | @deffnx {} BFD_RELOC_VTABLE_ENTRY
|
---|
1636 | These two relocations are used by the linker to determine which of
|
---|
1637 | the entries in a C++ virtual function table are actually used. When
|
---|
1638 | the --gc-sections option is given, the linker will zero out the entries
|
---|
1639 | that are not used, so that the code for those functions need not be
|
---|
1640 | included in the output.
|
---|
1641 |
|
---|
1642 | VTABLE_INHERIT is a zero-space relocation used to describe to the
|
---|
1643 | linker the inheritence tree of a C++ virtual function table. The
|
---|
1644 | relocation's symbol should be the parent class' vtable, and the
|
---|
1645 | relocation should be located at the child vtable.
|
---|
1646 |
|
---|
1647 | VTABLE_ENTRY is a zero-space relocation that describes the use of a
|
---|
1648 | virtual function table entry. The reloc's symbol should refer to the
|
---|
1649 | table of the class mentioned in the code. Off of that base, an offset
|
---|
1650 | describes the entry that is being used. For Rela hosts, this offset
|
---|
1651 | is stored in the reloc's addend. For Rel hosts, we are forced to put
|
---|
1652 | this offset in the reloc's section offset.
|
---|
1653 | @end deffn
|
---|
1654 | @deffn {} BFD_RELOC_IA64_IMM14
|
---|
1655 | @deffnx {} BFD_RELOC_IA64_IMM22
|
---|
1656 | @deffnx {} BFD_RELOC_IA64_IMM64
|
---|
1657 | @deffnx {} BFD_RELOC_IA64_DIR32MSB
|
---|
1658 | @deffnx {} BFD_RELOC_IA64_DIR32LSB
|
---|
1659 | @deffnx {} BFD_RELOC_IA64_DIR64MSB
|
---|
1660 | @deffnx {} BFD_RELOC_IA64_DIR64LSB
|
---|
1661 | @deffnx {} BFD_RELOC_IA64_GPREL22
|
---|
1662 | @deffnx {} BFD_RELOC_IA64_GPREL64I
|
---|
1663 | @deffnx {} BFD_RELOC_IA64_GPREL32MSB
|
---|
1664 | @deffnx {} BFD_RELOC_IA64_GPREL32LSB
|
---|
1665 | @deffnx {} BFD_RELOC_IA64_GPREL64MSB
|
---|
1666 | @deffnx {} BFD_RELOC_IA64_GPREL64LSB
|
---|
1667 | @deffnx {} BFD_RELOC_IA64_LTOFF22
|
---|
1668 | @deffnx {} BFD_RELOC_IA64_LTOFF64I
|
---|
1669 | @deffnx {} BFD_RELOC_IA64_PLTOFF22
|
---|
1670 | @deffnx {} BFD_RELOC_IA64_PLTOFF64I
|
---|
1671 | @deffnx {} BFD_RELOC_IA64_PLTOFF64MSB
|
---|
1672 | @deffnx {} BFD_RELOC_IA64_PLTOFF64LSB
|
---|
1673 | @deffnx {} BFD_RELOC_IA64_FPTR64I
|
---|
1674 | @deffnx {} BFD_RELOC_IA64_FPTR32MSB
|
---|
1675 | @deffnx {} BFD_RELOC_IA64_FPTR32LSB
|
---|
1676 | @deffnx {} BFD_RELOC_IA64_FPTR64MSB
|
---|
1677 | @deffnx {} BFD_RELOC_IA64_FPTR64LSB
|
---|
1678 | @deffnx {} BFD_RELOC_IA64_PCREL21B
|
---|
1679 | @deffnx {} BFD_RELOC_IA64_PCREL21BI
|
---|
1680 | @deffnx {} BFD_RELOC_IA64_PCREL21M
|
---|
1681 | @deffnx {} BFD_RELOC_IA64_PCREL21F
|
---|
1682 | @deffnx {} BFD_RELOC_IA64_PCREL22
|
---|
1683 | @deffnx {} BFD_RELOC_IA64_PCREL60B
|
---|
1684 | @deffnx {} BFD_RELOC_IA64_PCREL64I
|
---|
1685 | @deffnx {} BFD_RELOC_IA64_PCREL32MSB
|
---|
1686 | @deffnx {} BFD_RELOC_IA64_PCREL32LSB
|
---|
1687 | @deffnx {} BFD_RELOC_IA64_PCREL64MSB
|
---|
1688 | @deffnx {} BFD_RELOC_IA64_PCREL64LSB
|
---|
1689 | @deffnx {} BFD_RELOC_IA64_LTOFF_FPTR22
|
---|
1690 | @deffnx {} BFD_RELOC_IA64_LTOFF_FPTR64I
|
---|
1691 | @deffnx {} BFD_RELOC_IA64_LTOFF_FPTR32MSB
|
---|
1692 | @deffnx {} BFD_RELOC_IA64_LTOFF_FPTR32LSB
|
---|
1693 | @deffnx {} BFD_RELOC_IA64_LTOFF_FPTR64MSB
|
---|
1694 | @deffnx {} BFD_RELOC_IA64_LTOFF_FPTR64LSB
|
---|
1695 | @deffnx {} BFD_RELOC_IA64_SEGREL32MSB
|
---|
1696 | @deffnx {} BFD_RELOC_IA64_SEGREL32LSB
|
---|
1697 | @deffnx {} BFD_RELOC_IA64_SEGREL64MSB
|
---|
1698 | @deffnx {} BFD_RELOC_IA64_SEGREL64LSB
|
---|
1699 | @deffnx {} BFD_RELOC_IA64_SECREL32MSB
|
---|
1700 | @deffnx {} BFD_RELOC_IA64_SECREL32LSB
|
---|
1701 | @deffnx {} BFD_RELOC_IA64_SECREL64MSB
|
---|
1702 | @deffnx {} BFD_RELOC_IA64_SECREL64LSB
|
---|
1703 | @deffnx {} BFD_RELOC_IA64_REL32MSB
|
---|
1704 | @deffnx {} BFD_RELOC_IA64_REL32LSB
|
---|
1705 | @deffnx {} BFD_RELOC_IA64_REL64MSB
|
---|
1706 | @deffnx {} BFD_RELOC_IA64_REL64LSB
|
---|
1707 | @deffnx {} BFD_RELOC_IA64_LTV32MSB
|
---|
1708 | @deffnx {} BFD_RELOC_IA64_LTV32LSB
|
---|
1709 | @deffnx {} BFD_RELOC_IA64_LTV64MSB
|
---|
1710 | @deffnx {} BFD_RELOC_IA64_LTV64LSB
|
---|
1711 | @deffnx {} BFD_RELOC_IA64_IPLTMSB
|
---|
1712 | @deffnx {} BFD_RELOC_IA64_IPLTLSB
|
---|
1713 | @deffnx {} BFD_RELOC_IA64_COPY
|
---|
1714 | @deffnx {} BFD_RELOC_IA64_LTOFF22X
|
---|
1715 | @deffnx {} BFD_RELOC_IA64_LDXMOV
|
---|
1716 | @deffnx {} BFD_RELOC_IA64_TPREL14
|
---|
1717 | @deffnx {} BFD_RELOC_IA64_TPREL22
|
---|
1718 | @deffnx {} BFD_RELOC_IA64_TPREL64I
|
---|
1719 | @deffnx {} BFD_RELOC_IA64_TPREL64MSB
|
---|
1720 | @deffnx {} BFD_RELOC_IA64_TPREL64LSB
|
---|
1721 | @deffnx {} BFD_RELOC_IA64_LTOFF_TPREL22
|
---|
1722 | @deffnx {} BFD_RELOC_IA64_DTPMOD64MSB
|
---|
1723 | @deffnx {} BFD_RELOC_IA64_DTPMOD64LSB
|
---|
1724 | @deffnx {} BFD_RELOC_IA64_LTOFF_DTPMOD22
|
---|
1725 | @deffnx {} BFD_RELOC_IA64_DTPREL14
|
---|
1726 | @deffnx {} BFD_RELOC_IA64_DTPREL22
|
---|
1727 | @deffnx {} BFD_RELOC_IA64_DTPREL64I
|
---|
1728 | @deffnx {} BFD_RELOC_IA64_DTPREL32MSB
|
---|
1729 | @deffnx {} BFD_RELOC_IA64_DTPREL32LSB
|
---|
1730 | @deffnx {} BFD_RELOC_IA64_DTPREL64MSB
|
---|
1731 | @deffnx {} BFD_RELOC_IA64_DTPREL64LSB
|
---|
1732 | @deffnx {} BFD_RELOC_IA64_LTOFF_DTPREL22
|
---|
1733 | Intel IA64 Relocations.
|
---|
1734 | @end deffn
|
---|
1735 | @deffn {} BFD_RELOC_M68HC11_HI8
|
---|
1736 | Motorola 68HC11 reloc.
|
---|
1737 | This is the 8 bit high part of an absolute address.
|
---|
1738 | @end deffn
|
---|
1739 | @deffn {} BFD_RELOC_M68HC11_LO8
|
---|
1740 | Motorola 68HC11 reloc.
|
---|
1741 | This is the 8 bit low part of an absolute address.
|
---|
1742 | @end deffn
|
---|
1743 | @deffn {} BFD_RELOC_M68HC11_3B
|
---|
1744 | Motorola 68HC11 reloc.
|
---|
1745 | This is the 3 bit of a value.
|
---|
1746 | @end deffn
|
---|
1747 | @deffn {} BFD_RELOC_M68HC11_RL_JUMP
|
---|
1748 | Motorola 68HC11 reloc.
|
---|
1749 | This reloc marks the beginning of a jump/call instruction.
|
---|
1750 | It is used for linker relaxation to correctly identify beginning
|
---|
1751 | of instruction and change some branchs to use PC-relative
|
---|
1752 | addressing mode.
|
---|
1753 | @end deffn
|
---|
1754 | @deffn {} BFD_RELOC_M68HC11_RL_GROUP
|
---|
1755 | Motorola 68HC11 reloc.
|
---|
1756 | This reloc marks a group of several instructions that gcc generates
|
---|
1757 | and for which the linker relaxation pass can modify and/or remove
|
---|
1758 | some of them.
|
---|
1759 | @end deffn
|
---|
1760 | @deffn {} BFD_RELOC_M68HC11_LO16
|
---|
1761 | Motorola 68HC11 reloc.
|
---|
1762 | This is the 16-bit lower part of an address. It is used for 'call'
|
---|
1763 | instruction to specify the symbol address without any special
|
---|
1764 | transformation (due to memory bank window).
|
---|
1765 | @end deffn
|
---|
1766 | @deffn {} BFD_RELOC_M68HC11_PAGE
|
---|
1767 | Motorola 68HC11 reloc.
|
---|
1768 | This is a 8-bit reloc that specifies the page number of an address.
|
---|
1769 | It is used by 'call' instruction to specify the page number of
|
---|
1770 | the symbol.
|
---|
1771 | @end deffn
|
---|
1772 | @deffn {} BFD_RELOC_M68HC11_24
|
---|
1773 | Motorola 68HC11 reloc.
|
---|
1774 | This is a 24-bit reloc that represents the address with a 16-bit
|
---|
1775 | value and a 8-bit page number. The symbol address is transformed
|
---|
1776 | to follow the 16K memory bank of 68HC12 (seen as mapped in the window).
|
---|
1777 | @end deffn
|
---|
1778 | @deffn {} BFD_RELOC_CRIS_BDISP8
|
---|
1779 | @deffnx {} BFD_RELOC_CRIS_UNSIGNED_5
|
---|
1780 | @deffnx {} BFD_RELOC_CRIS_SIGNED_6
|
---|
1781 | @deffnx {} BFD_RELOC_CRIS_UNSIGNED_6
|
---|
1782 | @deffnx {} BFD_RELOC_CRIS_UNSIGNED_4
|
---|
1783 | These relocs are only used within the CRIS assembler. They are not
|
---|
1784 | (at present) written to any object files.
|
---|
1785 | @end deffn
|
---|
1786 | @deffn {} BFD_RELOC_CRIS_COPY
|
---|
1787 | @deffnx {} BFD_RELOC_CRIS_GLOB_DAT
|
---|
1788 | @deffnx {} BFD_RELOC_CRIS_JUMP_SLOT
|
---|
1789 | @deffnx {} BFD_RELOC_CRIS_RELATIVE
|
---|
1790 | Relocs used in ELF shared libraries for CRIS.
|
---|
1791 | @end deffn
|
---|
1792 | @deffn {} BFD_RELOC_CRIS_32_GOT
|
---|
1793 | 32-bit offset to symbol-entry within GOT.
|
---|
1794 | @end deffn
|
---|
1795 | @deffn {} BFD_RELOC_CRIS_16_GOT
|
---|
1796 | 16-bit offset to symbol-entry within GOT.
|
---|
1797 | @end deffn
|
---|
1798 | @deffn {} BFD_RELOC_CRIS_32_GOTPLT
|
---|
1799 | 32-bit offset to symbol-entry within GOT, with PLT handling.
|
---|
1800 | @end deffn
|
---|
1801 | @deffn {} BFD_RELOC_CRIS_16_GOTPLT
|
---|
1802 | 16-bit offset to symbol-entry within GOT, with PLT handling.
|
---|
1803 | @end deffn
|
---|
1804 | @deffn {} BFD_RELOC_CRIS_32_GOTREL
|
---|
1805 | 32-bit offset to symbol, relative to GOT.
|
---|
1806 | @end deffn
|
---|
1807 | @deffn {} BFD_RELOC_CRIS_32_PLT_GOTREL
|
---|
1808 | 32-bit offset to symbol with PLT entry, relative to GOT.
|
---|
1809 | @end deffn
|
---|
1810 | @deffn {} BFD_RELOC_CRIS_32_PLT_PCREL
|
---|
1811 | 32-bit offset to symbol with PLT entry, relative to this relocation.
|
---|
1812 | @end deffn
|
---|
1813 | @deffn {} BFD_RELOC_860_COPY
|
---|
1814 | @deffnx {} BFD_RELOC_860_GLOB_DAT
|
---|
1815 | @deffnx {} BFD_RELOC_860_JUMP_SLOT
|
---|
1816 | @deffnx {} BFD_RELOC_860_RELATIVE
|
---|
1817 | @deffnx {} BFD_RELOC_860_PC26
|
---|
1818 | @deffnx {} BFD_RELOC_860_PLT26
|
---|
1819 | @deffnx {} BFD_RELOC_860_PC16
|
---|
1820 | @deffnx {} BFD_RELOC_860_LOW0
|
---|
1821 | @deffnx {} BFD_RELOC_860_SPLIT0
|
---|
1822 | @deffnx {} BFD_RELOC_860_LOW1
|
---|
1823 | @deffnx {} BFD_RELOC_860_SPLIT1
|
---|
1824 | @deffnx {} BFD_RELOC_860_LOW2
|
---|
1825 | @deffnx {} BFD_RELOC_860_SPLIT2
|
---|
1826 | @deffnx {} BFD_RELOC_860_LOW3
|
---|
1827 | @deffnx {} BFD_RELOC_860_LOGOT0
|
---|
1828 | @deffnx {} BFD_RELOC_860_SPGOT0
|
---|
1829 | @deffnx {} BFD_RELOC_860_LOGOT1
|
---|
1830 | @deffnx {} BFD_RELOC_860_SPGOT1
|
---|
1831 | @deffnx {} BFD_RELOC_860_LOGOTOFF0
|
---|
1832 | @deffnx {} BFD_RELOC_860_SPGOTOFF0
|
---|
1833 | @deffnx {} BFD_RELOC_860_LOGOTOFF1
|
---|
1834 | @deffnx {} BFD_RELOC_860_SPGOTOFF1
|
---|
1835 | @deffnx {} BFD_RELOC_860_LOGOTOFF2
|
---|
1836 | @deffnx {} BFD_RELOC_860_LOGOTOFF3
|
---|
1837 | @deffnx {} BFD_RELOC_860_LOPC
|
---|
1838 | @deffnx {} BFD_RELOC_860_HIGHADJ
|
---|
1839 | @deffnx {} BFD_RELOC_860_HAGOT
|
---|
1840 | @deffnx {} BFD_RELOC_860_HAGOTOFF
|
---|
1841 | @deffnx {} BFD_RELOC_860_HAPC
|
---|
1842 | @deffnx {} BFD_RELOC_860_HIGH
|
---|
1843 | @deffnx {} BFD_RELOC_860_HIGOT
|
---|
1844 | @deffnx {} BFD_RELOC_860_HIGOTOFF
|
---|
1845 | Intel i860 Relocations.
|
---|
1846 | @end deffn
|
---|
1847 | @deffn {} BFD_RELOC_OPENRISC_ABS_26
|
---|
1848 | @deffnx {} BFD_RELOC_OPENRISC_REL_26
|
---|
1849 | OpenRISC Relocations.
|
---|
1850 | @end deffn
|
---|
1851 | @deffn {} BFD_RELOC_H8_DIR16A8
|
---|
1852 | @deffnx {} BFD_RELOC_H8_DIR16R8
|
---|
1853 | @deffnx {} BFD_RELOC_H8_DIR24A8
|
---|
1854 | @deffnx {} BFD_RELOC_H8_DIR24R8
|
---|
1855 | @deffnx {} BFD_RELOC_H8_DIR32A16
|
---|
1856 | H8 elf Relocations.
|
---|
1857 | @end deffn
|
---|
1858 | @deffn {} BFD_RELOC_XSTORMY16_REL_12
|
---|
1859 | @deffnx {} BFD_RELOC_XSTORMY16_12
|
---|
1860 | @deffnx {} BFD_RELOC_XSTORMY16_24
|
---|
1861 | @deffnx {} BFD_RELOC_XSTORMY16_FPTR16
|
---|
1862 | Sony Xstormy16 Relocations.
|
---|
1863 | @end deffn
|
---|
1864 | @deffn {} BFD_RELOC_VAX_GLOB_DAT
|
---|
1865 | @deffnx {} BFD_RELOC_VAX_JMP_SLOT
|
---|
1866 | @deffnx {} BFD_RELOC_VAX_RELATIVE
|
---|
1867 | Relocations used by VAX ELF.
|
---|
1868 | @end deffn
|
---|
1869 | @deffn {} BFD_RELOC_MSP430_10_PCREL
|
---|
1870 | @deffnx {} BFD_RELOC_MSP430_16_PCREL
|
---|
1871 | @deffnx {} BFD_RELOC_MSP430_16
|
---|
1872 | @deffnx {} BFD_RELOC_MSP430_16_PCREL_BYTE
|
---|
1873 | @deffnx {} BFD_RELOC_MSP430_16_BYTE
|
---|
1874 | msp430 specific relocation codes
|
---|
1875 | @end deffn
|
---|
1876 | @deffn {} BFD_RELOC_IQ2000_OFFSET_16
|
---|
1877 | @deffnx {} BFD_RELOC_IQ2000_OFFSET_21
|
---|
1878 | @deffnx {} BFD_RELOC_IQ2000_UHI16
|
---|
1879 | IQ2000 Relocations.
|
---|
1880 | @end deffn
|
---|
1881 | @deffn {} BFD_RELOC_XTENSA_RTLD
|
---|
1882 | Special Xtensa relocation used only by PLT entries in ELF shared
|
---|
1883 | objects to indicate that the runtime linker should set the value
|
---|
1884 | to one of its own internal functions or data structures.
|
---|
1885 | @end deffn
|
---|
1886 | @deffn {} BFD_RELOC_XTENSA_GLOB_DAT
|
---|
1887 | @deffnx {} BFD_RELOC_XTENSA_JMP_SLOT
|
---|
1888 | @deffnx {} BFD_RELOC_XTENSA_RELATIVE
|
---|
1889 | Xtensa relocations for ELF shared objects.
|
---|
1890 | @end deffn
|
---|
1891 | @deffn {} BFD_RELOC_XTENSA_PLT
|
---|
1892 | Xtensa relocation used in ELF object files for symbols that may require
|
---|
1893 | PLT entries. Otherwise, this is just a generic 32-bit relocation.
|
---|
1894 | @end deffn
|
---|
1895 | @deffn {} BFD_RELOC_XTENSA_OP0
|
---|
1896 | @deffnx {} BFD_RELOC_XTENSA_OP1
|
---|
1897 | @deffnx {} BFD_RELOC_XTENSA_OP2
|
---|
1898 | Generic Xtensa relocations. Only the operand number is encoded
|
---|
1899 | in the relocation. The details are determined by extracting the
|
---|
1900 | instruction opcode.
|
---|
1901 | @end deffn
|
---|
1902 | @deffn {} BFD_RELOC_XTENSA_ASM_EXPAND
|
---|
1903 | Xtensa relocation to mark that the assembler expanded the
|
---|
1904 | instructions from an original target. The expansion size is
|
---|
1905 | encoded in the reloc size.
|
---|
1906 | @end deffn
|
---|
1907 | @deffn {} BFD_RELOC_XTENSA_ASM_SIMPLIFY
|
---|
1908 | Xtensa relocation to mark that the linker should simplify
|
---|
1909 | assembler-expanded instructions. This is commonly used
|
---|
1910 | internally by the linker after analysis of a
|
---|
1911 | BFD_RELOC_XTENSA_ASM_EXPAND.
|
---|
1912 | @end deffn
|
---|
1913 |
|
---|
1914 | @example
|
---|
1915 |
|
---|
1916 | typedef enum bfd_reloc_code_real bfd_reloc_code_real_type;
|
---|
1917 | @end example
|
---|
1918 | @findex bfd_reloc_type_lookup
|
---|
1919 | @subsubsection @code{bfd_reloc_type_lookup}
|
---|
1920 | @strong{Synopsis}
|
---|
1921 | @example
|
---|
1922 | reloc_howto_type *
|
---|
1923 | bfd_reloc_type_lookup (bfd *abfd, bfd_reloc_code_real_type code);
|
---|
1924 | @end example
|
---|
1925 | @strong{Description}@*
|
---|
1926 | Return a pointer to a howto structure which, when
|
---|
1927 | invoked, will perform the relocation @var{code} on data from the
|
---|
1928 | architecture noted.
|
---|
1929 |
|
---|
1930 | @findex bfd_default_reloc_type_lookup
|
---|
1931 | @subsubsection @code{bfd_default_reloc_type_lookup}
|
---|
1932 | @strong{Synopsis}
|
---|
1933 | @example
|
---|
1934 | reloc_howto_type *bfd_default_reloc_type_lookup
|
---|
1935 | (bfd *abfd, bfd_reloc_code_real_type code);
|
---|
1936 | @end example
|
---|
1937 | @strong{Description}@*
|
---|
1938 | Provides a default relocation lookup routine for any architecture.
|
---|
1939 |
|
---|
1940 | @findex bfd_get_reloc_code_name
|
---|
1941 | @subsubsection @code{bfd_get_reloc_code_name}
|
---|
1942 | @strong{Synopsis}
|
---|
1943 | @example
|
---|
1944 | const char *bfd_get_reloc_code_name (bfd_reloc_code_real_type code);
|
---|
1945 | @end example
|
---|
1946 | @strong{Description}@*
|
---|
1947 | Provides a printable name for the supplied relocation code.
|
---|
1948 | Useful mainly for printing error messages.
|
---|
1949 |
|
---|
1950 | @findex bfd_generic_relax_section
|
---|
1951 | @subsubsection @code{bfd_generic_relax_section}
|
---|
1952 | @strong{Synopsis}
|
---|
1953 | @example
|
---|
1954 | bfd_boolean bfd_generic_relax_section
|
---|
1955 | (bfd *abfd,
|
---|
1956 | asection *section,
|
---|
1957 | struct bfd_link_info *,
|
---|
1958 | bfd_boolean *);
|
---|
1959 | @end example
|
---|
1960 | @strong{Description}@*
|
---|
1961 | Provides default handling for relaxing for back ends which
|
---|
1962 | don't do relaxing -- i.e., does nothing.
|
---|
1963 |
|
---|
1964 | @findex bfd_generic_gc_sections
|
---|
1965 | @subsubsection @code{bfd_generic_gc_sections}
|
---|
1966 | @strong{Synopsis}
|
---|
1967 | @example
|
---|
1968 | bfd_boolean bfd_generic_gc_sections
|
---|
1969 | (bfd *, struct bfd_link_info *);
|
---|
1970 | @end example
|
---|
1971 | @strong{Description}@*
|
---|
1972 | Provides default handling for relaxing for back ends which
|
---|
1973 | don't do section gc -- i.e., does nothing.
|
---|
1974 |
|
---|
1975 | @findex bfd_generic_merge_sections
|
---|
1976 | @subsubsection @code{bfd_generic_merge_sections}
|
---|
1977 | @strong{Synopsis}
|
---|
1978 | @example
|
---|
1979 | bfd_boolean bfd_generic_merge_sections
|
---|
1980 | (bfd *, struct bfd_link_info *);
|
---|
1981 | @end example
|
---|
1982 | @strong{Description}@*
|
---|
1983 | Provides default handling for SEC_MERGE section merging for back ends
|
---|
1984 | which don't have SEC_MERGE support -- i.e., does nothing.
|
---|
1985 |
|
---|
1986 | @findex bfd_generic_get_relocated_section_contents
|
---|
1987 | @subsubsection @code{bfd_generic_get_relocated_section_contents}
|
---|
1988 | @strong{Synopsis}
|
---|
1989 | @example
|
---|
1990 | bfd_byte *
|
---|
1991 | bfd_generic_get_relocated_section_contents (bfd *abfd,
|
---|
1992 | struct bfd_link_info *link_info,
|
---|
1993 | struct bfd_link_order *link_order,
|
---|
1994 | bfd_byte *data,
|
---|
1995 | bfd_boolean relocateable,
|
---|
1996 | asymbol **symbols);
|
---|
1997 | @end example
|
---|
1998 | @strong{Description}@*
|
---|
1999 | Provides default handling of relocation effort for back ends
|
---|
2000 | which can't be bothered to do it efficiently.
|
---|
2001 |
|
---|