Home
last modified time | relevance | path

Searched refs:got_type (Results 1 – 25 of 26) sorted by relevance

12

/netbsd/src/external/gpl3/binutils/dist/gold/
Dobject.h220 Got_offset_list(unsigned int got_type, unsigned int got_offset, in Got_offset_list() argument
222 : got_type_(got_type), got_offset_(got_offset), addend_(addend), in Got_offset_list()
247 set_offset(unsigned int got_type, unsigned int got_offset, uint64_t addend) in set_offset() argument
251 this->got_type_ = got_type; in set_offset()
259 if (g->got_type_ == got_type && g->addend_ == addend) in set_offset()
265 Got_offset_list* g = new Got_offset_list(got_type, got_offset, addend); in set_offset()
273 get_offset(unsigned int got_type, uint64_t addend) const in get_offset() argument
277 if (g->got_type_ == got_type && g->addend_ == addend) in get_offset()
1222 local_has_got_offset(unsigned int symndx, unsigned int got_type,
1224 { return this->do_local_has_got_offset(symndx, got_type, addend); }
[all …]
Dpowerpc.cc993 got_section(Got_type got_type) const in got_section()
996 if (size == 32 || (got_type & GOT_TYPE_SMALL)) in got_section()
1015 got_base_offset(Got_type got_type) const in got_base_offset()
1017 if (size == 32 || (got_type & GOT_TYPE_SMALL)) in got_base_offset()
2948 Got_type got_type) in Output_data_got_powerpc() argument
2956 if (size == 64 && (got_type & GOT_TYPE_SMALL)) in Output_data_got_powerpc()
2963 add_global(Symbol* gsym, unsigned int got_type, uint64_t addend) in add_global() argument
2966 return Output_data_got<size, big_endian>::add_global(gsym, got_type, in add_global()
2971 add_global_plt(Symbol* gsym, unsigned int got_type, uint64_t addend) in add_global_plt() argument
2974 return Output_data_got<size, big_endian>::add_global_plt(gsym, got_type, in add_global_plt()
[all …]
Doutput.cc1475 unsigned int got_type, in add_global() argument
1478 if (gsym->has_got_offset(got_type, addend)) in add_global()
1482 gsym->set_got_offset(got_type, got_offset, addend); in add_global()
1491 unsigned int got_type, in add_global_plt() argument
1494 if (gsym->has_got_offset(got_type, addend)) in add_global_plt()
1498 gsym->set_got_offset(got_type, got_offset, addend); in add_global_plt()
1509 unsigned int got_type, in add_global_with_rel() argument
1514 if (gsym->has_got_offset(got_type, addend)) in add_global_with_rel()
1518 gsym->set_got_offset(got_type, got_offset, addend); in add_global_with_rel()
1529 unsigned int got_type, in add_global_pair_with_rel() argument
[all …]
Dincremental-dump.cc392 unsigned int got_type = igot_plt.get_got_type(i); in dump_incremental_inputs() local
395 printf("[%d] type %02x, ", i, got_type & 0x7f); in dump_incremental_inputs()
396 if ((got_type & 0x7f) == 0x7f) in dump_incremental_inputs()
398 else if (got_type & 0x80) in dump_incremental_inputs()
Di386.cc2069 unsigned int got_type = (r_type == elfcpp::R_386_TLS_IE_32 in local() local
2072 got->add_local_with_rel(object, r_sym, got_type, in local()
2550 unsigned int got_type = (r_type == elfcpp::R_386_TLS_IE_32 in global() local
2553 got->add_global_with_rel(gsym, got_type, in global()
3070 unsigned int got_type = (optimized_type == tls::TLSOPT_TO_IE in relocate_tls() local
3076 gold_assert(gsym->has_got_offset(got_type)); in relocate_tls()
3077 got_offset = gsym->got_offset(got_type) - target->got_size(); in relocate_tls()
3082 gold_assert(object->local_has_got_offset(r_sym, got_type)); in relocate_tls()
3083 got_offset = (object->local_got_offset(r_sym, got_type) in relocate_tls()
3123 unsigned int got_type = (optimized_type == tls::TLSOPT_TO_IE in relocate_tls() local
[all …]
Dtilegx.cc420 unsigned int got_type);
426 unsigned int got_type);
2710 unsigned int got_type) in reserve_local_got_entry() argument
2716 this->got_->reserve_local(got_index, obj, r_sym, got_type); in reserve_local_got_entry()
2717 switch (got_type) in reserve_local_got_entry()
2751 unsigned int got_index, Symbol* gsym, unsigned int got_type) in reserve_global_got_entry() argument
2757 this->got_->reserve_global(got_index, gsym, got_type); in reserve_global_got_entry()
2758 switch (got_type) in reserve_global_got_entry()
4387 unsigned int got_type = GOT_TYPE_STANDARD; in relocate() local
4399 gold_assert(gsym->has_got_offset(got_type)); in relocate()
[all …]
Dsymtab.h431 has_got_offset(unsigned int got_type, uint64_t addend = 0) const
432 { return this->got_offsets_.get_offset(got_type, addend) != -1U; }
436 got_offset(unsigned int got_type, uint64_t addend = 0) const
438 unsigned int got_offset = this->got_offsets_.get_offset(got_type, addend);
445 set_got_offset(unsigned int got_type, unsigned int got_offset,
447 { this->got_offsets_.set_offset(got_type, got_offset, addend); }
Dmips.cc817 multigot_got_type(unsigned int got_type) const in multigot_got_type()
819 switch (got_type) in multigot_got_type()
2126 unsigned int got_offset(const Symbol* gsym, unsigned int got_type, in got_offset() argument
2130 return gsym->got_offset(got_type); in got_offset()
2135 return gsym->got_offset(g->multigot_got_type(got_type)); in got_offset()
2142 got_offset(unsigned int symndx, unsigned int got_type, in got_offset() argument
2145 { return object->local_got_offset(symndx, got_type, addend); } in got_offset()
5944 unsigned int got_type; in add_local_entries() local
5946 got_type = GOT_TYPE_STANDARD; in add_local_entries()
5948 got_type = GOT_TYPE_STANDARD_MULTIGOT + this->index_; in add_local_entries()
[all …]
Dincremental.cc656 unsigned int got_type = got_plt_reader.get_got_type(i); in do_process_got_plt() local
657 if ((got_type & 0x7f) == 0x7f) in do_process_got_plt()
664 if (got_type & 0x80) in do_process_got_plt()
671 i, got_type & 0x7f); in do_process_got_plt()
675 target->reserve_local_got_entry(i, obj, symndx, got_type & 0x7f); in do_process_got_plt()
689 i, got_type, sym->name()); in do_process_got_plt()
690 target->reserve_global_got_entry(i, sym, got_type); in do_process_got_plt()
1851 visit(unsigned int got_type, unsigned int got_offset, uint64_t) in visit() argument
1858 gold_assert(got_type < 0x7f); in visit()
1859 this->info_.got_type_p[got_index] = got_type | 0x80; in visit()
[all …]
Doutput.h2466 add_global(Symbol* gsym, unsigned int got_type, uint64_t addend = 0);
2471 add_global_plt(Symbol* gsym, unsigned int got_type, uint64_t addend = 0);
2476 add_global_tls(Symbol* gsym, unsigned int got_type, uint64_t addend = 0)
2477 { return this->add_global_plt(gsym, got_type, addend); }
2482 add_global_with_rel(Symbol* gsym, unsigned int got_type,
2490 add_global_pair_with_rel(Symbol* gsym, unsigned int got_type,
2499 add_local(Relobj* object, unsigned int sym_index, unsigned int got_type,
2505 add_local_plt(Relobj* object, unsigned int sym_index, unsigned int got_type,
2511 add_local_tls(Relobj* object, unsigned int sym_index, unsigned int got_type,
2513 { return this->add_local_plt(object, sym_index, got_type, addend); }
[all …]
Dx86_64.cc805 unsigned int got_type);
811 unsigned int got_type);
2693 unsigned int got_type) in reserve_local_got_entry() argument
2698 this->got_->reserve_local(got_index, obj, r_sym, got_type); in reserve_local_got_entry()
2699 switch (got_type) in reserve_local_got_entry()
2733 unsigned int got_type) in reserve_global_got_entry() argument
2738 this->got_->reserve_global(got_index, gsym, got_type); in reserve_global_got_entry()
2739 switch (got_type) in reserve_global_got_entry()
4714 unsigned int got_type = (optimized_type == tls::TLSOPT_TO_IE in relocate_tls() local
4720 gold_assert(gsym->has_got_offset(got_type)); in relocate_tls()
[all …]
Ds390.cc481 unsigned int got_type);
487 unsigned int got_type);
1888 unsigned int got_type) in reserve_local_got_entry() argument
1893 this->got_->reserve_local(got_index, obj, r_sym, got_type); in reserve_local_got_entry()
1894 switch (got_type) in reserve_local_got_entry()
1922 unsigned int got_type) in reserve_global_got_entry() argument
1927 this->got_->reserve_global(got_index, gsym, got_type); in reserve_global_got_entry()
1928 switch (got_type) in reserve_global_got_entry()
3559 unsigned int got_type = (optimized_type == tls::TLSOPT_TO_IE in relocate_tls() local
3564 gold_assert(gsym->has_got_offset(got_type)); in relocate_tls()
[all …]
Darm.cc1936 add_tls_gd32_with_static_reloc(unsigned int got_type, Symbol* gsym);
1940 add_tls_gd32_with_static_reloc(unsigned int got_type,
7306 unsigned int got_type, in add_tls_gd32_with_static_reloc() argument
7309 if (gsym->has_got_offset(got_type)) in add_tls_gd32_with_static_reloc()
7315 gsym->set_got_offset(got_type, got_offset); in add_tls_gd32_with_static_reloc()
7327 unsigned int got_type, in add_tls_gd32_with_static_reloc() argument
7331 if (object->local_has_got_offset(index, got_type)) in add_tls_gd32_with_static_reloc()
7337 object->set_local_got_offset(index, got_type, got_offset); in add_tls_gd32_with_static_reloc()
10146 unsigned int got_type = GOT_TYPE_TLS_PAIR; in relocate_tls() local
10150 gold_assert(gsym->has_got_offset(got_type)); in relocate_tls()
[all …]
Dsparc.cc3780 unsigned int got_type = (optimized_type == tls::TLSOPT_TO_IE in relocate_tls() local
3785 gold_assert(gsym->has_got_offset(got_type)); in relocate_tls()
3786 value = gsym->got_offset(got_type); in relocate_tls()
3791 gold_assert(object->local_has_got_offset(r_sym, got_type)); in relocate_tls()
3792 value = object->local_got_offset(r_sym, got_type); in relocate_tls()
DChangeLog-08157519 bit when checking got_type.
18003 (Sized_relobj::local_has_got_offset): Added got_type parameter.
18010 * output.cc (Output_data_got::add_global): Added got_type parameter.
18015 (Output_data_got::add_local): Added got_type parameter.
18026 * output.h (Output_data_got::add_global): Added got_type parameter.
18031 (Output_data_got::add_local): Added got_type parameter.
18047 * symtab.h (Symbol::has_got_offset): Aded got_type parameter.
/netbsd/src/external/gpl3/gdb/dist/bfd/
Delfnn-kvx.c392 unsigned int got_type; member
450 unsigned int got_type; member
548 ret->got_type = GOT_UNKNOWN; in elfNN_kvx_link_hash_newfunc()
610 edir->got_type = eind->got_type; in elfNN_kvx_copy_indirect_symbol()
611 eind->got_type = GOT_UNKNOWN; in elfNN_kvx_copy_indirect_symbol()
3427 unsigned got_type; in elfNN_kvx_check_relocs() local
3430 got_type = kvx_reloc_got_type (bfd_r_type); in elfNN_kvx_check_relocs()
3435 old_got_type = elf_kvx_hash_entry (h)->got_type; in elfNN_kvx_check_relocs()
3448 old_got_type = locals[r_symndx].got_type; in elfNN_kvx_check_relocs()
3455 && got_type != GOT_NORMAL) in elfNN_kvx_check_relocs()
[all …]
Delf32-sh.c2114 enum got_type { enum
2116 } got_type; member
2227 ret->got_type = GOT_UNKNOWN; in sh_elf_link_hash_newfunc()
2720 enum got_type got_type = sh_elf_hash_entry (h)->got_type; in allocate_dynrelocs() local
2735 if (got_type == GOT_TLS_GD) in allocate_dynrelocs()
2743 && (got_type == GOT_NORMAL || got_type == GOT_FUNCDESC)) in allocate_dynrelocs()
2747 else if (got_type == GOT_TLS_IE in allocate_dynrelocs()
2753 else if ((got_type == GOT_TLS_GD && h->dynindx == -1) in allocate_dynrelocs()
2754 || got_type == GOT_TLS_IE) in allocate_dynrelocs()
2756 else if (got_type == GOT_TLS_GD) in allocate_dynrelocs()
[all …]
Delfnn-aarch64.c2516 unsigned int got_type; member
2593 unsigned int got_type; member
2616 return elf_aarch64_hash_entry (h)->got_type; in elfNN_aarch64_symbol_got_type()
2621 return elf_aarch64_locals (abfd)[r_symndx].got_type; in elfNN_aarch64_symbol_got_type()
2735 ret->got_type = GOT_UNKNOWN; in elfNN_aarch64_link_hash_newfunc()
2862 edir->got_type = eind->got_type; in elfNN_aarch64_copy_indirect_symbol()
2863 eind->got_type = GOT_UNKNOWN; in elfNN_aarch64_copy_indirect_symbol()
8127 unsigned got_type; in elfNN_aarch64_check_relocs() local
8130 got_type = aarch64_reloc_got_type (bfd_r_type); in elfNN_aarch64_check_relocs()
8135 old_got_type = elf_aarch64_hash_entry (h)->got_type; in elfNN_aarch64_check_relocs()
[all …]
DChangeLog-20122232 got_type.
DChangeLog-20101985 got_type and adjust all uses. Add GOT_FUNCDESC.
/netbsd/src/external/gpl3/binutils/dist/bfd/
Delfnn-kvx.c392 unsigned int got_type; member
450 unsigned int got_type; member
548 ret->got_type = GOT_UNKNOWN; in elfNN_kvx_link_hash_newfunc()
610 edir->got_type = eind->got_type; in elfNN_kvx_copy_indirect_symbol()
611 eind->got_type = GOT_UNKNOWN; in elfNN_kvx_copy_indirect_symbol()
3429 unsigned got_type; in elfNN_kvx_check_relocs() local
3432 got_type = kvx_reloc_got_type (bfd_r_type); in elfNN_kvx_check_relocs()
3437 old_got_type = elf_kvx_hash_entry (h)->got_type; in elfNN_kvx_check_relocs()
3450 old_got_type = locals[r_symndx].got_type; in elfNN_kvx_check_relocs()
3457 && got_type != GOT_NORMAL) in elfNN_kvx_check_relocs()
[all …]
Delf32-sh.c2114 enum got_type { enum
2116 } got_type; member
2227 ret->got_type = GOT_UNKNOWN; in sh_elf_link_hash_newfunc()
2721 enum got_type got_type = sh_elf_hash_entry (h)->got_type; in allocate_dynrelocs() local
2736 if (got_type == GOT_TLS_GD) in allocate_dynrelocs()
2744 && (got_type == GOT_NORMAL || got_type == GOT_FUNCDESC)) in allocate_dynrelocs()
2748 else if (got_type == GOT_TLS_IE in allocate_dynrelocs()
2754 else if ((got_type == GOT_TLS_GD && h->dynindx == -1) in allocate_dynrelocs()
2755 || got_type == GOT_TLS_IE) in allocate_dynrelocs()
2757 else if (got_type == GOT_TLS_GD) in allocate_dynrelocs()
[all …]
Delfnn-aarch64.c2516 unsigned int got_type; member
2593 unsigned int got_type; member
2616 return elf_aarch64_hash_entry (h)->got_type; in elfNN_aarch64_symbol_got_type()
2621 return elf_aarch64_locals (abfd)[r_symndx].got_type; in elfNN_aarch64_symbol_got_type()
2735 ret->got_type = GOT_UNKNOWN; in elfNN_aarch64_link_hash_newfunc()
2862 edir->got_type = eind->got_type; in elfNN_aarch64_copy_indirect_symbol()
2863 eind->got_type = GOT_UNKNOWN; in elfNN_aarch64_copy_indirect_symbol()
8129 unsigned got_type; in elfNN_aarch64_check_relocs() local
8132 got_type = aarch64_reloc_got_type (bfd_r_type); in elfNN_aarch64_check_relocs()
8137 old_got_type = elf_aarch64_hash_entry (h)->got_type; in elfNN_aarch64_check_relocs()
[all …]
DChangeLog-20122232 got_type.
/netbsd/src/external/gpl3/binutils/dist/gas/config/
Dtc-microblaze.c747 check_got (int * got_type, int * got_len) in check_got() argument
763 *got_type = IMM_GOTOFF; in check_got()
768 *got_type = IMM_GOT; in check_got()
773 *got_type = IMM_PLT; in check_got()
804 int got_len, got_type; in parse_cons_expression_microblaze() local
807 gotfree_copy = check_got (& got_type, & got_len); in parse_cons_expression_microblaze()
815 exp->X_md = got_type; in parse_cons_expression_microblaze()

12