Home
last modified time | relevance | path

Searched refs:r_sym (Results 1 – 23 of 23) sorted by relevance

/toolchain/binutils/binutils-2.25/gold/
Dtarget-reloc.h73 unsigned int r_sym = elfcpp::elf_r_sym<size>(r_info); in scan_relocs() local
76 if (r_sym < local_count) in scan_relocs()
80 + r_sym * sym_size); in scan_relocs()
83 shndx = object->adjust_sym_shndx(r_sym, shndx, &is_ordinary); in scan_relocs()
106 Symbol* gsym = object->global_symbol(r_sym); in scan_relocs()
299 unsigned int r_sym = elfcpp::elf_r_sym<size>(r_info); in relocate_section() local
308 if (r_sym < local_count in relocate_section()
313 psymval = object->local_symbol(r_sym); in relocate_section()
336 gsym = object->global_symbol(r_sym); in relocate_section()
483 local_non_section_strategy(unsigned int r_type, Relobj*, unsigned int r_sym) in local_non_section_strategy() argument
[all …]
Di386.cc1224 unsigned int r_sym) in address_for_local() argument
1228 + object->local_plt_offset(r_sym)); in address_for_local()
1780 unsigned int r_sym = elfcpp::elf_r_sym<32>(reloc.get_r_info()); in local() local
1781 target->make_local_ifunc_plt_entry(symtab, layout, object, r_sym); in local()
1801 unsigned int r_sym = elfcpp::elf_r_sym<32>(reloc.get_r_info()); in local() local
1802 rel_dyn->add_local_relative(object, r_sym, elfcpp::R_386_RELATIVE, in local()
1818 unsigned int r_sym = elfcpp::elf_r_sym<32>(reloc.get_r_info()); in local() local
1820 rel_dyn->add_local(object, r_sym, r_type, output_section, in local()
1827 shndx = object->adjust_sym_shndx(r_sym, shndx, in local()
1831 r_sym, shndx); in local()
[all …]
Dx86_64.cc615 unsigned int r_sym,
646 add_tlsdesc_info(Sized_relobj_file<size, false>* object, unsigned int r_sym) in add_tlsdesc_info() argument
648 this->tlsdesc_reloc_info_.push_back(Tlsdesc_info(object, r_sym)); in add_tlsdesc_info()
981 : object(a_object), r_sym(a_r_sym) in Tlsdesc_info()
987 unsigned int r_sym; member
1451 unsigned int r_sym) in address_for_local() argument
1455 + object->local_plt_offset(r_sym)); in address_for_local()
1897 unsigned int r_sym, in reserve_local_got_entry() argument
1903 this->got_->reserve_local(got_index, obj, r_sym, got_type); in reserve_local_got_entry()
1908 rela_dyn->add_local_relative(obj, r_sym, elfcpp::R_X86_64_RELATIVE, in reserve_local_got_entry()
[all …]
Dtilegx.cc405 unsigned int r_sym,
626 : object(a_object), r_sym(a_r_sym) in Tlsdesc_info()
632 unsigned int r_sym; member
2209 unsigned int r_sym) in address_for_local() argument
2213 + object->local_plt_offset(r_sym)); in address_for_local()
2695 unsigned int r_sym, in reserve_local_got_entry() argument
2702 this->got_->reserve_local(got_index, obj, r_sym, got_type); in reserve_local_got_entry()
2707 rela_dyn->add_local_relative(obj, r_sym, elfcpp::R_TILEGX_RELATIVE, in reserve_local_got_entry()
2711 rela_dyn->add_local(obj, r_sym, in reserve_local_got_entry()
2718 rela_dyn->add_local(obj, r_sym, in reserve_local_got_entry()
[all …]
Dgc.h229 unsigned int r_sym = elfcpp::elf_r_sym<size>(r_info); in gc_process_relocs() local
238 if (r_sym < local_count) in gc_process_relocs()
242 + r_sym * sym_size); in gc_process_relocs()
245 dst_indx = src_obj->adjust_sym_shndx(r_sym, dst_indx, &is_ordinary); in gc_process_relocs()
285 Symbol* gsym = src_obj->global_symbol(r_sym); in gc_process_relocs()
Dsparc.cc1633 unsigned int r_sym) in address_for_local() argument
1637 + object->local_plt_offset(r_sym)); in address_for_local()
2260 unsigned int r_sym = elfcpp::elf_r_sym<size>(reloc.get_r_info()); in local() local
2261 target->make_local_ifunc_plt_entry(symtab, layout, object, r_sym); in local()
2283 unsigned int r_sym = elfcpp::elf_r_sym<size>(reloc.get_r_info()); in local() local
2284 rela_dyn->add_local_relative(object, r_sym, elfcpp::R_SPARC_RELATIVE, in local()
2319 unsigned int r_sym = elfcpp::elf_r_sym<size>(reloc.get_r_info()); in local() local
2324 rela_dyn->add_local(object, r_sym, orig_r_type, output_section, in local()
2331 rela_dyn->add_symbolless_local_addend(object, r_sym, orig_r_type, in local()
2366 unsigned int r_sym; in local() local
[all …]
Dmips.cc897 : object(_object), shndx(_shndx), r_type(_r_type), r_sym(_r_sym), in got16_addend()
904 unsigned int r_sym; member
1380 r_sym() const in r_sym() function in __anona7e08b770111::Mips16_stub_section
1396 new_local_reloc_found(unsigned int r_type, unsigned int r_sym) in new_local_reloc_found() argument
1405 this->r_sym_ = r_sym; in new_local_reloc_found()
1410 this->r_sym_ = r_sym; in new_local_reloc_found()
1525 local_symbol_is_mips16(unsigned int r_sym) const in local_symbol_is_mips16()
1527 gold_assert(r_sym < this->local_symbol_is_mips16_.size()); in local_symbol_is_mips16()
1528 return this->local_symbol_is_mips16_[r_sym]; in local_symbol_is_mips16()
1534 local_symbol_is_micromips(unsigned int r_sym) const in local_symbol_is_micromips()
[all …]
Dpowerpc.cc578 unsigned int r_type, unsigned int r_sym, Address addend) in push_branch() argument
580 Branch_info info(ppc_object, data_shndx, r_offset, r_type, r_sym, addend); in push_branch()
1219 unsigned int r_sym, in Branch_info() argument
1222 r_type_(r_type), r_sym_(r_sym), addend_(addend) in Branch_info()
1783 unsigned int r_sym = elfcpp::elf_r_sym<size>(r_info); in scan_opd_relocs() local
1787 if (r_sym < this->local_symbol_count()) in scan_opd_relocs()
1790 lsym(plocal_syms + r_sym * sym_size); in scan_opd_relocs()
1792 shndx = this->adjust_sym_shndx(r_sym, shndx, &is_ordinary); in scan_opd_relocs()
1796 shndx = this->symbol_section_and_value(r_sym, &value, in scan_opd_relocs()
5126 unsigned int r_sym) in make_local_ifunc_plt_entry() argument
[all …]
Daarch64.cc1174 unsigned int r_sym, int32_t addend) in Key() argument
1184 gold_assert(relobj != NULL && r_sym != invalid_index); in Key()
1185 this->r_sym_ = r_sym; in Key()
1200 r_sym() const in r_sym() function in __anon20db65070111::Reloc_stub::Key
3019 unsigned int r_sym) in add_tlsdesc_info() argument
3021 this->tlsdesc_reloc_info_.push_back(Tlsdesc_info(object, r_sym)); in add_tlsdesc_info()
3372 : object(a_object), r_sym(a_r_sym) in Tlsdesc_info()
3378 unsigned int r_sym; member
3711 unsigned int r_sym, in scan_reloc_for_stub() argument
3760 The_reloc_stub_key key(stub_type, gsym, aarch64_relobj, r_sym, addend); in scan_reloc_for_stub()
[all …]
Darm.cc513 unsigned int r_sym, int32_t addend) in Key() argument
523 gold_assert(relobj != NULL && r_sym != invalid_index); in Key()
524 this->r_sym_ = r_sym; in Key()
542 r_sym() const in r_sym() function in __anon5653a9be0111::Reloc_stub::Key
1526 local_symbol_is_thumb_function(unsigned int r_sym) const in local_symbol_is_thumb_function()
1528 gold_assert(r_sym < this->local_symbol_is_thumb_function_.size()); in local_symbol_is_thumb_function()
1529 return this->local_symbol_is_thumb_function_[r_sym]; in local_symbol_is_thumb_function()
3922 unsigned int r_sym, in arm_branch_common() argument
4011 Reloc_stub::Key stub_key(stub_type, gsym, object, r_sym, addend); in arm_branch_common()
4051 unsigned int r_sym, in thumb_branch_common() argument
[all …]
Dreloc.cc633 const unsigned int r_sym = elfcpp::elf_r_sym<size>(r_info); in incremental_relocs_scan_reltype() local
635 if (r_sym >= this->local_symbol_count_) in incremental_relocs_scan_reltype()
636 this->count_incremental_reloc(r_sym - this->local_symbol_count_); in incremental_relocs_scan_reltype()
1111 const unsigned int r_sym = elfcpp::elf_r_sym<size>(r_info); in incremental_relocs_write_reltype() local
1114 if (r_sym < this->local_symbol_count_) in incremental_relocs_write_reltype()
1149 this->next_incremental_reloc_index(r_sym - this->local_symbol_count_); in incremental_relocs_write_reltype()
1254 unsigned int r_sym = elfcpp::elf_r_sym<size>(r_info); in split_stack_adjust_reltype() local
1255 if (r_sym < local_count) in split_stack_adjust_reltype()
1258 const Symbol* gsym = this->global_symbol(r_sym); in split_stack_adjust_reltype()
1347 unsigned int r_sym = elfcpp::elf_r_sym<size>(r_info); in split_stack_adjust_reltype() local
[all …]
Dobject.cc2247 unsigned int r_sym, in compute_final_local_value_internal() argument
2271 shndx, r_sym); in compute_final_local_value_internal()
2281 r_sym, shndx); in compute_final_local_value_internal()
2402 unsigned int r_sym, in compute_final_local_value() argument
2411 return this->compute_final_local_value_internal(r_sym, lv_in, lv_out, in compute_final_local_value()
Dobject.h2205 compute_final_local_value(unsigned int r_sym,
2657 compute_final_local_value_internal(unsigned int r_sym,
DChangeLog102 * mips.cc (reloc_high): Add r_sym.
103 (Mips_relocate_functions::relhi16): Add r_sym parameter. Pass r_sym to
106 (Mips_relocate_functions::rello16): Add r_sym parameter. Use r_sym and
108 (Target_mips::Relocate::relocate): Pass r_sym to calls to relhi16,
671 (Target_aarch64::Scan::local): Correct format. Move r_sym, got to
3222 (Target_powerpc::relocate_for_relocatable): Handle zero r_sym.
14421 r_type == 0 for a local symbol with r_sym == 0.
14422 (scan_relocatable_relocs): Pass r_sym to
14425 r_sym parameter.
/toolchain/binutils/binutils-2.25/include/elf/
Dmips.h890 unsigned char r_sym[4]; member
906 unsigned long r_sym; member
924 unsigned char r_sym[4]; member
942 unsigned long r_sym; member
/toolchain/binutils/binutils-2.25/bfd/
Delf64-mips.c2885 dst->r_sym = H_GET_32 (abfd, src->r_sym); in mips_elf64_swap_reloc_in()
2900 dst->r_sym = H_GET_32 (abfd, src->r_sym); in mips_elf64_swap_reloca_in()
2915 H_PUT_32 (abfd, src->r_sym, dst->r_sym); in mips_elf64_swap_reloc_out()
2929 H_PUT_32 (abfd, src->r_sym, dst->r_sym); in mips_elf64_swap_reloca_out()
2950 dst[0].r_info = ELF64_R_INFO (mirel.r_sym, mirel.r_type); in mips_elf64_be_swap_reloc_in()
2973 dst[0].r_info = ELF64_R_INFO (mirela.r_sym, mirela.r_type); in mips_elf64_be_swap_reloca_in()
2996 mirel.r_sym = ELF64_R_SYM (src[0].r_info); in mips_elf64_be_swap_reloc_out()
3018 mirela.r_sym = ELF64_R_SYM (src[0].r_info); in mips_elf64_be_swap_reloca_out()
3789 if (rela.r_sym == STN_UNDEF) in mips_elf64_slurp_one_reloc_table()
3795 ps = symbols + rela.r_sym - 1; in mips_elf64_slurp_one_reloc_table()
[all …]
Delf64-x86-64.c832 bfd_vma (*r_sym) (bfd_vma); member
939 htab->r_sym (rel->r_info)); in elf_x86_64_get_local_sym_hash()
943 e.elf.dynstr_index = htab->r_sym (rel->r_info); in elf_x86_64_get_local_sym_hash()
963 ret->elf.dynstr_index = htab->r_sym (rel->r_info); in elf_x86_64_get_local_sym_hash()
1009 ret->r_sym = elf64_r_sym; in elf_x86_64_link_hash_table_create()
1017 ret->r_sym = elf32_r_sym; in elf_x86_64_link_hash_table_create()
1289 r_symndx = htab->r_sym (rel[1].r_info); in elf_x86_64_check_tls_transition()
1542 r_symndx = htab->r_sym (rel->r_info); in elf_x86_64_check_relocs()
2108 r_symndx = htab->r_sym (rel->r_info); in elf_x86_64_gc_sweep_hook()
2800 unsigned int r_symndx = htab->r_sym (irel->r_info); in elf_x86_64_convert_mov_to_lea()
[all …]
Delfnn-ia64.c104 unsigned int r_sym; member
1356 return ELF_LOCAL_SYMBOL_HASH (entry->id, entry->r_sym); in elfNN_ia64_local_htab_hash()
1369 return entry1->id == entry2->id && entry1->r_sym == entry2->r_sym; in elfNN_ia64_local_htab_eq()
1583 e.r_sym = ELFNN_R_SYM (rel->r_info); in get_local_sym_hash()
1600 ret->r_sym = ELFNN_R_SYM (rel->r_info); in get_local_sym_hash()
Delf64-ia64-vms.c107 unsigned int r_sym; member
962 return ELF_LOCAL_SYMBOL_HASH (entry->id, entry->r_sym); in elf64_ia64_local_htab_hash()
975 return entry1->id == entry2->id && entry1->r_sym == entry2->r_sym; in elf64_ia64_local_htab_eq()
1351 e.r_sym = ELF64_R_SYM (rel->r_info); in get_local_sym_hash()
1368 ret->r_sym = ELF64_R_SYM (rel->r_info); in get_local_sym_hash()
Delfcode.h1865 NAME(elf,r_sym) (bfd_vma r_info) in NAME() argument
DChangeLog-201028 (NAME(elf,r_sym)): Likewise.
76 (elf_x86_64_link_hash_table): Add r_info, r_sym, swap_reloca_out,
79 htab->r_sym. Replace ELF64_R_INFO with htab->r_info.
88 (elf_x86_64_link_hash_table_create): Initialize r_info, r_sym,
Delf32-ppc.c9450 unsigned int r_sym = ELF32_R_SYM (relend[-1].r_info); in ppc_elf_relocate_section() local
9453 relend[-1].r_info = ELF32_R_INFO (r_sym, R_PPC_REL24); in ppc_elf_relocate_section()
DChangeLog-0203679 (struct elfNN_ia64_local_hash_entry): Remove root. Add id and r_sym