Home
last modified time | relevance | path

Searched refs:plt_index (Results 1 – 25 of 29) sorted by relevance

12

/openbsd/gnu/usr.bin/binutils/bfd/
H A Delf32-vax.c1438 bfd_vma plt_index; local
1631 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1;
1636 got_offset = (plt_index + 3) * 4;
1875 bfd_vma plt_index; local
1897 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1;
1902 got_offset = (plt_index + 3) * 4;
1913 bfd_put_32 (output_bfd, plt_index * sizeof (Elf32_External_Rela),
1929 loc = srela->contents + plt_index * sizeof (Elf32_External_Rela);
H A Delf32-m68k.c1780 bfd_vma plt_index; local
1800 plt_index = h->plt.offset / PLT_CPU32_ENTRY_SIZE - 1;
1802 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1;
1807 got_offset = (plt_index + 3) * 4;
1837 bfd_put_32 (output_bfd, plt_index * sizeof (Elf32_External_Rela),
1856 loc = srela->contents + plt_index * sizeof (Elf32_External_Rela);
H A Delf64-s390.c2309 bfd_vma plt_index; local
2313 plt_index = (h->plt.offset - PLT_FIRST_ENTRY_SIZE) /
2318 relocation = (plt_index + 3) * GOT_ENTRY_SIZE;
3070 bfd_vma plt_index; local
3086 plt_index = (h->plt.offset - PLT_FIRST_ENTRY_SIZE) / PLT_ENTRY_SIZE;
3090 got_offset = (plt_index + 3) * GOT_ENTRY_SIZE;
3117 (PLT_ENTRY_SIZE * plt_index) + 22)/2,
3120 bfd_put_32 (output_bfd, plt_index * sizeof (Elf64_External_Rela),
3138 loc = htab->srelplt->contents + plt_index * sizeof (Elf64_External_Rela);
H A Delf32-s390.c2338 bfd_vma plt_index; local
2342 plt_index = (h->plt.offset - PLT_FIRST_ENTRY_SIZE) /
2347 relocation = (plt_index + 3) * GOT_ENTRY_SIZE;
3074 bfd_vma plt_index; local
3090 plt_index = (h->plt.offset - PLT_FIRST_ENTRY_SIZE) / PLT_ENTRY_SIZE;
3094 got_offset = (plt_index + 3) * GOT_ENTRY_SIZE;
3098 (PLT_ENTRY_SIZE * plt_index) + 18) / 2);
3178 bfd_put_32 (output_bfd, plt_index * sizeof (Elf32_External_Rela),
3196 loc = htab->srelplt->contents + plt_index * sizeof (Elf32_External_Rela);
H A Delf32-m88k.c1791 bfd_vma plt_index; local
1812 plt_index = (h->plt.offset - PLT_ENTRY0_SIZE) / PLT_ENTRY_SIZE;
1817 got_offset = (plt_index + 3) * 4;
1829 dyn_offset = plt_index * sizeof (Elf32_External_Rela);
1857 + plt_index * sizeof (Elf32_External_Rela));
H A Delf64-x86-64.c2454 bfd_vma plt_index; in elf64_x86_64_finish_dynamic_symbol() local
2471 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; in elf64_x86_64_finish_dynamic_symbol()
2476 got_offset = (plt_index + 3) * GOT_ENTRY_SIZE; in elf64_x86_64_finish_dynamic_symbol()
2497 bfd_put_32 (output_bfd, plt_index, in elf64_x86_64_finish_dynamic_symbol()
2516 loc = htab->srelplt->contents + plt_index * sizeof (Elf64_External_Rela); in elf64_x86_64_finish_dynamic_symbol()
H A Delf64-sh64.c3782 bfd_vma plt_index; in sh64_elf64_finish_dynamic_symbol() local
3801 plt_index = h->plt.offset / elf_sh64_sizeof_plt (info) - 1; in sh64_elf64_finish_dynamic_symbol()
3806 got_offset = (plt_index + 3) * 8; in sh64_elf64_finish_dynamic_symbol()
3855 plt_index * sizeof (Elf64_External_Rela), in sh64_elf64_finish_dynamic_symbol()
3874 loc = srel->contents + plt_index * sizeof (Elf64_External_Rela); in sh64_elf64_finish_dynamic_symbol()
H A Delf32-i386.c2955 bfd_vma plt_index; in elf_i386_finish_dynamic_symbol() local
2973 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; in elf_i386_finish_dynamic_symbol()
2978 got_offset = (plt_index + 3) * 4; in elf_i386_finish_dynamic_symbol()
2999 bfd_put_32 (output_bfd, plt_index * sizeof (Elf32_External_Rel), in elf_i386_finish_dynamic_symbol()
3017 loc = htab->srelplt->contents + plt_index * sizeof (Elf32_External_Rel); in elf_i386_finish_dynamic_symbol()
H A Delf32-m32r.c3245 bfd_vma plt_index; local
3263 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1;
3268 got_offset = (plt_index + 3) * 4;
3289 + plt_index * sizeof (Elf32_External_Rela)),
3307 + plt_index * sizeof (Elf32_External_Rela)),
3330 loc += plt_index * sizeof(Elf32_External_Rela);
H A Delf-m10300.c4545 bfd_vma plt_index; local
4563 plt_index = ((h->plt.offset - elf_mn10300_sizeof_plt0 (info))
4569 got_offset = (plt_index + 3) * 4;
4598 bfd_put_32 (output_bfd, plt_index * sizeof (Elf32_External_Rela),
4618 + plt_index));
H A Delf32-sh.c6972 bfd_vma plt_index; in sh_elf_finish_dynamic_symbol() local
6991 plt_index = h->plt.offset / elf_sh_sizeof_plt (info) - 1; in sh_elf_finish_dynamic_symbol()
6996 got_offset = (plt_index + 3) * 4; in sh_elf_finish_dynamic_symbol()
7069 plt_index * sizeof (Elf32_External_Rela), in sh_elf_finish_dynamic_symbol()
7073 bfd_put_32 (output_bfd, plt_index * sizeof (Elf32_External_Rela), in sh_elf_finish_dynamic_symbol()
7095 loc = srel->contents + plt_index * sizeof (Elf32_External_Rela); in sh_elf_finish_dynamic_symbol()
H A Delf32-arm.h3708 bfd_vma plt_index; local
3728 plt_index = (h->plt.offset - PLT_HEADER_SIZE) / PLT_ENTRY_SIZE;
3733 got_offset = (plt_index + 3) * 4;
3770 loc = srel->contents + plt_index * sizeof (Elf32_External_Rel);
/openbsd/gnu/usr.bin/binutils-2.17/bfd/
H A Delf32-vax.c1396 bfd_vma plt_index; in elf_vax_relocate_section() local
1586 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; in elf_vax_relocate_section()
1591 got_offset = (plt_index + 3) * 4; in elf_vax_relocate_section()
1827 bfd_vma plt_index; in elf_vax_finish_dynamic_symbol() local
1849 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; in elf_vax_finish_dynamic_symbol()
1854 got_offset = (plt_index + 3) * 4; in elf_vax_finish_dynamic_symbol()
1865 bfd_put_32 (output_bfd, plt_index * sizeof (Elf32_External_Rela), in elf_vax_finish_dynamic_symbol()
1881 loc = srela->contents + plt_index * sizeof (Elf32_External_Rela); in elf_vax_finish_dynamic_symbol()
H A Delf32-m68k.c1932 bfd_vma plt_index; local
1952 plt_index = (h->plt.offset / PLT_CPU32_ENTRY_SIZE) - 1;
1954 plt_index = (h->plt.offset / CFV4E_PLT_ENTRY_SIZE) - 1;
1956 plt_index = (h->plt.offset / PLT_ENTRY_SIZE) - 1;
1961 got_offset = (plt_index + 3) * 4;
2000 bfd_put_32 (output_bfd, plt_index * sizeof (Elf32_External_Rela),
2019 loc = srela->contents + plt_index * sizeof (Elf32_External_Rela);
H A Delf32-s390.c2370 bfd_vma plt_index; local
2374 plt_index = (h->plt.offset - PLT_FIRST_ENTRY_SIZE) /
2379 relocation = (plt_index + 3) * GOT_ENTRY_SIZE;
3104 bfd_vma plt_index; local
3120 plt_index = (h->plt.offset - PLT_FIRST_ENTRY_SIZE) / PLT_ENTRY_SIZE;
3124 got_offset = (plt_index + 3) * GOT_ENTRY_SIZE;
3128 (PLT_ENTRY_SIZE * plt_index) + 18) / 2);
3208 bfd_put_32 (output_bfd, plt_index * sizeof (Elf32_External_Rela),
3226 loc = htab->srelplt->contents + plt_index * sizeof (Elf32_External_Rela);
H A Delf64-s390.c2343 bfd_vma plt_index; local
2347 plt_index = (h->plt.offset - PLT_FIRST_ENTRY_SIZE) /
2352 relocation = (plt_index + 3) * GOT_ENTRY_SIZE;
3102 bfd_vma plt_index; local
3118 plt_index = (h->plt.offset - PLT_FIRST_ENTRY_SIZE) / PLT_ENTRY_SIZE;
3122 got_offset = (plt_index + 3) * GOT_ENTRY_SIZE;
3149 (PLT_ENTRY_SIZE * plt_index) + 22)/2,
3152 bfd_put_32 (output_bfd, plt_index * sizeof (Elf64_External_Rela),
3170 loc = htab->srelplt->contents + plt_index * sizeof (Elf64_External_Rela);
H A Delf32-m88k.c1785 bfd_vma plt_index; local
1806 plt_index = (h->plt.offset - PLT_ENTRY0_SIZE) / PLT_ENTRY_SIZE;
1811 got_offset = (plt_index + 3) * 4;
1823 dyn_offset = plt_index * sizeof (Elf32_External_Rela);
1851 + plt_index * sizeof (Elf32_External_Rela));
H A Delf64-x86-64.c2175 bfd_vma plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; in elf64_x86_64_relocate_section() local
2176 off = (plt_index + 3) * GOT_ENTRY_SIZE; in elf64_x86_64_relocate_section()
3075 bfd_vma plt_index; in elf64_x86_64_finish_dynamic_symbol() local
3092 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; in elf64_x86_64_finish_dynamic_symbol()
3097 got_offset = (plt_index + 3) * GOT_ENTRY_SIZE; in elf64_x86_64_finish_dynamic_symbol()
3118 bfd_put_32 (output_bfd, plt_index, in elf64_x86_64_finish_dynamic_symbol()
3137 loc = htab->srelplt->contents + plt_index * sizeof (Elf64_External_Rela); in elf64_x86_64_finish_dynamic_symbol()
H A Delf32-m32r.c3191 bfd_vma plt_index; in m32r_elf_finish_dynamic_symbol() local
3209 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; in m32r_elf_finish_dynamic_symbol()
3214 got_offset = (plt_index + 3) * 4; in m32r_elf_finish_dynamic_symbol()
3235 + plt_index * sizeof (Elf32_External_Rela)), in m32r_elf_finish_dynamic_symbol()
3253 + plt_index * sizeof (Elf32_External_Rela)), in m32r_elf_finish_dynamic_symbol()
3276 loc += plt_index * sizeof (Elf32_External_Rela); in m32r_elf_finish_dynamic_symbol()
H A Delf64-sh64.c3718 bfd_vma plt_index; in sh64_elf64_finish_dynamic_symbol() local
3737 plt_index = h->plt.offset / elf_sh64_sizeof_plt (info) - 1; in sh64_elf64_finish_dynamic_symbol()
3742 got_offset = (plt_index + 3) * 8; in sh64_elf64_finish_dynamic_symbol()
3791 plt_index * sizeof (Elf64_External_Rela), in sh64_elf64_finish_dynamic_symbol()
3810 loc = srel->contents + plt_index * sizeof (Elf64_External_Rela); in sh64_elf64_finish_dynamic_symbol()
H A Delf-m10300.c4356 bfd_vma plt_index; local
4374 plt_index = ((h->plt.offset - elf_mn10300_sizeof_plt0 (info))
4380 got_offset = (plt_index + 3) * 4;
4409 bfd_put_32 (output_bfd, plt_index * sizeof (Elf32_External_Rela),
4429 + plt_index));
H A Delf32-i386.c3482 bfd_vma plt_index; in elf_i386_finish_dynamic_symbol() local
3500 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1; in elf_i386_finish_dynamic_symbol()
3505 got_offset = (plt_index + 3) * 4; in elf_i386_finish_dynamic_symbol()
3562 bfd_put_32 (output_bfd, plt_index * sizeof (Elf32_External_Rel), in elf_i386_finish_dynamic_symbol()
3580 loc = htab->srelplt->contents + plt_index * sizeof (Elf32_External_Rel); in elf_i386_finish_dynamic_symbol()
H A Delf32-sh.c6783 bfd_vma plt_index; in sh_elf_finish_dynamic_symbol() local
6802 plt_index = h->plt.offset / elf_sh_sizeof_plt (info) - 1; in sh_elf_finish_dynamic_symbol()
6807 got_offset = (plt_index + 3) * 4; in sh_elf_finish_dynamic_symbol()
6880 plt_index * sizeof (Elf32_External_Rela), in sh_elf_finish_dynamic_symbol()
6884 bfd_put_32 (output_bfd, plt_index * sizeof (Elf32_External_Rela), in sh_elf_finish_dynamic_symbol()
6906 loc = srel->contents + plt_index * sizeof (Elf32_External_Rela); in sh_elf_finish_dynamic_symbol()
H A Delf64-alpha.c4596 bfd_vma plt_index; in elf64_alpha_finish_dynamic_symbol() local
4626 plt_index = (gotent->plt_offset-PLT_HEADER_SIZE) / PLT_ENTRY_SIZE; in elf64_alpha_finish_dynamic_symbol()
4636 plt_index = ((gotent->plt_offset - NEW_PLT_HEADER_SIZE) in elf64_alpha_finish_dynamic_symbol()
4650 plt_index = ((gotent->plt_offset - OLD_PLT_HEADER_SIZE) in elf64_alpha_finish_dynamic_symbol()
4659 loc = srel->contents + plt_index * sizeof (Elf64_External_Rela); in elf64_alpha_finish_dynamic_symbol()
H A Delf32-arm.c6940 bfd_vma plt_index; in elf32_arm_finish_dynamic_symbol() local
6971 plt_index = ((h->plt.offset - htab->plt_header_size) in elf32_arm_finish_dynamic_symbol()
6992 plt_index = (got_offset - 12) / 4; in elf32_arm_finish_dynamic_symbol()
7015 val |= plt_index * RELOC_SIZE (htab); in elf32_arm_finish_dynamic_symbol()
7033 val |= plt_index * RELOC_SIZE (htab); in elf32_arm_finish_dynamic_symbol()
7039 + (plt_index * 2 + 1) * RELOC_SIZE (htab)); in elf32_arm_finish_dynamic_symbol()
7104 loc = srel->contents + plt_index * RELOC_SIZE (htab); in elf32_arm_finish_dynamic_symbol()

12