Home
last modified time | relevance | path

Searched refs:relocation (Results 1 – 25 of 150) sorted by relevance

123456

/freebsd-12.1/contrib/binutils/bfd/
H A Dreloc.c583 bfd_vma relocation; in bfd_perform_relocation() local
629 relocation = 0; in bfd_perform_relocation()
680 relocation -= in bfd_perform_relocation()
906 relocation = -relocation; in bfd_perform_relocation()
915 relocation = -relocation; in bfd_perform_relocation()
973 bfd_vma relocation; in bfd_install_relocation() local
1016 relocation = 0; in bfd_install_relocation()
1066 relocation -= in bfd_install_relocation()
1287 relocation = -relocation; in bfd_install_relocation()
1342 bfd_vma relocation; in _bfd_final_link_relocate() local
[all …]
H A Dcoff-arm.c596 bfd_vma relocation; in aoutarm_fix_pcrel_26() local
613 relocation = (relocation ^ 0x02000000) - 0x02000000; /* Sign extend. */ in aoutarm_fix_pcrel_26()
620 relocation -= addr; in aoutarm_fix_pcrel_26()
622 if (relocation & 3) in aoutarm_fix_pcrel_26()
718 relocation = (relocation ^ signbit) - signbit; /* Sign extend. */ in coff_thumb_pcrel_common()
725 relocation -= addr; in coff_thumb_pcrel_common()
727 if (relocation & 1) in coff_thumb_pcrel_common()
1681 relocation += 2; in coff_arm_relocate_section()
1682 relocation = (((relocation & 0xffe) >> 1) | ((relocation << 4) & 0x07ff0000)); in coff_arm_relocate_section()
1687 relocation += 2; in coff_arm_relocate_section()
[all …]
H A Dmipsbsd.c207 bfd_vma relocation, pc; local
221 relocation = 0;
223 relocation = symbol->value;
227 relocation += reloc_entry->addend;
258 bfd_vma relocation; local
272 relocation = 0;
274 relocation = symbol->value;
278 relocation += reloc_entry->addend;
280 if (relocation & 0x8000)
355 arelent *tblptr = section->relocation;
[all …]
H A Dcoff-mips.c475 bfd_vma relocation; local
494 relocation = 0;
693 relocation = 0;
796 relocation) in mips_relocate_hi() argument
821 val += relocation;
1142 relocation = 0;
1180 relocation);
1216 relocation = 0;
1240 relocation,
1247 relocation);
[all …]
H A Daout-arm.c244 bfd_vma relocation; in MY() local
260 relocation = (target & 0x00ffffff) << 2; in MY()
261 relocation = (relocation ^ 0x02000000) - 0x02000000; /* Sign extend. */ in MY()
262 relocation += symbol->value; in MY()
264 relocation += symbol->section->output_offset; in MY()
265 relocation += reloc_entry->addend; in MY()
267 relocation -= input_section->output_offset; in MY()
268 relocation -= addr; in MY()
269 if (relocation & 3) in MY()
273 if (relocation & 0x02000000) in MY()
[all …]
H A Delfxx-sparc.c54 bfd_vma relocation; in init_insn_reloc() local
110 bfd_vma relocation; in sparc_elf_wdisp16_reloc() local
137 bfd_vma relocation; in sparc_elf_hix22_reloc() local
163 bfd_vma relocation; in sparc_elf_lox10_reloc() local
2550 relocation = 0; in _bfd_sparc_elf_relocate_section()
2972 relocation = tpoff (info, relocation); in _bfd_sparc_elf_relocate_section()
2978 relocation = tpoff (info, relocation); in _bfd_sparc_elf_relocate_section()
3119 relocation = tpoff (info, relocation); in _bfd_sparc_elf_relocate_section()
3310 relocation = relocation + rel->r_addend; in _bfd_sparc_elf_relocate_section()
3352 relocation = relocation ^ MINUS_ONE; in _bfd_sparc_elf_relocate_section()
[all …]
H A Dcoff-alpha.c1006 bfd_vma relocation; local
1021 relocation = 0;
1066 bfd_vma relocation; local
1081 relocation = 0;
1114 relocation = 0;
1277 bfd_vma relocation; local
1372 relocation = 0;
1378 return relocation;
1856 bfd_vma relocation; local
1956 relocation = 0;
[all …]
H A Delf64-s390.c441 bfd_vma relocation; local
458 relocation = (symbol->value
461 relocation += reloc_entry->addend;
470 insn |= (relocation & 0xfff) << 16 | (relocation & 0xff000) >> 4;
2257 bfd_vma relocation; local
2291 h, sec, relocation,
2427 outrel.r_addend = relocation;
2901 relocation = -tpoff (info, relocation);
3021 relocation += rel->r_addend;
3022 relocation = (relocation&0xfff) << 8 | (relocation&0xff000) >> 12;
[all …]
H A Delf32-s390.c417 bfd_vma relocation; local
435 relocation = (symbol->value
438 relocation += reloc_entry->addend;
447 insn |= (relocation & 0xfff) << 16 | (relocation & 0xff000) >> 4;
2283 bfd_vma relocation; local
2317 h, sec, relocation,
2451 outrel.r_addend = relocation;
2916 relocation = -tpoff (info, relocation);
3060 relocation += rel->r_addend;
3061 relocation = (relocation&0xfff) << 8 | (relocation&0xff000) >> 12;
[all …]
H A Delf32-i386.c2234 bfd_vma relocation; in elf_i386_relocate_section() local
2317 addend -= relocation; in elf_i386_relocate_section()
2348 h, sec, relocation, in elf_i386_relocate_section()
3030 relocation += 4; in elf_i386_relocate_section()
3032 relocation += g_o_t; in elf_i386_relocate_section()
3251 relocation = -tpoff (info, relocation); in elf_i386_relocate_section()
3283 relocation = dtpoff_base (info) - relocation; in elf_i386_relocate_section()
3285 relocation -= dtpoff_base (info); in elf_i386_relocate_section()
3288 relocation = tpoff (info, relocation); in elf_i386_relocate_section()
3290 relocation = -tpoff (info, relocation); in elf_i386_relocate_section()
[all …]
H A Dcoff-rs6000.c2815 bfd_vma *relocation;
2833 bfd_vma *relocation;
2851 bfd_vma *relocation;
2876 bfd_vma *relocation;
2919 bfd_vma *relocation;
3050 bfd_vma relocation;
3062 a = relocation;
3126 bfd_vma relocation;
3138 a = relocation;
3188 bfd_vma relocation;
[all …]
H A Delf64-x86-64.c2075 bfd_vma relocation; in elf64_x86_64_relocate_section() local
2110 h, sec, relocation, in elf64_x86_64_relocate_section()
2193 bfd_put_64 (output_bfd, relocation, in elf64_x86_64_relocate_section()
2217 bfd_put_64 (output_bfd, relocation, in elf64_x86_64_relocate_section()
2236 outrel.r_addend = relocation; in elf64_x86_64_relocate_section()
2764 relocation - dtpoff_base (info), in elf64_x86_64_relocate_section()
2838 bfd_put_32 (output_bfd, relocation, in elf64_x86_64_relocate_section()
2980 relocation -= dtpoff_base (info); in elf64_x86_64_relocate_section()
2982 relocation = tpoff (info, relocation); in elf64_x86_64_relocate_section()
2987 relocation = tpoff (info, relocation); in elf64_x86_64_relocate_section()
[all …]
H A Delf32-score.c361 bfd_vma relocation; in score_elf_gprel15_with_gp() local
365 relocation = 0; in score_elf_gprel15_with_gp()
392 bfd_vma relocation; in gprel32_with_gp() local
396 relocation = 0; in gprel32_with_gp()
417 val += relocation - gp; in gprel32_with_gp()
1073 return relocation; in score_elf_next_relocation()
1075 ++relocation; in score_elf_next_relocation()
2377 relocation = 0; in _bfd_score_elf_relocate_section()
2380 relocation = 0; in _bfd_score_elf_relocate_section()
2388 relocation = 0; in _bfd_score_elf_relocate_section()
[all …]
H A Delf32-mep.c236 bfd_vma relocation) in mep_final_link_relocate() argument
260 s = relocation + rel->r_addend; in mep_final_link_relocate()
507 bfd_vma relocation; in mep_elf_relocate_section() local
534 relocation = _bfd_elf_rela_local_sym (output_bfd, sym, &sec, rel); in mep_elf_relocate_section()
548 relocation = 0; in mep_elf_relocate_section()
561 relocation = (h->root.u.def.value in mep_elf_relocate_section()
568 sec->output_section->vma, sec->output_offset, relocation); in mep_elf_relocate_section()
617 contents, rel, relocation); in mep_elf_relocate_section()
H A Delf32-arm.c4938 bfd_signed_vma relocation; in elf32_arm_final_link_relocate() local
4964 if (relocation < 0) in elf32_arm_final_link_relocate()
4977 bfd_signed_vma relocation; in elf32_arm_final_link_relocate() local
5013 bfd_vma relocation; in elf32_arm_final_link_relocate() local
5145 relocation = (relocation + 2) & ~ 3; in elf32_arm_final_link_relocate()
5170 bfd_vma relocation; in elf32_arm_final_link_relocate() local
5243 bfd_vma relocation; in elf32_arm_final_link_relocate() local
5342 relocation = ((relocation & 0x0020) << 4) | ((relocation & 0x001f) << 3); in elf32_arm_final_link_relocate()
5361 bfd_vma relocation; in elf32_arm_final_link_relocate() local
6451 - relocation; in elf32_arm_relocate_section()
[all …]
H A Daoutx.h2264 if (asect->relocation) in NAME()
3911 bfd_vma relocation; in aout_link_input_section_std() local
4040 relocation = 0; in aout_link_input_section_std()
4086 if (relocation == 0) in aout_link_input_section_std()
4115 relocation = 0; in aout_link_input_section_std()
4119 relocation = 0; in aout_link_input_section_std()
4255 bfd_vma relocation; in aout_link_input_section_ext() local
4376 relocation = 0; in aout_link_input_section_ext()
4426 if (relocation != 0) in aout_link_input_section_ext()
4457 relocation = 0; in aout_link_input_section_ext()
[all …]
H A Delf64-sparc.c76 relents = asect->relocation + canon_reloc_count (asect); in elf64_sparc_slurp_one_reloc_table()
156 if (asect->relocation != NULL) in elf64_sparc_slurp_reloc_table()
187 asect->relocation = (arelent *) bfd_alloc (abfd, amt); in elf64_sparc_slurp_reloc_table()
188 if (asect->relocation == NULL) in elf64_sparc_slurp_reloc_table()
220 tblptr = section->relocation; in elf64_sparc_canonicalize_reloc()
264 p = s->relocation; in elf64_sparc_canonicalize_dynamic_reloc()
H A Delf32-ppc.c1664 bfd_vma relocation; in ppc_elf_addr16_ha_reloc() local
1676 relocation = 0; in ppc_elf_addr16_ha_reloc()
5691 bfd_vma relocation, in elf_finish_pointer_linker_section() argument
5738 lsect->name, (long) relocation, (long) relocation); in elf_finish_pointer_linker_section()
5828 bfd_vma relocation; in ppc_elf_relocate_section() local
5854 h, sec, relocation, in ppc_elf_relocate_section()
6499 relocation = 1; in ppc_elf_relocate_section()
6710 relocation += addend; in ppc_elf_relocate_section()
6722 relocation in ppc_elf_relocate_section()
6730 relocation in ppc_elf_relocate_section()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/BinaryFormat/ELFRelocs/
H A DLanai.def6 // No relocation
8 // 21-bit symbol relocation
10 // 21-bit symbol relocation with last two bits masked to 0
14 // General 32-bit relocation
16 // Upper 16-bits of a symbolic relocation
18 // Lower 16-bits of a symbolic relocation
/freebsd-12.1/contrib/llvm/include/llvm/BinaryFormat/
H A DDynamicTags.def31 DYNAMIC_TAG(PLTRELSZ, 2) // Size of relocation entries in PLT.
36 DYNAMIC_TAG(RELA, 7) // Address of relocation table (Rela entries).
37 DYNAMIC_TAG(RELASZ, 8) // Size of Rela relocation table.
38 DYNAMIC_TAG(RELAENT, 9) // Size of a Rela relocation entry.
46 DYNAMIC_TAG(REL, 17) // Address of relocation table (Rel entries).
47 DYNAMIC_TAG(RELSZ, 18) // Size of Rel relocation table.
48 DYNAMIC_TAG(RELENT, 19) // Size of a Rel relocation entry.
70 DYNAMIC_TAG(RELRSZ, 35) // Size of Relr relocation table.
71 DYNAMIC_TAG(RELR, 36) // Address of relocation table (Relr entries).
72 DYNAMIC_TAG(RELRENT, 37) // Size of a Relr relocation entry.
[all …]
/freebsd-12.1/contrib/binutils/bfd/po/
H A Dbfd.pot25 msgid "%s: Invalid relocation type exported: %d"
33 msgid "%B: Bad relocation record imported: %d"
223 msgid "%B: unknown relocation type %d"
727 msgid "unsupported relocation"
1143 msgid "relocation requires zero addend"
1275 msgid "%B: invalid relocation type %d"
1454 msgid "%B: Unknown relocation type %d\n"
1947 msgid "invalid relocation address"
2676 msgid "invalid relocation type %d"
3070 msgid "Unsupported .stab relocation"
[all …]
/freebsd-12.1/contrib/binutils/bfd/doc/
H A Dbfdint.texi62 * BFD relocation handling:: BFD relocation handling
191 relocation. For more information, see @ref{BFD relocation handling}.
1147 @node BFD relocation handling
1157 * BFD relocation concepts:: BFD relocation concepts
1158 * BFD relocation functions:: BFD relocation functions
1159 * BFD relocation codes:: BFD relocation codes
1160 * BFD relocation future:: BFD relocation future
1163 @node BFD relocation concepts
1327 @node BFD relocation codes
1362 @node BFD relocation future
[all …]
H A Dbfdsumm.texi124 @item relocation level
125 Each canonical BFD relocation record contains a pointer to the symbol to
127 is in, and a pointer to a relocation type descriptor. Relocation is
128 performed by passing messages through the relocation type
130 on output data using a relocation method that is only available in one of the
131 input formats. For instance, Oasys provides a byte relocation format.
132 A relocation record requesting this relocation type would point
133 indirectly to a routine to perform this, so the relocation may be
135 has no such relocation type.
/freebsd-12.1/contrib/binutils/include/coff/
H A DChangeLog33 * internal.h: Add relocation identifiers for coff.
41 * internal.h: Add relocation number R_IMM24 for Z80.
45 * internal.h: Add relocation number for Z80
/freebsd-12.1/contrib/llvm/utils/TableGen/
H A DX86RecognizableInstr.cpp472 HANDLE_OPERAND(relocation); in emitInstructionSpecifier()
475 HANDLE_OPERAND(relocation); in emitInstructionSpecifier()
478 HANDLE_OPERAND(relocation); in emitInstructionSpecifier()
479 HANDLE_OPERAND(relocation); in emitInstructionSpecifier()
485 HANDLE_OPTIONAL(relocation) in emitInstructionSpecifier()
489 HANDLE_OPERAND(relocation); in emitInstructionSpecifier()
497 HANDLE_OPTIONAL(relocation) in emitInstructionSpecifier()
646 HANDLE_OPTIONAL(relocation) in emitInstructionSpecifier()
669 HANDLE_OPTIONAL(relocation) in emitInstructionSpecifier()
688 HANDLE_OPTIONAL(relocation) in emitInstructionSpecifier()

123456