Home | History | Annotate | Download | only in bfd

Lines Matching defs:relocation

1 /* BFD support for handling relocation entries.
36 a <<struct reloc_cache_entry>> for each relocation
61 This is the structure of a relocation entry:
70 . {* The relocation was performed, but there was an overflow. *}
79 . {* Unsupported relocation size requested. *}
88 . {* The relocation was performed, but may not be ok - presently
105 . {* addend for relocation value. *}
108 . {* Pointer to how to perform the required relocation. *}
124 associated with the relocation request. It is the pointer
129 modifying only one pointer. The relocation routine looks in
132 relocation offset. If the symbol pointer is zero, then the
138 the section data which owns the relocation record to the first
140 will be relative to this point; for example, a relocation
148 to the relocation offset. Its interpretation is dependent upon
168 |RELOCATION RECORDS FOR [.text]:
189 |RELOCATION RECORDS FOR [.text]:
198 The relocation routine digs out the value from the data, adds
220 |RELOCATION RECORDS FOR [.text]:
234 relocation instruction. It is a pointer to a structure which
237 would normally have a relocation instruction set and turn
248 performing a relocation.
288 . in this field. For example, a PC relative word relocation
293 . {* The value the final relocation is shifted right by. This drops
294 . unwanted data from the relocation. *}
299 . on by a type of relocation, use bfd_get_reloc_size. *}
306 . {* The relocation is relative to the field being relocated. *}
319 . strange relocation methods to be accommodated (e.g., i960 callj
325 . {* The textual name of the relocation type. *}
328 . {* Some formats record a relocation addend in the section contents
329 . rather than with the relocation. For ELF formats this is the
335 . recorded with the relocation (in arelent.addend); when performing
336 . a partial link the relocation will be modified.
346 . in the relocation sum. If the target relocations don't have an
361 . slot of the instruction, so that a PC relative relocation can
398 Helper routine to turn a symbol into a relocation value.
400 .#define HOWTO_PREPARE(relocation, symbol) \
406 . relocation = 0; \
410 . relocation = symbol->value; \
475 bfd_vma relocation);
478 Perform overflow checking on @var{relocation} which has
491 bfd_vma relocation)
503 a = (relocation & addrmask) >> rightshift;
560 relocation record. Some native formats (e.g., basic a.out and
562 relocation type, so the addend has to go in the output data.
579 bfd_vma relocation;
603 /* If there is a function supplied to handle this relocation type,
616 /* Is the address of the relocation really within the section? */
620 /* Work out which section the relocation is targeted at and the
621 initial relocation command value. */
625 relocation = 0;
627 relocation = symbol->value;
638 relocation += output_base + symbol->section->output_offset;
641 relocation += reloc_entry->addend;
643 /* Here the variable relocation holds the final address of the
648 /* This is a PC relative relocation. We want to set RELOCATION
650 location. RELOCATION is already the address of the symbol.
665 relocation is done. If pcrel_offset is FALSE we want to wind
676 relocation -=
680 relocation -= reloc_entry->address;
687 /* This is a partial relocation, and we want to apply the relocation
690 reloc_entry->addend = relocation;
696 /* This is a partial relocation, but inplace, so modify the
710 relocation with -r. Removing the line below this comment
778 relocation -= reloc_entry->addend;
783 reloc_entry->addend = relocation;
801 relocation);
804 the relocation to the reloc entry (probably because there isn't
830 relocation >>= (bfd_vma) howto->rightshift;
833 relocation <<= (bfd_vma) howto->bitpos;
840 r relocation offset to apply
869 x = ( (x & ~howto->dst_mask) | (((x & howto->src_mask) + relocation) & howto->dst_mask))
898 relocation = -relocation;
907 relocation = -relocation;
951 a relocation.
965 bfd_vma relocation;
981 /* If there is a function supplied to handle this relocation type,
999 /* Is the address of the relocation really within the section? */
1003 /* Work out which section the relocation is targeted at and the
1004 initial relocation command value. */
1008 relocation = 0;
1010 relocation = symbol->value;
1020 relocation += output_base + symbol->section->output_offset;
1023 relocation += reloc_entry->addend;
1025 /* Here the variable relocation holds the final address of the
1030 /* This is a PC relative relocation. We want to set RELOCATION
1032 location. RELOCATION is already the address of the symbol.
1047 relocation is done. If pcrel_offset is FALSE we want to wind
1058 relocation -=
1062 relocation -= reloc_entry->address;
1067 /* This is a partial relocation, and we want to apply the relocation
1070 reloc_entry->addend = relocation;
1076 /* This is a partial relocation, but inplace, so modify the
1090 relocation with -r. Removing the line below this comment
1157 relocation -= reloc_entry->addend;
1164 reloc_entry->addend = relocation;
1180 relocation);
1183 the relocation to the reloc entry (probably because there isn't
1209 relocation >>= (bfd_vma) howto->rightshift;
1212 relocation <<= (bfd_vma) howto->bitpos;
1219 r relocation offset to apply
1248 x = ( (x & ~howto->dst_mask) | (((x & howto->src_mask) + relocation) & howto->dst_mask))
1279 relocation = -relocation;
1303 /* This relocation routine is used by some of the backend linkers.
1309 This routine does a final relocation. Whether it is useful for a
1334 bfd_vma relocation;
1340 /* This function assumes that we are dealing with a basic relocation
1344 relocation = value + addend;
1346 /* If the relocation is PC relative, we want to set RELOCATION to
1347 the distance between the symbol (currently in RELOCATION) and the
1358 relocation -= (input_section->output_section->vma
1361 relocation -= address;
1364 return _bfd_relocate_contents (howto, input_bfd, relocation,
1373 bfd_vma relocation,
1382 /* If the size is negative, negate RELOCATION. This isn't very
1385 relocation = -relocation;
1430 a = (relocation & addrmask) >> rightshift;
1507 /* Put RELOCATION in the right bits. */
1508 relocation >>= (bfd_vma) rightshift;
1509 relocation <<= (bfd_vma) bitpos;
1511 /* Add RELOCATION to the right bits of X. */
1513 | (((x & howto->src_mask) + relocation) & howto->dst_mask));
1541 /* Clear a given location using a given howto, by applying a fixed relocation
1623 When an application wants to create a relocation, but doesn't
1635 will be one enumerator for every type of relocation we ever do.
1677 of the relocation itself; sometimes they are relative to the start of
1678 the section containing the relocation. It depends on the specific target.
1680 The 24-bit relocation is used in some Intel 960 configurations.
1798 Absolute 8-bit relocation, but used to form an address like 0xFFnn.
1828 displacements off that register. These relocation types are
1887 relocation types already defined.
1960 SPARC little endian relocation
2065 The ELF GPDISP relocation is exactly the same as the GPDISP_HI16
2066 relocation except that there is no accompanying GPDISP_LO16
2067 relocation.
2103 The HINT relocation indicates a value that should be filled into the
2110 The LINKAGE relocation outputs a linkage pair in the object file,
2116 The CODEADDR relocation outputs a STO_CA in the object file,
2137 The NOP relocation outputs a NOP if the longword displacement
2143 The BSR relocation outputs a BSR if the longword displacement
2149 The LDA relocation outputs a LDA if the longword displacement
2155 The BOH relocation outputs a BSR if the longword displacement
2280 Relocation against a MIPS literal section.
3018 probably a 32 bit wide absolute relocation, but the target can choose.
3019 It generally does map to one of the other relocation types.
3079 Pc-relative or absolute relocation depending on target. Used for
3094 pc-relative or some form of GOT-indirect relocation.
3581 ADI Blackfin GOT relocation.
3585 ADI Blackfin PLTPC relocation.
3589 ADI Blackfin arithmetic relocation.
3593 ADI Blackfin arithmetic relocation.
3597 ADI Blackfin arithmetic relocation.
3601 ADI Blackfin arithmetic relocation.
3605 ADI Blackfin arithmetic relocation.
3609 ADI Blackfin arithmetic relocation.
3613 ADI Blackfin arithmetic relocation.
3617 ADI Blackfin arithmetic relocation.
3621 ADI Blackfin arithmetic relocation.
3625 ADI Blackfin arithmetic relocation.
3629 ADI Blackfin arithmetic relocation.
3633 ADI Blackfin arithmetic relocation.
3637 ADI Blackfin arithmetic relocation.
3641 ADI Blackfin arithmetic relocation.
3645 ADI Blackfin arithmetic relocation.
3649 ADI Blackfin arithmetic relocation.
3653 ADI Blackfin arithmetic relocation.
3657 ADI Blackfin arithmetic relocation.
3661 ADI Blackfin arithmetic relocation.
3665 ADI Blackfin arithmetic relocation.
4121 relaxation relative relocation types
4673 This is a relocation for a relative address as in a GETA instruction or
4678 This is a relocation for a relative address as in a JMP instruction.
4682 This is a relocation for an instruction field that may be a general
4687 This is a relocation for an instruction field that may be a general
4692 This is a relocation for two instruction fields holding a register and
4693 an offset, the equivalent of the relocation.
4697 This relocation is an assertion that the expression is not allocated as
4848 assuming no relaxation. The relocation encodes the position of the
5170 STT_GNU_IFUNC relocation.
5278 VTABLE_INHERIT is a zero-space relocation used to describe to the
5280 relocation's symbol should be the parent class' vtable, and the
5281 relocation should be located at the child vtable.
5283 VTABLE_ENTRY is a zero-space relocation that describes the use of a
5857 32-bit offset to symbol with PLT entry, relative to this relocation.
6059 Morpho MT - 16 bit immediate relocation.
6079 Morpho MT - 8 bit immediate relocation.
6126 msp430 specific relocation codes
6221 Special Xtensa relocation used only by PLT entries in ELF shared
6235 Xtensa relocation used in ELF object files for symbols that may require
6236 PLT entries. Otherwise, this is just a generic 32-bit relocation.
6247 assuming no relaxation. The relocation encodes the position of the
6282 number is encoded in the relocation. The relocation applies to the
6317 relocation. The meaning of these relocations is opcode-specific.
6330 Xtensa relocation to mark that the assembler expanded the
6336 Xtensa relocation to mark that the linker should simplify
6408 Pair of relocation. Contains the first symbol.
6476 value in two words (with an imm instruction). No relocation is
6482 value in two words (with an imm instruction). The relocation is
6488 value in two words (with an imm instruction). The relocation is
6494 value in two words (with an imm instruction). The relocation is
6500 value in two words (with an imm instruction). The relocation is
6506 value in a word. The relocation is relative offset from
6522 relocation is GOT offset.
6528 relocation is GOT offset.
6556 AArch64 pseudo relocation code to mark the start of the AArch64
6557 relocation enumerators. N.B. the order of the enumerators is
6563 AArch64 null relocation code.
6717 bit signed byte offset. This relocation type requires signed overflow
6753 AArch64 TLS INITIAL EXEC relocation.
6757 AArch64 TLS INITIAL EXEC relocation.
6761 AArch64 TLS INITIAL EXEC relocation.
6765 AArch64 TLS INITIAL EXEC relocation.
6769 AArch64 TLS INITIAL EXEC relocation.
6773 AArch64 TLS INITIAL EXEC relocation.
6777 AArch64 TLS LOCAL EXEC relocation.
6781 AArch64 TLS LOCAL EXEC relocation.
6785 AArch64 TLS LOCAL EXEC relocation.
6789 AArch64 TLS LOCAL EXEC relocation.
6793 AArch64 TLS LOCAL EXEC relocation.
6797 AArch64 TLS LOCAL EXEC relocation.
6801 AArch64 TLS LOCAL EXEC relocation.
6805 AArch64 TLS LOCAL EXEC relocation.
6809 AArch64 TLS DESC relocation.
6813 AArch64 TLS DESC relocation.
6817 AArch64 TLS DESC relocation.
6821 AArch64 TLS DESC relocation.
6825 AArch64 TLS DESC relocation.
6829 AArch64 TLS DESC relocation.
6833 AArch64 TLS DESC relocation.
6837 AArch64 TLS DESC relocation.
6841 AArch64 TLS DESC relocation.
6845 AArch64 TLS DESC relocation.
6849 AArch64 TLS DESC relocation.
6853 AArch64 TLS relocation.
6857 AArch64 TLS relocation.
6861 AArch64 TLS relocation.
6865 AArch64 TLS relocation.
6869 AArch64 TLS relocation.
6873 AArch64 TLS relocation.
6877 AArch64 TLS relocation.
6881 AArch64 TLS relocation.
6889 AArch64 pseudo relocation code to mark the end of the AArch64
6890 relocation enumerators that have direct mapping to ELF reloc codes.
6897 AArch64 pseudo relocation code to be used internally by the AArch64
6907 AArch64 pseudo relocation code to be used internally by the AArch64
6912 AArch64 pseudo relocation code to be used internally by the AArch64
6917 AArch64 pseudo relocation code to be used internally by the AArch64
7350 invoked, will perform the relocation @var{code} on data from the
7379 Provides a default relocation lookup routine for any architecture.
7416 Provides a printable name for the supplied relocation code.
7539 Provides default handling of relocation effort for back ends
7654 (_("%X%P: %B(%A): relocation \"%R\" goes out of range\n"),