Home
last modified time | relevance | path

Searched refs:plt_offset (Results 1 – 25 of 55) sorted by relevance

123

/netbsd/src/external/gpl3/binutils/dist/gold/
Dx86_64.cc252 unsigned int plt_offset, in fill_plt_entry() argument
256 got_offset, plt_offset, plt_index); in fill_plt_entry()
266 unsigned int plt_offset) in fill_tlsdesc_entry() argument
269 tlsdesc_got_offset, plt_offset); in fill_tlsdesc_entry()
286 unsigned int plt_offset,
295 unsigned int plt_offset) = 0;
402 unsigned int plt_offset,
411 unsigned int plt_offset);
492 unsigned int plt_offset,
501 unsigned int plt_offset);
[all …]
Di386.cc163 unsigned int plt_offset, in fill_plt_entry() argument
167 plt_offset, plt_rel_offset); in fill_plt_entry()
181 unsigned int plt_offset,
307 unsigned int plt_offset,
337 unsigned int plt_offset,
1153 unsigned int plt_offset = this->irelative_count_ * this->get_plt_entry_size(); in add_local_ifunc_entry() local
1174 return plt_offset; in add_local_ifunc_entry()
1243 return this->address() + offset + gsym->plt_offset(); in address_for_global()
1313 unsigned int plt_offset, in do_fill_plt_entry() argument
1320 elfcpp::Swap<32, false>::writeval(pov + 12, - (plt_offset + 12 + 4)); in do_fill_plt_entry()
[all …]
Dsparc.cc1494 section_offset_type plt_offset; in add_entry() local
1501 plt_offset = plt_index_to_offset(index); in add_entry()
1502 gsym->set_plt_offset(plt_offset); in add_entry()
1514 plt_offset = plt_index_to_offset(this->count_ + 4); in add_entry()
1515 gsym->set_plt_offset(plt_offset); in add_entry()
1519 plt_offset, 0); in add_entry()
1536 section_offset_type plt_offset; in add_local_ifunc_entry() local
1538 plt_offset = plt_index_to_offset(index); in add_local_ifunc_entry()
1550 return plt_offset; in add_local_ifunc_entry()
1565 section_offset_type plt_offset; in emit_pending_ifunc_relocs() local
[all …]
Ds390.cc207 unsigned int plt_offset,
1051 off_t plt_offset; in add_entry() local
1079 plt_offset = plt_index * plt_entry_size; in add_entry()
1096 plt_offset = this->free_list_.allocate(plt_entry_size, in add_entry()
1098 if (plt_offset == -1) in add_entry()
1105 plt_index = plt_offset / plt_entry_size - 1; in add_entry()
1109 gsym->set_plt_offset(plt_offset); in add_entry()
1130 unsigned int plt_offset = this->irelative_count_ * plt_entry_size; in add_local_ifunc_entry() local
1145 return plt_offset; in add_local_ifunc_entry()
1221 return this->address() + offset + gsym->plt_offset(); in address_for_global()
[all …]
Dtilegx.cc2016 off_t plt_offset; in add_entry() local
2066 plt_offset = plt_index * this->get_plt_entry_size(); in add_entry()
2068 plt_offset = (plt_index + 1) * this->get_plt_entry_size(); in add_entry()
2085 plt_offset = this->free_list_.allocate(this->get_plt_entry_size(), in add_entry()
2087 if (plt_offset == -1) in add_entry()
2094 plt_index = plt_offset / this->get_plt_entry_size() - 1; in add_entry()
2098 gsym->set_plt_offset(plt_offset); in add_entry()
2119 unsigned int plt_offset = in add_local_ifunc_entry() local
2135 return plt_offset; in add_local_ifunc_entry()
2213 return this->address() + offset + gsym->plt_offset(); in address_for_global()
[all …]
Daarch64.cc4326 unsigned int plt_offset) in fill_plt_entry() argument
4329 got_offset, plt_offset); in fill_plt_entry()
4339 unsigned int plt_offset) in fill_tlsdesc_entry() argument
4342 tlsdesc_got_offset, plt_offset); in fill_tlsdesc_entry()
4364 unsigned int plt_offset) = 0;
4372 unsigned int plt_offset) = 0;
4502 unsigned int plt_offset = this->irelative_count_ * this->get_plt_entry_size(); in add_local_ifunc_entry() local
4517 return plt_offset; in add_local_ifunc_entry()
4615 return this->address() + offset + gsym->plt_offset(); in address_for_global()
4691 unsigned int plt_offset);
[all …]
Dsymtab.h461 plt_offset() const in plt_offset() function
469 set_plt_offset(unsigned int plt_offset) in set_plt_offset() argument
471 gold_assert(plt_offset != -1U); in set_plt_offset()
472 this->plt_offset_ = plt_offset; in set_plt_offset()
/netbsd/src/external/gpl3/binutils/dist/bfd/
Delf32-xstormy16.c863 bfd_vma *plt_offset; in xstormy16_elf_relocate_section() local
866 plt_offset = &h->plt.offset; in xstormy16_elf_relocate_section()
868 plt_offset = elf_local_got_offsets (input_bfd) + r_symndx; in xstormy16_elf_relocate_section()
874 BFD_ASSERT (*plt_offset == (bfd_vma) -1); in xstormy16_elf_relocate_section()
880 BFD_ASSERT (*plt_offset != (bfd_vma) -1); in xstormy16_elf_relocate_section()
884 if ((*plt_offset & 1) == 0) in xstormy16_elf_relocate_section()
891 bfd_put_32 (input_bfd, x, splt->contents + *plt_offset); in xstormy16_elf_relocate_section()
892 *plt_offset |= 1; in xstormy16_elf_relocate_section()
897 + (*plt_offset & -2)); in xstormy16_elf_relocate_section()
Delf32-m32c.c505 bfd_vma *plt_offset; in m32c_elf_relocate_section() local
508 plt_offset = &h->plt.offset; in m32c_elf_relocate_section()
510 plt_offset = elf_local_got_offsets (input_bfd) + r_symndx; in m32c_elf_relocate_section()
518 BFD_ASSERT (*plt_offset == (bfd_vma) -1); in m32c_elf_relocate_section()
524 BFD_ASSERT (*plt_offset != (bfd_vma) -1); in m32c_elf_relocate_section()
528 if ((*plt_offset & 1) == 0) in m32c_elf_relocate_section()
534 bfd_put_32 (input_bfd, x, splt->contents + *plt_offset); in m32c_elf_relocate_section()
535 *plt_offset |= 1; in m32c_elf_relocate_section()
540 + (*plt_offset & -2)); in m32c_elf_relocate_section()
551 (*plt_offset & -2), in m32c_elf_relocate_section()
Delf64-x86-64.c2645 bfd_vma off, offplt, plt_offset; in elf_x86_64_relocate_section() local
2872 plt_offset = eh->plt_second.offset; in elf_x86_64_relocate_section()
2877 plt_offset = h->plt.offset; in elf_x86_64_relocate_section()
2883 plt_offset = h->plt.offset; in elf_x86_64_relocate_section()
2887 + resolved_plt->output_offset + plt_offset); in elf_x86_64_relocate_section()
3243 plt_offset = eh->plt_got.offset; in elf_x86_64_relocate_section()
3248 plt_offset = eh->plt_second.offset; in elf_x86_64_relocate_section()
3253 plt_offset = h->plt.offset; in elf_x86_64_relocate_section()
3258 + plt_offset); in elf_x86_64_relocate_section()
3291 plt_offset = eh->plt_second.offset; in elf_x86_64_relocate_section()
[all …]
Delf32-i386.c2100 bfd_vma off, offplt, plt_offset; in elf_i386_relocate_section() local
2290 plt_offset = eh->plt_second.offset; in elf_i386_relocate_section()
2295 plt_offset = h->plt.offset; in elf_i386_relocate_section()
2302 plt_offset = h->plt.offset; in elf_i386_relocate_section()
2403 + resolved_plt->output_offset + plt_offset); in elf_i386_relocate_section()
2740 plt_offset = eh->plt_second.offset; in elf_i386_relocate_section()
2745 plt_offset = h->plt.offset; in elf_i386_relocate_section()
2751 plt_offset = eh->plt_got.offset; in elf_i386_relocate_section()
2756 + plt_offset); in elf_i386_relocate_section()
3609 bfd_vma plt_index, plt_offset; in elf_i386_finish_dynamic_symbol() local
[all …]
Delf64-alpha.c127 int plt_offset; member
1719 gotent->plt_offset = -1; in get_got_entry()
2512 gotent->plt_offset = splt->size; in elf64_alpha_size_plt_section_1()
4797 BFD_ASSERT (gotent->plt_offset != -1); in elf64_alpha_finish_dynamic_symbol()
4804 + gotent->plt_offset); in elf64_alpha_finish_dynamic_symbol()
4806 plt_index = (gotent->plt_offset-PLT_HEADER_SIZE) / PLT_ENTRY_SIZE; in elf64_alpha_finish_dynamic_symbol()
4811 disp = (PLT_HEADER_SIZE - 4) - (gotent->plt_offset + 4); in elf64_alpha_finish_dynamic_symbol()
4814 splt->contents + gotent->plt_offset); in elf64_alpha_finish_dynamic_symbol()
4816 plt_index = ((gotent->plt_offset - NEW_PLT_HEADER_SIZE) in elf64_alpha_finish_dynamic_symbol()
4830 splt->contents + gotent->plt_offset); in elf64_alpha_finish_dynamic_symbol()
[all …]
Delf32-rl78.c792 bfd_vma *plt_offset; in rl78_elf_relocate_section() local
795 plt_offset = &h->plt.offset; in rl78_elf_relocate_section()
797 plt_offset = elf_local_got_offsets (input_bfd) + r_symndx; in rl78_elf_relocate_section()
803 if ((*plt_offset & 1) == 0) in rl78_elf_relocate_section()
809 bfd_put_32 (input_bfd, x, splt->contents + *plt_offset); in rl78_elf_relocate_section()
810 *plt_offset |= 1; in rl78_elf_relocate_section()
815 + (*plt_offset & -2)); in rl78_elf_relocate_section()
826 (*plt_offset & -2), in rl78_elf_relocate_section()
Delf64-hppa.c57 bfd_vma plt_offset; member
1000 hh->plt_offset = x->ofs; in allocate_global_data_plt()
1002 if (hh->plt_offset < 0x2000) in allocate_global_data_plt()
1010 hppa_info->gp_offset = hh->plt_offset; in allocate_global_data_plt()
1964 bfd_put_64 (splt->owner, value, splt->contents + hh->plt_offset); in elf64_hppa_finish_dynamic_symbol()
1966 bfd_put_64 (splt->owner, value, splt->contents + hh->plt_offset + 0x8); in elf64_hppa_finish_dynamic_symbol()
1974 rel.r_offset = (hh->plt_offset + splt->output_offset in elf64_hppa_finish_dynamic_symbol()
2011 value = hh->plt_offset - hppa_info->gp_offset; in elf64_hppa_finish_dynamic_symbol()
3484 value = (hh->plt_offset in elf_hppa_final_link_relocate()
Delfxx-sparc.c4146 bfd_vma plt_offset, bfd_vma plt_index, in sparc_vxworks_build_plt_entry() argument
4173 htab->elf.splt->contents + plt_offset); in sparc_vxworks_build_plt_entry()
4175 htab->elf.splt->contents + plt_offset + 4); in sparc_vxworks_build_plt_entry()
4177 htab->elf.splt->contents + plt_offset + 8); in sparc_vxworks_build_plt_entry()
4179 htab->elf.splt->contents + plt_offset + 12); in sparc_vxworks_build_plt_entry()
4181 htab->elf.splt->contents + plt_offset + 16); in sparc_vxworks_build_plt_entry()
4183 htab->elf.splt->contents + plt_offset + 20); in sparc_vxworks_build_plt_entry()
4186 bfd_put_32 (output_bfd, plt_entry[6] + (((-plt_offset - 24) >> 2) in sparc_vxworks_build_plt_entry()
4188 htab->elf.splt->contents + plt_offset + 24); in sparc_vxworks_build_plt_entry()
4190 htab->elf.splt->contents + plt_offset + 28); in sparc_vxworks_build_plt_entry()
[all …]
Delf64-s390.c3137 bfd_vma plt_offset, in elf_s390_finish_ifunc_symbol() argument
3152 plt_index = plt_offset / PLT_ENTRY_SIZE; in elf_s390_finish_ifunc_symbol()
3160 memcpy (plt->contents + plt_offset, elf_s390x_plt_entry, in elf_s390_finish_ifunc_symbol()
3169 plt_offset))/2, in elf_s390_finish_ifunc_symbol()
3170 plt->contents + plt_offset + 2); in elf_s390_finish_ifunc_symbol()
3174 plt->contents + plt_offset + 24); in elf_s390_finish_ifunc_symbol()
3178 plt->contents + plt_offset + 28); in elf_s390_finish_ifunc_symbol()
3185 + plt_offset in elf_s390_finish_ifunc_symbol()
Delfxx-mips.c11051 bfd_vma plt_offset; in _bfd_mips_elf_finish_dynamic_symbol() local
11053 plt_offset = htab->plt_header_size + h->plt.plist->mips_offset; in _bfd_mips_elf_finish_dynamic_symbol()
11055 BFD_ASSERT (plt_offset <= htab->root.splt->size); in _bfd_mips_elf_finish_dynamic_symbol()
11058 loc = htab->root.splt->contents + plt_offset; in _bfd_mips_elf_finish_dynamic_symbol()
11091 bfd_vma plt_offset; in _bfd_mips_elf_finish_dynamic_symbol() local
11093 plt_offset = (htab->plt_header_size + htab->plt_mips_offset in _bfd_mips_elf_finish_dynamic_symbol()
11096 BFD_ASSERT (plt_offset <= htab->root.splt->size); in _bfd_mips_elf_finish_dynamic_symbol()
11099 loc = htab->root.splt->contents + plt_offset; in _bfd_mips_elf_finish_dynamic_symbol()
11136 + htab->root.splt->output_offset + plt_offset); in _bfd_mips_elf_finish_dynamic_symbol()
11507 bfd_vma plt_offset; in _bfd_mips_vxworks_finish_dynamic_symbol() local
[all …]
/netbsd/src/external/gpl3/gdb/dist/bfd/
Delf32-xstormy16.c863 bfd_vma *plt_offset; in xstormy16_elf_relocate_section() local
866 plt_offset = &h->plt.offset; in xstormy16_elf_relocate_section()
868 plt_offset = elf_local_got_offsets (input_bfd) + r_symndx; in xstormy16_elf_relocate_section()
874 BFD_ASSERT (*plt_offset == (bfd_vma) -1); in xstormy16_elf_relocate_section()
880 BFD_ASSERT (*plt_offset != (bfd_vma) -1); in xstormy16_elf_relocate_section()
884 if ((*plt_offset & 1) == 0) in xstormy16_elf_relocate_section()
891 bfd_put_32 (input_bfd, x, splt->contents + *plt_offset); in xstormy16_elf_relocate_section()
892 *plt_offset |= 1; in xstormy16_elf_relocate_section()
897 + (*plt_offset & -2)); in xstormy16_elf_relocate_section()
Delf32-m32c.c505 bfd_vma *plt_offset; in m32c_elf_relocate_section() local
508 plt_offset = &h->plt.offset; in m32c_elf_relocate_section()
510 plt_offset = elf_local_got_offsets (input_bfd) + r_symndx; in m32c_elf_relocate_section()
518 BFD_ASSERT (*plt_offset == (bfd_vma) -1); in m32c_elf_relocate_section()
524 BFD_ASSERT (*plt_offset != (bfd_vma) -1); in m32c_elf_relocate_section()
528 if ((*plt_offset & 1) == 0) in m32c_elf_relocate_section()
534 bfd_put_32 (input_bfd, x, splt->contents + *plt_offset); in m32c_elf_relocate_section()
535 *plt_offset |= 1; in m32c_elf_relocate_section()
540 + (*plt_offset & -2)); in m32c_elf_relocate_section()
551 (*plt_offset & -2), in m32c_elf_relocate_section()
Delf64-x86-64.c2710 bfd_vma off, offplt, plt_offset; in elf_x86_64_relocate_section() local
2937 plt_offset = eh->plt_second.offset; in elf_x86_64_relocate_section()
2942 plt_offset = h->plt.offset; in elf_x86_64_relocate_section()
2948 plt_offset = h->plt.offset; in elf_x86_64_relocate_section()
2952 + resolved_plt->output_offset + plt_offset); in elf_x86_64_relocate_section()
3308 plt_offset = eh->plt_got.offset; in elf_x86_64_relocate_section()
3313 plt_offset = eh->plt_second.offset; in elf_x86_64_relocate_section()
3318 plt_offset = h->plt.offset; in elf_x86_64_relocate_section()
3323 + plt_offset); in elf_x86_64_relocate_section()
3356 plt_offset = eh->plt_second.offset; in elf_x86_64_relocate_section()
[all …]
Delf32-i386.c2093 bfd_vma off, offplt, plt_offset; in elf_i386_relocate_section() local
2283 plt_offset = eh->plt_second.offset; in elf_i386_relocate_section()
2288 plt_offset = h->plt.offset; in elf_i386_relocate_section()
2295 plt_offset = h->plt.offset; in elf_i386_relocate_section()
2396 + resolved_plt->output_offset + plt_offset); in elf_i386_relocate_section()
2733 plt_offset = eh->plt_second.offset; in elf_i386_relocate_section()
2738 plt_offset = h->plt.offset; in elf_i386_relocate_section()
2744 plt_offset = eh->plt_got.offset; in elf_i386_relocate_section()
2749 + plt_offset); in elf_i386_relocate_section()
3600 bfd_vma plt_index, plt_offset; in elf_i386_finish_dynamic_symbol() local
[all …]
Delf32-rl78.c792 bfd_vma *plt_offset; in rl78_elf_relocate_section() local
795 plt_offset = &h->plt.offset; in rl78_elf_relocate_section()
797 plt_offset = elf_local_got_offsets (input_bfd) + r_symndx; in rl78_elf_relocate_section()
803 if ((*plt_offset & 1) == 0) in rl78_elf_relocate_section()
809 bfd_put_32 (input_bfd, x, splt->contents + *plt_offset); in rl78_elf_relocate_section()
810 *plt_offset |= 1; in rl78_elf_relocate_section()
815 + (*plt_offset & -2)); in rl78_elf_relocate_section()
826 (*plt_offset & -2), in rl78_elf_relocate_section()
Delf64-alpha.c122 int plt_offset; member
1714 gotent->plt_offset = -1; in get_got_entry()
2507 gotent->plt_offset = splt->size; in elf64_alpha_size_plt_section_1()
4793 BFD_ASSERT (gotent->plt_offset != -1); in elf64_alpha_finish_dynamic_symbol()
4800 + gotent->plt_offset); in elf64_alpha_finish_dynamic_symbol()
4802 plt_index = (gotent->plt_offset-PLT_HEADER_SIZE) / PLT_ENTRY_SIZE; in elf64_alpha_finish_dynamic_symbol()
4807 disp = (PLT_HEADER_SIZE - 4) - (gotent->plt_offset + 4); in elf64_alpha_finish_dynamic_symbol()
4810 splt->contents + gotent->plt_offset); in elf64_alpha_finish_dynamic_symbol()
4812 plt_index = ((gotent->plt_offset - NEW_PLT_HEADER_SIZE) in elf64_alpha_finish_dynamic_symbol()
4817 disp = -(gotent->plt_offset + 4); in elf64_alpha_finish_dynamic_symbol()
[all …]
Delf64-hppa.c61 bfd_vma plt_offset; member
1001 hh->plt_offset = x->ofs; in allocate_global_data_plt()
1003 if (hh->plt_offset < 0x2000) in allocate_global_data_plt()
1011 hppa_info->gp_offset = hh->plt_offset; in allocate_global_data_plt()
1968 bfd_put_64 (splt->owner, value, splt->contents + hh->plt_offset); in elf64_hppa_finish_dynamic_symbol()
1970 bfd_put_64 (splt->owner, value, splt->contents + hh->plt_offset + 0x8); in elf64_hppa_finish_dynamic_symbol()
1978 rel.r_offset = (hh->plt_offset + splt->output_offset in elf64_hppa_finish_dynamic_symbol()
2015 value = hh->plt_offset - hppa_info->gp_offset; in elf64_hppa_finish_dynamic_symbol()
3488 value = (hh->plt_offset in elf_hppa_final_link_relocate()
Delfxx-sparc.c4128 bfd_vma plt_offset, bfd_vma plt_index, in sparc_vxworks_build_plt_entry() argument
4155 htab->elf.splt->contents + plt_offset); in sparc_vxworks_build_plt_entry()
4157 htab->elf.splt->contents + plt_offset + 4); in sparc_vxworks_build_plt_entry()
4159 htab->elf.splt->contents + plt_offset + 8); in sparc_vxworks_build_plt_entry()
4161 htab->elf.splt->contents + plt_offset + 12); in sparc_vxworks_build_plt_entry()
4163 htab->elf.splt->contents + plt_offset + 16); in sparc_vxworks_build_plt_entry()
4165 htab->elf.splt->contents + plt_offset + 20); in sparc_vxworks_build_plt_entry()
4168 bfd_put_32 (output_bfd, plt_entry[6] + (((-plt_offset - 24) >> 2) in sparc_vxworks_build_plt_entry()
4170 htab->elf.splt->contents + plt_offset + 24); in sparc_vxworks_build_plt_entry()
4172 htab->elf.splt->contents + plt_offset + 28); in sparc_vxworks_build_plt_entry()
[all …]

123