Lines Matching defs:plt

534   0, 0, 0, 0	/* replaced with offset to start of .plt.  */
555 0, 0, 0, 0 /* replaced with offset to start of .plt. */
558 /* On VxWorks, the .rel.plt.unloaded section has absolute relocations
666 /* The (unloaded but important) .rel.plt.unloaded section on VxWorks. */
672 /* Value used to fill the last word of the first plt entry. */
675 /* The index of the next unused R_386_TLS_DESC slot in .rel.plt. */
781 htab->sgotplt = bfd_get_section_by_name (dynobj, ".got.plt");
797 /* Create .plt, .rel.plt, .got, .got.plt, .rel.got, .dynbss, and
813 htab->splt = bfd_get_section_by_name (dynobj, ".plt");
814 htab->srelplt = bfd_get_section_by_name (dynobj, ".rel.plt");
1000 h->plt.refcount += 1;
1137 /* We may need a .plt entry if the function this reloc
1139 h->plt.refcount += 1;
1399 if (h->plt.refcount > 0)
1400 h->plt.refcount -= 1;
1431 if (h->plt.refcount <= 0
1441 h->plt.offset = (bfd_vma) -1;
1448 /* It's possible that we incorrectly decided a .plt reloc was
1453 h->plt.offset = (bfd_vma) -1;
1548 /* Allocate space in .plt, .got and associated reloc sections for
1572 && h->plt.refcount > 0)
1588 /* If this is the first .plt entry, make room for the special
1593 h->plt.offset = s->size;
1597 location in the .plt. This is required to make function
1604 h->root.u.def.value = h->plt.offset;
1610 /* We also need to make an entry in the .got.plt section, which
1614 /* We also need to make an entry in the .rel.plt section. */
1628 if (h->plt.offset == PLT_ENTRY_SIZE)
1640 h->plt.offset = (bfd_vma) -1;
1646 h->plt.offset = (bfd_vma) -1;
1731 function rather than going via the plt. If people want
1973 /* Allocate global sym .plt and .got entries, and space for global
2028 .rel.plt. We must create both sections in
2483 calculation. We always want the start of .got.plt. If we
2507 if (h->plt.offset == (bfd_vma) -1
2518 + h->plt.offset);
3372 if (h->plt.offset != (bfd_vma) -1)
3390 in all the symbols for which we are making plt entries. The
3392 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1;
3402 memcpy (htab->splt->contents + h->plt.offset, elf_i386_plt_entry,
3408 htab->splt->contents + h->plt.offset + 2);
3418 s = (h->plt.offset - PLT_ENTRY_SIZE) / PLT_ENTRY_SIZE;
3432 + h->plt.offset + 2),
3448 memcpy (htab->splt->contents + h->plt.offset, elf_i386_pic_plt_entry,
3451 htab->splt->contents + h->plt.offset + 2);
3455 htab->splt->contents + h->plt.offset + 7);
3456 bfd_put_32 (output_bfd, - (h->plt.offset + PLT_ENTRY_SIZE),
3457 htab->splt->contents + h->plt.offset + 12);
3463 + h->plt.offset
3467 /* Fill in the entry in the .rel.plt section. */
3478 the .plt section. Leave the value if there were any
3648 If .rel.plt is the first .rel section, we adjust
3715 /* UnixWare sets the entsize of .plt to 4, although that doesn't
3720 /* Correct the .rel.plt.unloaded relocations. */
3775 elf_i386_plt_sym_val (bfd_vma i, const asection *plt,
3778 return plt->vma + (i + 1) * PLT_ENTRY_SIZE;
3786 if (h->plt.offset != (bfd_vma) -1