/toolchain/binutils/binutils-2.25/gold/ |
D | x86_64.cc | 199 reserve_slot(unsigned int plt_index) in reserve_slot() argument 201 this->free_list_.remove((plt_index + 1) * this->get_plt_entry_size(), in reserve_slot() 202 (plt_index + 2) * this->get_plt_entry_size()); in reserve_slot() 234 unsigned int plt_index) in fill_plt_entry() argument 237 got_offset, plt_offset, plt_index); in fill_plt_entry() 268 unsigned int plt_index) = 0; 376 unsigned int plt_index); 626 register_global_plt_entry(Symbol_table*, Layout*, unsigned int plt_index, 1249 unsigned int plt_index; in add_entry() local 1277 plt_index = *pcount + offset; in add_entry() [all …]
|
D | tilegx.cc | 148 reserve_slot(unsigned int plt_index) in reserve_slot() argument 150 this->free_list_.remove((plt_index + 1) * this->get_plt_entry_size(), in reserve_slot() 151 (plt_index + 2) * this->get_plt_entry_size()); in reserve_slot() 416 register_global_plt_entry(Symbol_table*, Layout*, unsigned int plt_index, 2001 unsigned int plt_index; in add_entry() local 2024 plt_index = *pcount; in add_entry() 2052 plt_offset = plt_index * this->get_plt_entry_size(); in add_entry() 2054 plt_offset = (plt_index + 1) * this->get_plt_entry_size(); in add_entry() 2058 got_offset = (plt_index + reserved) * (size / 8); in add_entry() 2080 plt_index = plt_offset / this->get_plt_entry_size() - 1; in add_entry() [all …]
|
D | sparc.cc | 1401 unsigned int plt_index; member 1409 unsigned int plt_index; member 1492 gi.plt_index = index; in add_entry() 1530 li.plt_index = index; in add_local_ifunc_entry() 1551 index = this->count_ + p->plt_index + 4; in emit_pending_ifunc_relocs() 1565 index = this->count_ + p->plt_index + 4; in emit_pending_ifunc_relocs()
|
D | incremental.cc | 1921 unsigned int plt_index = in operator ()() local 1924 gold_assert(plt_index < this->info_.plt_count); in operator ()() 1925 unsigned char* pov = this->info_.plt_desc_p + plt_index * 4; in operator ()()
|
/toolchain/binutils/binutils-2.25/bfd/ |
D | elf64-s390.c | 2416 bfd_vma plt_index; in elf_s390_relocate_section() local 2420 plt_index = h->plt.offset / PLT_ENTRY_SIZE; in elf_s390_relocate_section() 2421 relocation = (plt_index * GOT_ENTRY_SIZE + in elf_s390_relocate_section() 2430 plt_index = (h->plt.offset - PLT_FIRST_ENTRY_SIZE) / in elf_s390_relocate_section() 2435 relocation = (plt_index + 3) * GOT_ENTRY_SIZE; in elf_s390_relocate_section() 3317 bfd_vma plt_index; in elf_s390_finish_ifunc_symbol() local 3329 plt_index = plt_offset / PLT_ENTRY_SIZE; in elf_s390_finish_ifunc_symbol() 3332 got_offset = plt_index * GOT_ENTRY_SIZE; in elf_s390_finish_ifunc_symbol() 3350 (PLT_ENTRY_SIZE * plt_index) + 22)/2, in elf_s390_finish_ifunc_symbol() 3354 plt_index * sizeof (Elf64_External_Rela), in elf_s390_finish_ifunc_symbol() [all …]
|
D | elf32-vax.c | 1357 bfd_vma plt_index; in elf_vax_relocate_section() local 1522 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; in elf_vax_relocate_section() 1527 got_offset = (plt_index + 3) * 4; in elf_vax_relocate_section() 1764 bfd_vma plt_index; in elf_vax_finish_dynamic_symbol() local 1786 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; in elf_vax_finish_dynamic_symbol() 1791 got_offset = (plt_index + 3) * 4; in elf_vax_finish_dynamic_symbol() 1802 bfd_put_32 (output_bfd, plt_index * sizeof (Elf32_External_Rela), in elf_vax_finish_dynamic_symbol() 1818 loc = srela->contents + plt_index * sizeof (Elf32_External_Rela); in elf_vax_finish_dynamic_symbol()
|
D | elf32-s390.c | 2456 bfd_vma plt_index; in elf_s390_relocate_section() local 2460 plt_index = h->plt.offset / PLT_ENTRY_SIZE; in elf_s390_relocate_section() 2461 relocation = (plt_index * GOT_ENTRY_SIZE + in elf_s390_relocate_section() 2470 plt_index = (h->plt.offset - PLT_FIRST_ENTRY_SIZE) / in elf_s390_relocate_section() 2475 relocation = (plt_index + 3) * GOT_ENTRY_SIZE; in elf_s390_relocate_section() 3542 bfd_vma plt_index; in elf_s390_finish_dynamic_symbol() local 3571 plt_index = (h->plt.offset - PLT_FIRST_ENTRY_SIZE) / PLT_ENTRY_SIZE; in elf_s390_finish_dynamic_symbol() 3575 got_offset = (plt_index + 3) * GOT_ENTRY_SIZE; in elf_s390_finish_dynamic_symbol() 3579 (PLT_ENTRY_SIZE * plt_index) + 18) / 2); in elf_s390_finish_dynamic_symbol() 3653 bfd_put_32 (output_bfd, plt_index * sizeof (Elf32_External_Rela), in elf_s390_finish_dynamic_symbol() [all …]
|
D | elf32-sh.c | 2314 bfd_vma plt_index = 0; in get_plt_index() local 2321 plt_index = MAX_SHORT_PLT; in get_plt_index() 2327 return plt_index + offset / info->symbol_entry_size; in get_plt_index() 2333 get_plt_offset (const struct elf_sh_plt_info *info, bfd_vma plt_index) in get_plt_offset() argument 2339 if (plt_index > MAX_SHORT_PLT) in get_plt_offset() 2342 plt_index -= MAX_SHORT_PLT; in get_plt_offset() 2348 + (plt_index * info->symbol_entry_size)); in get_plt_offset() 6698 bfd_vma plt_index; in sh_elf_finish_dynamic_symbol() local 6718 plt_index = get_plt_index (htab->plt_info, h->plt.offset); in sh_elf_finish_dynamic_symbol() 6721 if (plt_info->short_plt != NULL && plt_index <= MAX_SHORT_PLT) in sh_elf_finish_dynamic_symbol() [all …]
|
D | elf64-x86-64.c | 3515 bfd_vma plt_index; in elf_x86_64_relocate_section() local 3657 plt_index = h->plt.offset / plt_entry_size - 1; in elf_x86_64_relocate_section() 3658 off = (plt_index + 3) * GOT_ENTRY_SIZE; in elf_x86_64_relocate_section() 3663 plt_index = h->plt.offset / plt_entry_size; in elf_x86_64_relocate_section() 3664 off = plt_index * GOT_ENTRY_SIZE; in elf_x86_64_relocate_section() 3732 bfd_vma plt_index = h->plt.offset / plt_entry_size - 1; in elf_x86_64_relocate_section() local 3733 off = (plt_index + 3) * GOT_ENTRY_SIZE; in elf_x86_64_relocate_section() 4744 bfd_vma plt_index; in elf_x86_64_finish_dynamic_symbol() local 4889 plt_index = htab->next_irelative_index--; in elf_x86_64_finish_dynamic_symbol() 4895 plt_index = htab->next_jump_slot_index++; in elf_x86_64_finish_dynamic_symbol() [all …]
|
D | elf32-or1k.c | 1883 bfd_vma plt_index; in or1k_elf_finish_dynamic_symbol() local 1901 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; in or1k_elf_finish_dynamic_symbol() 1906 got_offset = (plt_index + 3) * 4; in or1k_elf_finish_dynamic_symbol() 1923 | plt_index * sizeof (Elf32_External_Rela), in or1k_elf_finish_dynamic_symbol() 1931 | plt_index * sizeof (Elf32_External_Rela), in or1k_elf_finish_dynamic_symbol() 1954 loc += plt_index * sizeof (Elf32_External_Rela); in or1k_elf_finish_dynamic_symbol()
|
D | elf32-i386.c | 3338 bfd_vma plt_index; in elf_i386_relocate_section() local 3444 plt_index = h->plt.offset / plt_entry_size - 1; in elf_i386_relocate_section() 3445 off = (plt_index + 3) * 4; in elf_i386_relocate_section() 3450 plt_index = h->plt.offset / plt_entry_size; in elf_i386_relocate_section() 3451 off = plt_index * 4; in elf_i386_relocate_section() 4440 bfd_vma plt_index; in elf_i386_finish_dynamic_symbol() local 4581 plt_index = htab->next_irelative_index--; in elf_i386_finish_dynamic_symbol() 4586 plt_index = htab->next_jump_slot_index++; in elf_i386_finish_dynamic_symbol() 4588 loc = relplt->contents + plt_index * sizeof (Elf32_External_Rel); in elf_i386_finish_dynamic_symbol() 4594 bfd_put_32 (output_bfd, plt_index * sizeof (Elf32_External_Rel), in elf_i386_finish_dynamic_symbol()
|
D | elf32-metag.c | 3080 bfd_vma plt_index; in elf_metag_finish_dynamic_symbol() local 3098 plt_index = eh->plt.offset / PLT_ENTRY_SIZE - 1; in elf_metag_finish_dynamic_symbol() 3102 got_offset = plt_index * GOT_ENTRY_SIZE; in elf_metag_finish_dynamic_symbol() 3110 BFD_ASSERT (plt_index < (1 << 16)); in elf_metag_finish_dynamic_symbol() 3126 (plt_entry[3] | (plt_index << 3)), in elf_metag_finish_dynamic_symbol() 3147 (plt_pic_entry[3] | (plt_index << 3)), in elf_metag_finish_dynamic_symbol() 3170 loc += plt_index * sizeof(Elf32_External_Rela); in elf_metag_finish_dynamic_symbol()
|
D | elf32-m32r.c | 3126 bfd_vma plt_index; in m32r_elf_finish_dynamic_symbol() local 3144 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; in m32r_elf_finish_dynamic_symbol() 3149 got_offset = (plt_index + 3) * 4; in m32r_elf_finish_dynamic_symbol() 3170 + plt_index * sizeof (Elf32_External_Rela)), in m32r_elf_finish_dynamic_symbol() 3188 + plt_index * sizeof (Elf32_External_Rela)), in m32r_elf_finish_dynamic_symbol() 3211 loc += plt_index * sizeof (Elf32_External_Rela); in m32r_elf_finish_dynamic_symbol()
|
D | elf32-nios2.c | 4150 bfd_vma plt_index; in nios2_elf32_finish_dynamic_symbol() local 4169 plt_index = (h->plt.offset - 24) / 12; in nios2_elf32_finish_dynamic_symbol() 4170 got_offset = (plt_index + 3) * 4; in nios2_elf32_finish_dynamic_symbol() 4172 hiadj(plt_index * 4)); in nios2_elf32_finish_dynamic_symbol() 4174 (plt_index * 4) & 0xffff); in nios2_elf32_finish_dynamic_symbol() 4189 plt_index = (h->plt.offset - 28 - htab->res_n_size) / 12; in nios2_elf32_finish_dynamic_symbol() 4190 got_offset = (plt_index + 3) * 4; in nios2_elf32_finish_dynamic_symbol() 4202 + plt_index * 4, sgotplt->contents + got_offset); in nios2_elf32_finish_dynamic_symbol() 4209 loc = srela->contents + plt_index * sizeof (Elf32_External_Rela); in nios2_elf32_finish_dynamic_symbol()
|
D | elf64-sh64.c | 3602 bfd_vma plt_index; in sh64_elf64_finish_dynamic_symbol() local 3621 plt_index = h->plt.offset / elf_sh64_sizeof_plt (info) - 1; in sh64_elf64_finish_dynamic_symbol() 3626 got_offset = (plt_index + 3) * 8; in sh64_elf64_finish_dynamic_symbol() 3675 plt_index * sizeof (Elf64_External_Rela), in sh64_elf64_finish_dynamic_symbol() 3694 loc = srel->contents + plt_index * sizeof (Elf64_External_Rela); in sh64_elf64_finish_dynamic_symbol()
|
D | elfxx-sparc.c | 836 int plt_index; in sparc64_plt_entry_build() local 844 plt_index = (offset / PLT64_ENTRY_SIZE); in sparc64_plt_entry_build() 846 sethi = 0x03000000 | (plt_index * PLT64_ENTRY_SIZE); in sparc64_plt_entry_build() 893 plt_index = (PLT64_LARGE_THRESHOLD + in sparc64_plt_entry_build() 923 return plt_index - 4; in sparc64_plt_entry_build() 4217 bfd_vma plt_offset, bfd_vma plt_index, in sparc_vxworks_build_plt_entry() argument 4253 bfd_put_32 (output_bfd, plt_entry[5] + (plt_index >> 10), in sparc_vxworks_build_plt_entry() 4260 bfd_put_32 (output_bfd, plt_entry[7] + (plt_index & 0x3ff), in sparc_vxworks_build_plt_entry() 4276 + (2 + 3 * plt_index) * sizeof (Elf32_External_Rela)); in sparc_vxworks_build_plt_entry()
|
D | elfnn-aarch64.c | 4559 bfd_vma plt_index; in elfNN_aarch64_final_link_relocate() local 4567 plt_index = ((h->plt.offset - globals->plt_header_size) / in elfNN_aarch64_final_link_relocate() 4569 off = (plt_index + 3) * GOT_ENTRY_SIZE; in elfNN_aarch64_final_link_relocate() 4574 plt_index = h->plt.offset / globals->plt_entry_size; in elfNN_aarch64_final_link_relocate() 4575 off = plt_index * GOT_ENTRY_SIZE; in elfNN_aarch64_final_link_relocate() 7580 bfd_vma plt_index; in elfNN_aarch64_create_small_pltn_entry() local 7616 plt_index = (h->plt.offset - htab->plt_header_size) / htab->plt_entry_size; in elfNN_aarch64_create_small_pltn_entry() 7617 got_offset = (plt_index + 3) * GOT_ENTRY_SIZE; in elfNN_aarch64_create_small_pltn_entry() 7621 plt_index = h->plt.offset / htab->plt_entry_size; in elfNN_aarch64_create_small_pltn_entry() 7622 got_offset = plt_index * GOT_ENTRY_SIZE; in elfNN_aarch64_create_small_pltn_entry() [all …]
|
D | elf32-lm32.c | 1609 bfd_vma plt_index; in lm32_elf_finish_dynamic_symbol() local 1626 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; in lm32_elf_finish_dynamic_symbol() 1631 got_offset = (plt_index + 3) * 4; in lm32_elf_finish_dynamic_symbol() 1658 loc += plt_index * sizeof (Elf32_External_Rela); in lm32_elf_finish_dynamic_symbol()
|
D | elfxx-tilegx.c | 1277 int plt_index = (offset - PLT_HEADER_SIZE) / PLT_ENTRY_SIZE; in tilegx_plt_entry_build() local 1278 int got_offset = (plt_index * GOT_ENTRY_SIZE (htab) in tilegx_plt_entry_build() 1319 *pc++ |= create_Imm16_X0 (plt_index); in tilegx_plt_entry_build() 1338 *pc++ |= create_Imm16_X0 (plt_index); in tilegx_plt_entry_build() 1344 return plt_index; in tilegx_plt_entry_build()
|
D | elf32-m68k.c | 4241 bfd_vma plt_index; in elf_m68k_finish_dynamic_symbol() local 4261 plt_index = (h->plt.offset / plt_info->size) - 1; in elf_m68k_finish_dynamic_symbol() 4266 got_offset = (plt_index + 3) * 4; in elf_m68k_finish_dynamic_symbol() 4277 bfd_put_32 (output_bfd, plt_index * sizeof (Elf32_External_Rela), in elf_m68k_finish_dynamic_symbol() 4299 loc = srela->contents + plt_index * sizeof (Elf32_External_Rela); in elf_m68k_finish_dynamic_symbol()
|
D | elf32-microblaze.c | 3203 bfd_vma plt_index; in microblaze_elf_finish_dynamic_symbol() local 3216 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; /* first entry reserved. */ in microblaze_elf_finish_dynamic_symbol() 3217 got_offset = (plt_index + 3) * 4; /* 3 reserved ??? */ in microblaze_elf_finish_dynamic_symbol() 3250 loc += plt_index * sizeof (Elf32_External_Rela); in microblaze_elf_finish_dynamic_symbol()
|
D | elf32-tilepro.c | 1118 int plt_index = (offset - PLT_ENTRY_SIZE) / PLT_ENTRY_SIZE; in tilepro_plt_entry_build() local 1119 int got_offset = plt_index * GOT_ENTRY_SIZE + GOTPLT_HEADER_SIZE; in tilepro_plt_entry_build() 1160 *pc |= create_Imm16_X0 (plt_index); in tilepro_plt_entry_build() 1165 return plt_index; in tilepro_plt_entry_build()
|
D | elf32-tic6x.c | 1746 bfd_vma plt_index; in elf32_tic6x_finish_dynamic_symbol() local 1783 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; in elf32_tic6x_finish_dynamic_symbol() 1784 got_section_offset = plt_index + bed->got_header_size / 4; in elf32_tic6x_finish_dynamic_symbol() 1786 rela_offset = plt_index * sizeof (Elf32_External_Rela); in elf32_tic6x_finish_dynamic_symbol()
|
D | elf-m10300.c | 5224 bfd_vma plt_index; in _bfd_mn10300_elf_finish_dynamic_symbol() local 5242 plt_index = ((h->plt.offset - elf_mn10300_sizeof_plt0 (info)) in _bfd_mn10300_elf_finish_dynamic_symbol() 5248 got_offset = (plt_index + 3) * 4; in _bfd_mn10300_elf_finish_dynamic_symbol() 5277 bfd_put_32 (output_bfd, plt_index * sizeof (Elf32_External_Rela), in _bfd_mn10300_elf_finish_dynamic_symbol() 5297 + plt_index)); in _bfd_mn10300_elf_finish_dynamic_symbol()
|
D | elf64-alpha.c | 4837 bfd_vma plt_index; in elf64_alpha_finish_dynamic_symbol() local 4867 plt_index = (gotent->plt_offset-PLT_HEADER_SIZE) / PLT_ENTRY_SIZE; in elf64_alpha_finish_dynamic_symbol() 4877 plt_index = ((gotent->plt_offset - NEW_PLT_HEADER_SIZE) in elf64_alpha_finish_dynamic_symbol() 4891 plt_index = ((gotent->plt_offset - OLD_PLT_HEADER_SIZE) in elf64_alpha_finish_dynamic_symbol() 4900 loc = srel->contents + plt_index * sizeof (Elf64_External_Rela); in elf64_alpha_finish_dynamic_symbol()
|