/toolchain/binutils/binutils-2.25/bfd/ |
D | elf32-pj.c | 42 bfd_vma sym_value; in pj_elf_reloc() local 61 sym_value = 0; in pj_elf_reloc() 63 sym_value = (symbol_in->value + in pj_elf_reloc() 71 insn += sym_value + reloc_entry->addend; in pj_elf_reloc() 80 insn += sym_value + reloc_entry->addend; in pj_elf_reloc() 86 insn += sym_value + reloc_entry->addend in pj_elf_reloc() 93 insn += sym_value + reloc_entry->addend; in pj_elf_reloc() 99 insn += (sym_value + reloc_entry->addend) >> 16; in pj_elf_reloc()
|
D | elf32-m68hc12.c | 524 bfd_vma sym_value, phys_page, phys_addr; in m68hc12_elf_build_one_stub() local 547 sym_value = (stub_entry->target_value in m68hc12_elf_build_one_stub() 550 phys_addr = m68hc11_phys_addr (&htab->pinfo, sym_value); in m68hc12_elf_build_one_stub() 551 phys_page = m68hc11_phys_page (&htab->pinfo, sym_value); in m68hc12_elf_build_one_stub()
|
D | elf32-hppa.c | 697 bfd_vma sym_value; in hppa_build_one_stub() local 726 sym_value = (hsh->target_value in hppa_build_one_stub() 730 val = hppa_field_adjust (sym_value, 0, e_lrsel); in hppa_build_one_stub() 734 val = hppa_field_adjust (sym_value, 0, e_rrsel) >> 2; in hppa_build_one_stub() 743 sym_value = (hsh->target_value in hppa_build_one_stub() 748 sym_value -= (hsh->stub_offset in hppa_build_one_stub() 753 val = hppa_field_adjust (sym_value, (bfd_signed_vma) -8, e_lrsel); in hppa_build_one_stub() 757 val = hppa_field_adjust (sym_value, (bfd_signed_vma) -8, e_rrsel) >> 2; in hppa_build_one_stub() 770 sym_value = (off in hppa_build_one_stub() 780 val = hppa_field_adjust (sym_value, 0, e_lrsel), in hppa_build_one_stub() [all …]
|
D | elf32-metag.c | 3629 bfd_vma sym_value; in metag_build_one_stub() local 3649 sym_value = (hsh->target_value in metag_build_one_stub() 3654 sym_value -= (hsh->stub_offset in metag_build_one_stub() 3658 bfd_put_32 (stub_bfd, ADDT_A0_3_CPC | (((sym_value >> 16) & 0xffff) << 3), in metag_build_one_stub() 3661 bfd_put_32 (stub_bfd, ADD_A0_3_A0_3 | ((sym_value & 0xffff) << 3), in metag_build_one_stub() 3672 sym_value = (hsh->target_value in metag_build_one_stub() 3677 bfd_put_32 (stub_bfd, MOVT_A0_3 | (((sym_value >> 16) & 0xffff) << 3), in metag_build_one_stub() 3680 bfd_put_32 (stub_bfd, JUMP_A0_3 | ((sym_value & 0xffff) << 3), loc + 4); in metag_build_one_stub() 4059 bfd_vma sym_value; in elf_metag_size_stubs() local 4085 sym_value = 0; in elf_metag_size_stubs() [all …]
|
D | coff-sh.c | 570 bfd_vma sym_value; in sh_reloc() local 599 sym_value = get_symbol_value (symbol_in); in sh_reloc() 608 insn += sym_value + reloc_entry->addend; in sh_reloc() 614 insn += sym_value + reloc_entry->addend; in sh_reloc() 621 sym_value += reloc_entry->addend; in sh_reloc() 622 sym_value -= (input_section->output_section->vma in sh_reloc() 626 sym_value += (insn & 0xfff) << 1; in sh_reloc() 628 sym_value -= 0x1000; in sh_reloc() 629 insn = (insn & 0xf000) | (sym_value & 0xfff); in sh_reloc() 631 if (sym_value < (bfd_vma) -0x1000 || sym_value >= 0x1000) in sh_reloc()
|
D | elf32-m68hc11.c | 404 bfd_vma sym_value, phys_page, phys_addr; in m68hc11_elf_build_one_stub() local 431 sym_value = (stub_entry->target_value in m68hc11_elf_build_one_stub() 434 phys_addr = m68hc11_phys_addr (&htab->pinfo, sym_value); in m68hc11_elf_build_one_stub() 435 phys_page = m68hc11_phys_page (&htab->pinfo, sym_value); in m68hc11_elf_build_one_stub()
|
D | elf64-hppa.c | 3051 elf_hppa_relocate_insn (int insn, int sym_value, unsigned int r_type) in elf_hppa_relocate_insn() argument 3059 return (insn & ~0x3ff1ffd) | re_assemble_22 (sym_value); in elf_hppa_relocate_insn() 3063 return (insn & ~0x1ffd) | re_assemble_12 (sym_value); in elf_hppa_relocate_insn() 3072 return (insn & ~0x1f1ffd) | re_assemble_17 (sym_value); in elf_hppa_relocate_insn() 3083 return (insn & ~0x1fffff) | re_assemble_21 (sym_value); in elf_hppa_relocate_insn() 3101 return (insn & ~0x3fff) | low_sign_unext (sym_value, 14); in elf_hppa_relocate_insn() 3111 return (insn & ~0xffff) | re_assemble_16 (sym_value); in elf_hppa_relocate_insn() 3129 return (insn & ~0x3ff1) | (((sym_value & 0x2000) >> 13) in elf_hppa_relocate_insn() 3130 | ((sym_value & 0x1ff8) << 1)); in elf_hppa_relocate_insn() 3148 return (insn & ~0x3ff9) | (((sym_value & 0x2000) >> 13) in elf_hppa_relocate_insn() [all …]
|
D | elfnn-aarch64.c | 2432 bfd_vma sym_value; in aarch64_build_one_stub() local 2452 sym_value = (stub_entry->target_value in aarch64_build_one_stub() 2462 if (aarch64_valid_for_adrp_p (sym_value, place)) in aarch64_build_one_stub() 2463 stub_entry->stub_type = aarch64_select_branch_stub (sym_value, place); in aarch64_build_one_stub() 2502 stub_entry->stub_offset, sym_value)) in aarch64_build_one_stub() 2513 sym_value, in aarch64_build_one_stub() 2524 sym_value + 12, 0); in aarch64_build_one_stub() 2545 stub_entry->stub_offset + 4, sym_value + 4)) in aarch64_build_one_stub() 3537 bfd_vma sym_value; in elfNN_aarch64_size_stubs() local 3567 sym_value = 0; in elfNN_aarch64_size_stubs() [all …]
|
D | elf32-avr.c | 3128 bfd_vma sym_value; in elf32_avr_size_stubs() local 3146 sym_value = 0; in elf32_avr_size_stubs() 3158 sym_value = sym->st_value; in elf32_avr_size_stubs() 3164 destination = (sym_value + irela->r_addend in elf32_avr_size_stubs() 3186 sym_value = hh->root.u.def.value; in elf32_avr_size_stubs() 3188 destination = (sym_value + irela->r_addend in elf32_avr_size_stubs() 3227 stub_name = avr_stub_name (sym_sec, sym_value, irela); in elf32_avr_size_stubs()
|
D | elf32-m68hc1x.c | 443 bfd_vma sym_value; in elf32_m68hc11_size_stubs() local 478 sym_value = sym->st_value; in elf32_m68hc11_size_stubs() 516 sym_value = hash->root.u.def.value; in elf32_m68hc11_size_stubs() 542 stub_entry->target_value = sym_value; in elf32_m68hc11_size_stubs()
|
D | elf32-nios2.c | 1641 bfd_vma sym_value; in nios2_build_one_stub() local 1656 sym_value = (hsh->target_value in nios2_build_one_stub() 1664 hiadj (sym_value)); in nios2_build_one_stub() 1666 (sym_value & 0xffff)); in nios2_build_one_stub() 1834 bfd_vma sym_value; in nios2_elf32_size_stubs() local 1859 sym_value = 0; in nios2_elf32_size_stubs() 1871 sym_value = sym->st_value; in nios2_elf32_size_stubs() 1877 destination = (sym_value + irela->r_addend in nios2_elf32_size_stubs() 1900 sym_value = hh->root.root.u.def.value; in nios2_elf32_size_stubs() 1903 destination = (sym_value + irela->r_addend in nios2_elf32_size_stubs() [all …]
|
D | elf32-sh.c | 235 bfd_vma sym_value; in sh_elf_reloc() local 259 sym_value = 0; in sh_elf_reloc() 261 sym_value = (symbol_in->value + in sh_elf_reloc() 269 insn += sym_value + reloc_entry->addend; in sh_elf_reloc() 274 sym_value += reloc_entry->addend; in sh_elf_reloc() 275 sym_value -= (input_section->output_section->vma in sh_elf_reloc() 279 sym_value += (insn & 0xfff) << 1; in sh_elf_reloc() 281 sym_value -= 0x1000; in sh_elf_reloc() 282 insn = (insn & 0xf000) | (sym_value & 0xfff); in sh_elf_reloc() 284 if (sym_value < (bfd_vma) -0x1000 || sym_value >= 0x1000) in sh_elf_reloc()
|
D | elf32-arm.c | 4170 bfd_vma sym_value; in arm_build_one_stub() local 4201 sym_value = (stub_entry->target_value in arm_build_one_stub() 4277 sym_value |= 1; in arm_build_one_stub() 4295 bfd_vma points_to = sym_value + stub_entry->target_addend; in arm_build_one_stub() 4306 points_to = sym_value; in arm_build_one_stub() 4327 bfd_vma points_to = sym_value + stub_entry->target_addend in arm_build_one_stub() 5109 bfd_vma sym_value; in elf32_arm_size_stubs() local 5159 sym_value = 0; in elf32_arm_size_stubs() 5171 sym_value = htab->tls_trampoline; in elf32_arm_size_stubs() 5211 sym_value = sym->st_value; in elf32_arm_size_stubs() [all …]
|
D | elf64-ppc.c | 11531 bfd_vma sym_value; in toc_adjusting_stub_needed() local 11574 sym_value = sym->st_value; in toc_adjusting_stub_needed() 11580 sym_value = h->root.u.def.value; in toc_adjusting_stub_needed() 11582 sym_value += rel->r_addend; in toc_adjusting_stub_needed() 11596 sym_value += adjust; in toc_adjusting_stub_needed() 11599 dest = opd_entry_value (sym_sec, sym_value, in toc_adjusting_stub_needed() 11605 dest = (sym_value in toc_adjusting_stub_needed() 12068 bfd_vma sym_value, code_value; in ppc64_elf_size_stubs() local 12106 sym_value = 0; in ppc64_elf_size_stubs() 12109 sym_value = sym->st_value; in ppc64_elf_size_stubs() [all …]
|
D | elf64-sh64.c | 1252 bfd_vma sym_value; in sh_elf64_reloc() local 1271 sym_value = 0; in sh_elf64_reloc() 1273 sym_value = (symbol_in->value + in sh_elf64_reloc() 1281 insn += sym_value + reloc_entry->addend; in sh_elf64_reloc()
|
D | ChangeLog-0001 | 2595 insn and sym_value to ints. 6483 ensure different offsets from sym_value aren't rounded to
|
D | ChangeLog-9495 | 2394 (sh_reloc): Change sym_value and addr to type bfd_vma. Skip reloc
|
/toolchain/binutils/binutils-2.25/binutils/ |
D | nlmconv.c | 1889 bfd_vma sym_value; in powerpc_mangle_relocs() local 1965 sym_value = 0; in powerpc_mangle_relocs() 1967 sym_value = sym->value; in powerpc_mangle_relocs() 1972 if (sym_value + rel->addend != 0) in powerpc_mangle_relocs() 1983 + sym_value in powerpc_mangle_relocs() 1998 + sym_value in powerpc_mangle_relocs()
|
D | ChangeLog-9197 | 3110 * nlmconv.c (powerpc_mangle_relocs): Rename symvalue to sym_value,
|
/toolchain/binutils/binutils-2.25/gas/ |
D | ecoff.c | 1601 symbolS *sym_value, /* associated symbol. */ in add_ecoff_symbol() argument 1625 if (str == (const char *) NULL && sym_value != (symbolS *) NULL) in add_ecoff_symbol() 1626 psym->name = S_GET_NAME (sym_value); in add_ecoff_symbol() 1629 psym->as_sym = sym_value; in add_ecoff_symbol() 1630 if (sym_value != (symbolS *) NULL) in add_ecoff_symbol() 1631 symbol_get_obj (sym_value)->ecoff_symbol = psym; in add_ecoff_symbol() 1649 if (sym_value == (symbolS *) NULL) in add_ecoff_symbol()
|
/toolchain/binutils/binutils-2.25/gold/ |
D | symtab.cc | 2919 typename elfcpp::Elf_types<size>::Elf_Addr sym_value = sym->value(); in sized_write_globals() local 2920 typename elfcpp::Elf_types<size>::Elf_Addr dynsym_value = sym_value; in sized_write_globals() 3002 sym_value -= os->address(); in sized_write_globals() 3025 sym_value -= od->address(); in sized_write_globals() 3050 this->sized_write_symbol<size, big_endian>(sym, sym_value, shndx, in sized_write_globals()
|