| /freebsd-12.1/contrib/binutils/bfd/ |
| H A D | reloc.c | 577 arelent *reloc_entry, in bfd_perform_relocation() argument 645 relocation += reloc_entry->addend; in bfd_perform_relocation() 684 relocation -= reloc_entry->address; in bfd_perform_relocation() 694 reloc_entry->addend = relocation; in bfd_perform_relocation() 783 reloc_entry->addend = 0; in bfd_perform_relocation() 793 reloc_entry->addend = 0; in bfd_perform_relocation() 967 arelent *reloc_entry, in bfd_install_relocation() argument 1031 relocation += reloc_entry->addend; in bfd_install_relocation() 1070 relocation -= reloc_entry->address; in bfd_install_relocation() 1168 reloc_entry->addend = 0; in bfd_install_relocation() [all …]
|
| H A D | elf32-mips.c | 981 if (reloc_entry->howto->type == R_MIPS_LITERAL in _bfd_mips_elf32_gprel16_reloc() 1068 val = reloc_entry->addend; in gprel32_with_gp() 1070 if (reloc_entry->howto->partial_inplace) in gprel32_with_gp() 1080 if (reloc_entry->howto->partial_inplace) in gprel32_with_gp() 1083 reloc_entry->addend = val; in gprel32_with_gp() 1086 reloc_entry->address += input_section->output_offset; in gprel32_with_gp() 1096 mips32_64bit_reloc (bfd *abfd, arelent *reloc_entry, in mips32_64bit_reloc() argument 1107 reloc32 = *reloc_entry; in mips32_64bit_reloc() 1120 addr = reloc_entry->address; in mips32_64bit_reloc() 1146 reloc_entry->address += input_section->output_offset; in mips16_gprel_reloc() [all …]
|
| H A D | elfn32-mips.c | 1784 return _bfd_mips_elf_gprel16_with_gp (abfd, symbol, reloc_entry, in mips_elf_gprel16_reloc() 1824 return _bfd_mips_elf_gprel16_with_gp (abfd, symbol, reloc_entry, in mips_elf_literal_reloc() 1890 if (reloc_entry->howto->src_mask == 0) in gprel32_with_gp() 1896 val += reloc_entry->addend; in gprel32_with_gp() 1908 reloc_entry->address += input_section->output_offset; in gprel32_with_gp() 1921 if (reloc_entry->howto->partial_inplace) in mips_elf_shift6_reloc() 1923 reloc_entry->addend = ((reloc_entry->addend & 0x00007c0) in mips_elf_shift6_reloc() 1924 | (reloc_entry->addend & 0x00000800) >> 9); in mips_elf_shift6_reloc() 1950 reloc_entry->address += input_section->output_offset; in mips16_gprel_reloc() 1967 location = (bfd_byte *) data + reloc_entry->address; in mips16_gprel_reloc() [all …]
|
| H A D | coff-i386.c | 65 coff_i386_reloc (abfd, reloc_entry, symbol, data, input_section, output_bfd, in coff_i386_reloc() argument 68 arelent *reloc_entry; 96 diff = symbol->value + reloc_entry->addend; 99 diff = reloc_entry->addend; 111 reloc_howto_type *howto = reloc_entry->howto; 123 diff = reloc_entry->addend - symbol->value; 125 diff = -reloc_entry->addend; 129 diff = reloc_entry->addend; 134 if (reloc_entry->howto->type == R_IMAGEBASE 145 reloc_howto_type *howto = reloc_entry->howto; [all …]
|
| H A D | coff-mips.c | 413 reloc_entry, in mips_generic_reloc() argument 420 arelent *reloc_entry; 429 && reloc_entry->addend == 0) 460 reloc_entry, in mips_refhi_reloc() argument 467 arelent *reloc_entry; 482 && reloc_entry->addend == 0) 526 reloc_entry, in mips_reflo_reloc() argument 533 arelent *reloc_entry; 594 reloc_entry, in mips_gprel_reloc() argument 601 arelent *reloc_entry; [all …]
|
| H A D | coff-x86_64.c | 60 arelent *reloc_entry, in coff_amd64_reloc() argument 88 diff = symbol->value + reloc_entry->addend; in coff_amd64_reloc() 91 diff = reloc_entry->addend; in coff_amd64_reloc() 103 reloc_howto_type *howto = reloc_entry->howto; in coff_amd64_reloc() 115 diff = reloc_entry->addend - symbol->value; in coff_amd64_reloc() 117 diff = -reloc_entry->addend; in coff_amd64_reloc() 121 diff = reloc_entry->addend; in coff_amd64_reloc() 126 if (reloc_entry->howto->type == R_AMD64_IMAGEBASE in coff_amd64_reloc() 137 reloc_howto_type *howto = reloc_entry->howto; in coff_amd64_reloc() 138 unsigned char *addr = (unsigned char *) data + reloc_entry->address; in coff_amd64_reloc()
|
| H A D | mipsbsd.c | 197 mips_fix_jmp_addr (abfd, reloc_entry, symbol, data, input_section, output_bfd, in mips_fix_jmp_addr() argument 200 arelent *reloc_entry; 227 relocation += reloc_entry->addend; 230 reloc_entry->address + 4; 248 mips_fix_hi16_s (abfd, reloc_entry, symbol, data, input_section, in mips_fix_hi16_s() argument 251 arelent *reloc_entry; 278 relocation += reloc_entry->addend; 281 reloc_entry->addend += 0x10000;
|
| H A D | elf32-arc.c | 37 arelent * reloc_entry, in arc_elf_b22_pcrel() argument 50 reloc_entry->addend -= reloc_entry->address; in arc_elf_b22_pcrel() 53 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data, in arc_elf_b22_pcrel()
|
| H A D | elf64-mips.c | 1935 reloc_entry->address += input_section->output_offset; in mips_elf64_gprel16_reloc() 2046 val = reloc_entry->addend; in mips_elf64_gprel32_reloc() 2048 if (reloc_entry->howto->partial_inplace) in mips_elf64_gprel32_reloc() 2058 if (reloc_entry->howto->partial_inplace) in mips_elf64_gprel32_reloc() 2061 reloc_entry->addend = val; in mips_elf64_gprel32_reloc() 2064 reloc_entry->address += input_section->output_offset; in mips_elf64_gprel32_reloc() 2077 if (reloc_entry->howto->partial_inplace) in mips_elf64_shift6_reloc() 2079 reloc_entry->addend = ((reloc_entry->addend & 0x00007c0) in mips_elf64_shift6_reloc() 2080 | (reloc_entry->addend & 0x00000800) >> 9); in mips_elf64_shift6_reloc() 2106 reloc_entry->address += input_section->output_offset; in mips16_gprel_reloc() [all …]
|
| H A D | elf32-score.c | 220 arelent *reloc_entry, in score_elf_hi16_reloc() argument 233 arelent *reloc_entry, in score_elf_lo16_reloc() argument 248 val = reloc_entry->addend; in score_elf_lo16_reloc() 355 arelent *reloc_entry, in score_elf_gprel15_with_gp() argument 407 val = reloc_entry->addend; in gprel32_with_gp() 409 if (reloc_entry->howto->partial_inplace) in gprel32_with_gp() 419 if (reloc_entry->howto->partial_inplace) in gprel32_with_gp() 422 reloc_entry->addend = val; in gprel32_with_gp() 432 arelent *reloc_entry, in score_elf_gprel15_reloc() argument 527 arelent *reloc_entry, in score_elf_got_lo16_reloc() argument [all …]
|
| H A D | coff-arm.c | 95 arelent *reloc_entry, in coff_arm_reloc() argument 107 diff = reloc_entry->addend; in coff_arm_reloc() 115 reloc_howto_type *howto = reloc_entry->howto; in coff_arm_reloc() 574 arelent *reloc_entry ATTRIBUTE_UNUSED, in aoutarm_fix_pcrel_26_done() 589 arelent *reloc_entry, in aoutarm_fix_pcrel_26() argument 617 relocation += reloc_entry->addend; in aoutarm_fix_pcrel_26() 647 arelent *reloc_entry, in coff_thumb_pcrel_common() argument 722 relocation += reloc_entry->addend; in coff_thumb_pcrel_common() 773 arelent *reloc_entry, in coff_thumb_pcrel_23() argument 787 arelent *reloc_entry, in coff_thumb_pcrel_9() argument [all …]
|
| H A D | coff-ppc.c | 1676 arelent *reloc_entry ATTRIBUTE_UNUSED; 1684 DUMP_RELOC("REFHI",reloc_entry); 1696 arelent *reloc_entry ATTRIBUTE_UNUSED; 1704 DUMP_RELOC("PAIR",reloc_entry); 1716 arelent *reloc_entry ATTRIBUTE_UNUSED; 1724 DUMP_RELOC ("TOCREL16",reloc_entry); 1736 arelent *reloc_entry ATTRIBUTE_UNUSED; 1744 DUMP_RELOC("SECREL",reloc_entry); 1756 arelent *reloc_entry ATTRIBUTE_UNUSED; 1764 DUMP_RELOC("SECTION",reloc_entry); [all …]
|
| H A D | pe-mips.c | 50 arelent *reloc_entry, in coff_mips_reloc() argument 76 diff = symbol->value + reloc_entry->addend; in coff_mips_reloc() 79 diff = reloc_entry->addend; in coff_mips_reloc() 87 diff = reloc_entry->addend; in coff_mips_reloc() 94 reloc_howto_type *howto = reloc_entry->howto; in coff_mips_reloc() 95 unsigned char *addr = (unsigned char *) data + reloc_entry->address; in coff_mips_reloc()
|
| H A D | aout-arm.c | 224 arelent *reloc_entry ATTRIBUTE_UNUSED, in MY() 237 arelent *reloc_entry, in MY() 245 bfd_size_type addr = reloc_entry->address; in MY() 265 relocation += reloc_entry->addend; in MY() 287 reloc_entry->howto = &MY (howto_table)[7]; in MY()
|
| H A D | coff-sparc.c | 65 bfd_coff_generic_reloc (abfd, reloc_entry, symbol, data, input_section, in bfd_coff_generic_reloc() argument 68 arelent *reloc_entry; 78 reloc_entry->address += input_section->output_offset;
|
| H A D | bout.c | 543 arelent *reloc_entry, in calljx_callback() argument 549 asymbol *symbol_in = *(reloc_entry->sym_ptr_ptr); in calljx_callback() 553 value = get_value (reloc_entry, link_info, input_section); in calljx_callback() 570 word += value + reloc_entry->addend; in calljx_callback() 581 arelent *reloc_entry, in callj_callback() argument 589 asymbol *symbol_in = *(reloc_entry->sym_ptr_ptr); in callj_callback() 593 value = get_value (reloc_entry, link_info, input_section); in callj_callback() 611 + balsym->symbol.value + reloc_entry->addend in callj_callback() 628 + reloc_entry->addend in callj_callback()
|
| H A D | elfxx-sparc.c | 50 init_insn_reloc (bfd *abfd, arelent *reloc_entry, asymbol *symbol, in init_insn_reloc() argument 55 reloc_howto_type *howto = reloc_entry->howto; in init_insn_reloc() 60 || reloc_entry->addend == 0)) in init_insn_reloc() 62 reloc_entry->address += input_section->output_offset; in init_insn_reloc() 76 relocation += reloc_entry->addend; in init_insn_reloc() 81 relocation -= reloc_entry->address; in init_insn_reloc() 93 arelent *reloc_entry ATTRIBUTE_UNUSED, in sparc_elf_notsup_reloc() 114 status = init_insn_reloc (abfd, reloc_entry, symbol, data, in sparc_elf_wdisp16_reloc() 121 bfd_put_32 (abfd, insn, (bfd_byte *) data + reloc_entry->address); in sparc_elf_wdisp16_reloc() 141 status = init_insn_reloc (abfd, reloc_entry, symbol, data, in sparc_elf_hix22_reloc() [all …]
|
| H A D | elf64-s390.c | 413 s390_tls_reloc (abfd, reloc_entry, symbol, data, input_section, in s390_tls_reloc() argument 416 arelent *reloc_entry; 424 reloc_entry->address += input_section->output_offset; 430 s390_elf_ldisp_reloc (abfd, reloc_entry, symbol, data, input_section, in s390_elf_ldisp_reloc() argument 433 arelent *reloc_entry; 440 reloc_howto_type *howto = reloc_entry->howto; 447 || reloc_entry->addend == 0)) 449 reloc_entry->address += input_section->output_offset; 461 relocation += reloc_entry->addend; 466 relocation -= reloc_entry->address; [all …]
|
| H A D | elf32-s390.c | 389 s390_tls_reloc (abfd, reloc_entry, symbol, data, input_section, in s390_tls_reloc() argument 392 arelent *reloc_entry; 400 reloc_entry->address += input_section->output_offset; 406 s390_elf_ldisp_reloc (abfd, reloc_entry, symbol, data, input_section, in s390_elf_ldisp_reloc() argument 409 arelent *reloc_entry; 416 reloc_howto_type *howto = reloc_entry->howto; 423 || reloc_entry->addend == 0)) 425 reloc_entry->address += input_section->output_offset; 438 relocation += reloc_entry->addend; 443 relocation -= reloc_entry->address; [all …]
|
| H A D | elf64-ppc.c | 2207 reloc_entry->addend += 0x8000; in ppc64_elf_ha_reloc() 2224 symbol->value + reloc_entry->addend, in ppc64_elf_branch_reloc() 2227 reloc_entry->addend = dest - (symbol->value in ppc64_elf_branch_reloc() 2255 r_type = reloc_entry->howto->type; in ppc64_elf_brtaken_reloc() 2281 target += reloc_entry->addend; in ppc64_elf_brtaken_reloc() 2283 from = (reloc_entry->address in ppc64_elf_brtaken_reloc() 2330 reloc_entry->addend += 0x8000; in ppc64_elf_sectoff_ha_reloc() 2353 reloc_entry->addend -= TOCstart + TOC_BASE_OFF; in ppc64_elf_toc_reloc() 2376 reloc_entry->addend -= TOCstart + TOC_BASE_OFF; in ppc64_elf_toc_ha_reloc() 2379 reloc_entry->addend += 0x8000; in ppc64_elf_toc_ha_reloc() [all …]
|
| H A D | elfxx-mips.c | 1315 arelent *reloc_entry, asection *input_section, in _bfd_mips_elf_gprel16_with_gp() argument 1334 val = reloc_entry->addend; in _bfd_mips_elf_gprel16_with_gp() 1345 if (reloc_entry->howto->partial_inplace) in _bfd_mips_elf_gprel16_with_gp() 1349 + reloc_entry->address); in _bfd_mips_elf_gprel16_with_gp() 1354 reloc_entry->addend = val; in _bfd_mips_elf_gprel16_with_gp() 1357 reloc_entry->address += input_section->output_offset; in _bfd_mips_elf_gprel16_with_gp() 1406 n->rel = *reloc_entry; in _bfd_mips_elf_hi16_reloc() 1526 if (reloc_entry->howto->pc_relative) in _bfd_mips_elf_generic_reloc() 1530 val -= reloc_entry->address; in _bfd_mips_elf_generic_reloc() 1539 reloc_entry->addend += val; in _bfd_mips_elf_generic_reloc() [all …]
|
| H A D | elf32-spu.c | 180 spu_elf_rel9 (bfd *abfd, arelent *reloc_entry, asymbol *symbol, in spu_elf_rel9() argument 192 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data, in spu_elf_rel9() 195 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) in spu_elf_rel9() 197 octets = reloc_entry->address * bfd_octets_per_byte (abfd); in spu_elf_rel9() 206 val += reloc_entry->addend; in spu_elf_rel9() 220 insn &= ~reloc_entry->howto->dst_mask; in spu_elf_rel9() 221 insn |= val & reloc_entry->howto->dst_mask; in spu_elf_rel9()
|
| H A D | elf32-ppc.c | 1657 arelent *reloc_entry, in ppc_elf_addr16_ha_reloc() argument 1668 reloc_entry->address += input_section->output_offset; in ppc_elf_addr16_ha_reloc() 1672 if (reloc_entry->address > bfd_get_section_limit (abfd, input_section)) in ppc_elf_addr16_ha_reloc() 1682 relocation += reloc_entry->addend; in ppc_elf_addr16_ha_reloc() 1683 if (reloc_entry->howto->pc_relative) in ppc_elf_addr16_ha_reloc() 1684 relocation -= reloc_entry->address; in ppc_elf_addr16_ha_reloc() 1686 reloc_entry->addend += (relocation & 0x8000) << 1; in ppc_elf_addr16_ha_reloc() 1693 arelent *reloc_entry, in ppc_elf_unhandled_reloc() argument 1704 return bfd_elf_generic_reloc (abfd, reloc_entry, symbol, data, in ppc_elf_unhandled_reloc() 1711 reloc_entry->howto->name); in ppc_elf_unhandled_reloc()
|
| H A D | elf64-alpha.c | 414 elf64_alpha_reloc_gpdisp (bfd *abfd, arelent *reloc_entry, in elf64_alpha_reloc_gpdisp() argument 427 reloc_entry->address += input_section->output_offset; in elf64_alpha_reloc_gpdisp() 432 if (reloc_entry->address > high_address in elf64_alpha_reloc_gpdisp() 433 || reloc_entry->address + reloc_entry->addend > high_address) in elf64_alpha_reloc_gpdisp() 442 + reloc_entry->address); in elf64_alpha_reloc_gpdisp() 444 p_ldah = (bfd_byte *) data + reloc_entry->address; in elf64_alpha_reloc_gpdisp() 445 p_lda = p_ldah + reloc_entry->addend; in elf64_alpha_reloc_gpdisp()
|
| /freebsd-12.1/sys/dev/drm2/i915/ |
| H A D | i915_gem_execbuffer.c | 218 uint32_t __iomem *reloc_entry; in i915_gem_execbuffer_relocate_entry() local 233 reloc_entry = (uint32_t __iomem *) in i915_gem_execbuffer_relocate_entry() 235 *(volatile uint32_t *)reloc_entry = reloc->delta; in i915_gem_execbuffer_relocate_entry()
|