Lines Matching defs:plt

583   htab->sgotplt = bfd_get_section_by_name (dynobj, ".got.plt");
599 /* Create .plt, .rela.plt, .got, .got.plt, .rela.got, .dynbss, and
615 htab->splt = bfd_get_section_by_name (dynobj, ".plt");
616 htab->srelplt = bfd_get_section_by_name (dynobj, ".rela.plt");
844 h->plt.refcount += 1;
934 h->plt.refcount += 1;
943 h->plt.refcount += 1;
984 /* We may need a .plt entry if the function this reloc
986 h->plt.refcount += 1;
1238 if (r_type == R_X86_64_GOTPLT64 && h->plt.refcount > 0)
1239 h->plt.refcount -= 1;
1267 if (h->plt.refcount > 0)
1268 h->plt.refcount -= 1;
1299 if (h->plt.refcount <= 0
1309 h->plt.offset = (bfd_vma) -1;
1316 /* It's possible that we incorrectly decided a .plt reloc was
1321 h->plt.offset = (bfd_vma) -1;
1414 /* Allocate space in .plt, .got and associated reloc sections for
1435 && h->plt.refcount > 0)
1451 /* If this is the first .plt entry, make room for the special
1456 h->plt.offset = s->size;
1460 location in the .plt. This is required to make function
1467 h->root.u.def.value = h->plt.offset;
1473 /* We also need to make an entry in the .got.plt section, which
1477 /* We also need to make an entry in the .rela.plt section. */
1483 h->plt.offset = (bfd_vma) -1;
1489 h->plt.offset = (bfd_vma) -1;
1572 function rather than going via the plt. If people want
1815 /* Allocate global sym .plt and .got entries, and space for global
1883 .rela.plt. We must create both sections in
2148 GOT offset is relative to .got.plt, not to .got. */
2160 && h->plt.offset != (bfd_vma)-1
2167 bfd_vma plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1;
2280 calculation. We always want the start of .got.plt. If we
2301 && h->plt.offset != (bfd_vma) -1
2306 + h->plt.offset);
2323 if (h->plt.offset == (bfd_vma) -1
2334 + h->plt.offset);
2534 .word 0x6666; rex64; call __tls_get_addr@plt
2814 .word 0x6666; rex64; call __tls_get_addr@plt
2925 leaq foo@tlsld(%rip), %rdi; call __tls_get_addr@plt.
3066 if (h->plt.offset != (bfd_vma) -1)
3083 in all the symbols for which we are making plt entries. The
3085 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1;
3093 memcpy (htab->splt->contents + h->plt.offset, elf64_x86_64_plt_entry,
3096 /* Insert the relocation positions of the plt section. The magic
3098 relocations in the plt section. */
3107 - h->plt.offset
3109 htab->splt->contents + h->plt.offset + 2);
3112 htab->splt->contents + h->plt.offset + 7);
3114 bfd_put_32 (output_bfd, - (h->plt.offset + PLT_ENTRY_SIZE),
3115 htab->splt->contents + h->plt.offset + 12);
3121 + h->plt.offset + 6),
3124 /* Fill in the entry in the .rela.plt section. */
3136 the .plt section. Leave the value if there were any
3296 linker script arranges for .rela.plt to follow all
3421 elf64_x86_64_plt_sym_val (bfd_vma i, const asection *plt,
3424 return plt->vma + (i + 1) * PLT_ENTRY_SIZE;
3617 if (h->plt.offset != (bfd_vma) -1