Lines Matching defs:plt

906       htab->sgotplt = bfd_get_section_by_name (dynobj, ".got.plt");
914 /* Create .plt, .rela.plt, .got, .rela.got, .dynbss, and
931 htab->splt = bfd_get_section_by_name (dynobj, ".plt");
932 htab->srelplt = bfd_get_section_by_name (dynobj, ".rela.plt");
1329 h->plt.refcount += 1;
1384 /* We may need a .plt entry if the function this reloc
1386 h->plt.refcount += 1;
1680 if (h->plt.refcount > 0)
1681 h->plt.refcount--;
1732 if (h->plt.refcount <= 0
1744 h->plt.offset = (bfd_vma) -1;
1751 h->plt.offset = (bfd_vma) -1;
1828 /* Allocate space in .plt, .got and associated reloc sections for
1852 && h->plt.refcount > 0)
1872 /* Allocate space for the .rela.plt.unloaded relocations. */
1894 h->plt.offset = (s->size - (off * 8));
1897 h->plt.offset = s->size;
1901 location in the .plt. This is required to make function
1908 h->root.u.def.value = h->plt.offset;
1914 /* We also need to make an entry in the .rela.plt section. */
1919 /* Allocate space for the .got.plt entry. */
1922 /* ...and for the .rela.plt.unloaded relocations. */
1929 h->plt.offset = (bfd_vma) -1;
1935 h->plt.offset = (bfd_vma) -1;
2222 /* Allocate global sym .plt and .got entries, and space for global
2230 /* Make space for the trailing nop in .plt. */
2279 .rela.plt. We must create both sections in
2294 for the benefit of .rela.plt, which has 4 unused entries
2668 if (h == NULL || h->plt.offset == (bfd_vma) -1)
2699 if (h->plt.offset == (bfd_vma) -1 || htab->splt == NULL)
2709 + h->plt.offset);
3541 and PLT_OFFSET is the byte offset from the start of .plt. GOT_OFFSET
3542 is the offset of the associated .got.plt entry from
3591 /* Fill in the .got.plt entry, pointing initially at the
3600 /* Add relocations to .rela.plt.unloaded. */
3621 /* Relocate the .got.plt entry. */
3648 if (h->plt.offset != (bfd_vma) -1)
3665 /* Fill in the entry in the .rela.plt section. */
3669 rela_index = ((h->plt.offset - htab->plt_header_size)
3672 /* Calculate the offset of the associated .got.plt entry.
3676 sparc_vxworks_build_plt_entry (output_bfd, info, h->plt.offset,
3680 /* On VxWorks, the relocation points to the .got.plt entry,
3681 not the .plt entry. */
3691 h->plt.offset, splt->size,
3697 || h->plt.offset < (PLT64_LARGE_THRESHOLD * PLT64_ENTRY_SIZE))
3703 rela.r_addend = (-(h->plt.offset + 4)
3710 /* Adjust for the first 4 reserved elements in the .plt section
3711 when setting the offset in the .rela.plt section.
3713 thus .plt[4] has corresponding .rela.plt[0] and so on. */
3722 the .plt section. Leave the value alone. */
3799 ".got" section. Likewise _PROCEDURE_LINKAGE_TABLE_ and ".plt". */
3838 in .rela.plt. */
3872 case DT_PLTGOT: name = ".plt"; size = FALSE; break;
3873 case DT_PLTRELSZ: name = ".rela.plt"; size = TRUE; break;
3874 case DT_JMPREL: name = ".rela.plt"; size = FALSE; break;
3900 .rela.plt.unloaded relocations have the correct symbol indexes. */
3950 /* Fix up the remaining .rela.plt.unloaded relocations. They may have
3969 /* The .got.plt entry (against _P_L_T_). */
4007 splt = bfd_get_section_by_name (dynobj, ".plt");
4013 /* Initialize the contents of the .plt section. */
4100 _bfd_sparc_elf_plt_sym_val (bfd_vma i, const asection *plt, const arelent *rel)
4102 if (ABI_64_P (plt->owner))
4108 return plt->vma + i * PLT64_ENTRY_SIZE;
4112 return plt->vma + i * PLT64_ENTRY_SIZE + j * 4 * 6;