Lines Matching refs:plt

658   get_elf_i386_backend_data (abfd)->plt->plt_entry_size
691 const struct elf_i386_plt_layout *plt; member
1545 h->plt.refcount += 1; in elf_i386_check_relocs()
1694 h->plt.refcount += 1; in elf_i386_check_relocs()
1951 if (h->plt.refcount > 0) in elf_i386_gc_sweep_hook()
1952 h->plt.refcount -= 1; in elf_i386_gc_sweep_hook()
1973 if (h->plt.refcount > 0) in elf_i386_gc_sweep_hook()
1974 h->plt.refcount -= 1; in elf_i386_gc_sweep_hook()
1983 if (h->plt.refcount > 0) in elf_i386_gc_sweep_hook()
1984 h->plt.refcount -= 1; in elf_i386_gc_sweep_hook()
2039 if (h->plt.refcount <= 0) in elf_i386_adjust_dynamic_symbol()
2040 h->plt.refcount = 1; in elf_i386_adjust_dynamic_symbol()
2042 h->plt.refcount += 1; in elf_i386_adjust_dynamic_symbol()
2046 if (h->plt.refcount <= 0) in elf_i386_adjust_dynamic_symbol()
2048 h->plt.offset = (bfd_vma) -1; in elf_i386_adjust_dynamic_symbol()
2060 if (h->plt.refcount <= 0 in elf_i386_adjust_dynamic_symbol()
2070 h->plt.offset = (bfd_vma) -1; in elf_i386_adjust_dynamic_symbol()
2082 h->plt.offset = (bfd_vma) -1; in elf_i386_adjust_dynamic_symbol()
2201 && h->plt.refcount > 0) in elf_i386_allocate_dynrelocs()
2222 h->plt.offset = s->size; in elf_i386_allocate_dynrelocs()
2233 h->root.u.def.value = h->plt.offset; in elf_i386_allocate_dynrelocs()
2258 if (h->plt.offset == plt_entry_size) in elf_i386_allocate_dynrelocs()
2270 h->plt.offset = (bfd_vma) -1; in elf_i386_allocate_dynrelocs()
2276 h->plt.offset = (bfd_vma) -1; in elf_i386_allocate_dynrelocs()
3333 asection *plt, *gotplt, *base_got; in elf_i386_relocate_section() local
3338 || h->plt.offset == (bfd_vma) -1) in elf_i386_relocate_section()
3344 plt = htab->elf.splt; in elf_i386_relocate_section()
3349 plt = htab->elf.iplt; in elf_i386_relocate_section()
3353 relocation = (plt->output_section->vma in elf_i386_relocate_section()
3354 + plt->output_offset + h->plt.offset); in elf_i386_relocate_section()
3440 plt_index = h->plt.offset / plt_entry_size - 1; in elf_i386_relocate_section()
3446 plt_index = h->plt.offset / plt_entry_size; in elf_i386_relocate_section()
3664 if (h->plt.offset == (bfd_vma) -1 in elf_i386_relocate_section()
3675 + h->plt.offset); in elf_i386_relocate_section()
4434 if (h->plt.offset != (bfd_vma) -1) in elf_i386_finish_dynamic_symbol()
4440 asection *plt, *gotplt, *relplt; in elf_i386_finish_dynamic_symbol() local
4446 plt = htab->elf.splt; in elf_i386_finish_dynamic_symbol()
4452 plt = htab->elf.iplt; in elf_i386_finish_dynamic_symbol()
4464 || plt == NULL in elf_i386_finish_dynamic_symbol()
4480 if (plt == htab->elf.splt) in elf_i386_finish_dynamic_symbol()
4482 got_offset = h->plt.offset / plt_entry_size - 1; in elf_i386_finish_dynamic_symbol()
4487 got_offset = h->plt.offset / plt_entry_size; in elf_i386_finish_dynamic_symbol()
4494 memcpy (plt->contents + h->plt.offset, abed->plt->plt_entry, in elf_i386_finish_dynamic_symbol()
4495 abed->plt->plt_entry_size); in elf_i386_finish_dynamic_symbol()
4500 plt->contents + h->plt.offset in elf_i386_finish_dynamic_symbol()
4501 + abed->plt->plt_got_offset); in elf_i386_finish_dynamic_symbol()
4511 s = ((h->plt.offset - abed->plt->plt_entry_size) in elf_i386_finish_dynamic_symbol()
4512 / abed->plt->plt_entry_size); in elf_i386_finish_dynamic_symbol()
4526 + h->plt.offset + 2), in elf_i386_finish_dynamic_symbol()
4542 memcpy (plt->contents + h->plt.offset, abed->plt->pic_plt_entry, in elf_i386_finish_dynamic_symbol()
4543 abed->plt->plt_entry_size); in elf_i386_finish_dynamic_symbol()
4545 plt->contents + h->plt.offset in elf_i386_finish_dynamic_symbol()
4546 + abed->plt->plt_got_offset); in elf_i386_finish_dynamic_symbol()
4551 (plt->output_section->vma in elf_i386_finish_dynamic_symbol()
4552 + plt->output_offset in elf_i386_finish_dynamic_symbol()
4553 + h->plt.offset in elf_i386_finish_dynamic_symbol()
4554 + abed->plt->plt_lazy_offset), in elf_i386_finish_dynamic_symbol()
4588 if (plt == htab->elf.splt) in elf_i386_finish_dynamic_symbol()
4591 plt->contents + h->plt.offset in elf_i386_finish_dynamic_symbol()
4592 + abed->plt->plt_reloc_offset); in elf_i386_finish_dynamic_symbol()
4593 bfd_put_32 (output_bfd, - (h->plt.offset in elf_i386_finish_dynamic_symbol()
4594 + abed->plt->plt_plt_offset + 4), in elf_i386_finish_dynamic_symbol()
4595 plt->contents + h->plt.offset in elf_i386_finish_dynamic_symbol()
4596 + abed->plt->plt_plt_offset); in elf_i386_finish_dynamic_symbol()
4646 asection *plt; in elf_i386_finish_dynamic_symbol() local
4654 plt = htab->elf.splt ? htab->elf.splt : htab->elf.iplt; in elf_i386_finish_dynamic_symbol()
4656 (plt->output_section->vma in elf_i386_finish_dynamic_symbol()
4657 + plt->output_offset + h->plt.offset), in elf_i386_finish_dynamic_symbol()
4828 memcpy (htab->elf.splt->contents, abed->plt->pic_plt0_entry, in elf_i386_finish_dynamic_sections()
4829 abed->plt->plt0_entry_size); in elf_i386_finish_dynamic_sections()
4830 memset (htab->elf.splt->contents + abed->plt->plt0_entry_size, in elf_i386_finish_dynamic_sections()
4832 abed->plt->plt_entry_size - abed->plt->plt0_entry_size); in elf_i386_finish_dynamic_sections()
4836 memcpy (htab->elf.splt->contents, abed->plt->plt0_entry, in elf_i386_finish_dynamic_sections()
4837 abed->plt->plt0_entry_size); in elf_i386_finish_dynamic_sections()
4838 memset (htab->elf.splt->contents + abed->plt->plt0_entry_size, in elf_i386_finish_dynamic_sections()
4840 abed->plt->plt_entry_size - abed->plt->plt0_entry_size); in elf_i386_finish_dynamic_sections()
4846 + abed->plt->plt0_got1_offset); in elf_i386_finish_dynamic_sections()
4852 + abed->plt->plt0_got2_offset); in elf_i386_finish_dynamic_sections()
4863 + abed->plt->plt0_got1_offset); in elf_i386_finish_dynamic_sections()
4870 + abed->plt->plt0_got2_offset); in elf_i386_finish_dynamic_sections()
4887 / abed->plt->plt_entry_size) - 1; in elf_i386_finish_dynamic_sections()
4979 elf_i386_plt_sym_val (bfd_vma i, const asection *plt, in elf_i386_plt_sym_val() argument
4982 return plt->vma + (i + 1) * GET_PLT_ENTRY_SIZE (plt->owner); in elf_i386_plt_sym_val()
4990 if (h->plt.offset != (bfd_vma) -1 in elf_i386_hash_symbol()