• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10/cxxfilt-11/cxxfilt/bfd/

Lines Matching refs:plt

119 /* The initial size of the plt reserved for the dynamic linker.  */
129 /* .plt call stub instructions. The normal stub is like this, but
130 sometimes the .plt entry crosses a 64k boundary and we need to
2571 { STRING_COMMA_LEN (".plt"), 0, SHT_NOBITS, 0 },
3071 different: The call goes via a plt call stub, the opd information gets
3072 copied to the plt, and the linker patches the nop.
3089 . .section .plt
3098 sym .foo, while the dynamic relocation in the plt is emitted against
3173 } plt;
3197 presents a problem as a plt entry for that function is also
3222 the plt entry referenced crosses a 64k boundary, then an extra
3398 asection *plt;
3923 htab->plt = bfd_get_section_by_name (dynobj, ".plt");
3924 htab->relplt = bfd_get_section_by_name (dynobj, ".rela.plt");
3929 if (!htab->got || !htab->plt || !htab->relplt || !htab->dynbss
3942 if (from->elf.plt.plist != NULL)
3944 if (to->elf.plt.plist != NULL)
3949 for (entp = &from->elf.plt.plist; (ent = *entp) != NULL; )
3953 for (dent = to->elf.plt.plist; dent != NULL; dent = dent->next)
3956 dent->plt.refcount += ent->plt.refcount;
3963 *entp = to->elf.plt.plist;
3966 to->elf.plt.plist = from->elf.plt.plist;
3967 from->elf.plt.plist = NULL;
4068 /* And plt entries. */
4368 for (ent = eh->elf.plt.plist; ent != NULL; ent = ent->next)
4377 ent->next = eh->elf.plt.plist;
4379 ent->plt.refcount = 0;
4380 eh->elf.plt.plist = ent;
4382 ent->plt.refcount += 1;
4654 /* We may need a .plt entry if the function this reloc
5249 /* Update the .got, .plt. and dynamic reloc reference counts for the
5374 for (ent = h->plt.plist; ent != NULL; ent = ent->next)
5379 if (ent->plt.refcount > 0)
5380 ent->plt.refcount -= 1;
5663 for (ent = fh->elf.plt.plist; ent != NULL; ent = ent->next)
5664 if (ent->plt.refcount > 0)
5820 won't need a .plt entry. */
5822 for (ent = h->plt.plist; ent != NULL; ent = ent->next)
5823 if (ent->plt.refcount > 0)
5830 h->plt.plist = NULL;
5835 h->plt.plist = NULL;
5885 if (h->plt.plist != NULL)
5893 (_("copy reloc against `%s' requires lazy plt linking; "
6985 for (ent = h->plt.plist; ent; ent = ent->next)
6988 if (ent->plt.refcount > 0)
6989 ent->plt.refcount -= 1;
7597 /* Allocate space in .plt, .got and associated reloc sections for
7625 for (pent = h->plt.plist; pent != NULL; pent = pent->next)
7626 if (pent->plt.refcount > 0)
7628 /* If this is the first .plt entry, make room for the special
7630 s = htab->plt;
7634 pent->plt.offset = s->size;
7648 /* We also need to make an entry in the .rela.plt section. */
7654 pent->plt.offset = (bfd_vma) -1;
7657 h->plt.plist = NULL;
7663 h->plt.plist = NULL;
7746 resolve directly to the function rather than going via the plt.
7983 /* Allocate global sym .plt and .got entries, and space for global
7999 || s == htab->plt
8028 .rela.plt. We must create both sections in
8103 if (htab->plt != NULL && htab->plt->size != 0)
8169 for (ent = fdh->elf.plt.plist; ent != NULL; ent = ent->next)
8171 && ent->plt.offset != (bfd_vma) -1)
8178 /* Here, we know we don't have a plt entry. If we don't have a
8212 /* Build a .plt call stub. */
8469 for (ent = stub_entry->h->elf.plt.plist; ent != NULL; ent = ent->next)
8472 off = ent->plt.offset;
8479 off += (htab->plt->output_offset
8480 + htab->plt->output_section->vma
8481 - elf_gp (htab->plt->output_section->owner)
8566 for (ent = stub_entry->h->elf.plt.plist; ent != NULL; ent = ent->next)
8569 off = ent->plt.offset & ~(bfd_vma) 1;
8574 off += (htab->plt->output_offset
8575 + htab->plt->output_section->vma
8576 - elf_gp (htab->plt->output_section->owner)
8594 /* Reset the stub type from the plt variant in case we now
8823 /* Calls to dynamic lib functions go through a plt call stub
8825 using old-style dot symbols that can be satisfied by a plt
8832 && eh->oh->elf.plt.plist != NULL)
9083 more than 2097152 bytes, or nearly 75000 plt call stubs. */
9474 /* The TOC consists of sections .got, .toc, .tocbss, .plt in that
9482 s = bfd_get_section_by_name (obfd, ".plt");
9558 /* Build the .glink plt call stub. */
9578 plt0 = (htab->plt->output_section->vma
9579 + htab->plt->output_offset
9689 " plt call %lu"),
10300 && fdh->elf.plt.plist != NULL)
10301 || (fdh = h)->elf.plt.plist != NULL))
10699 if (htab->plt != NULL)
10702 for (ent = h->elf.plt.plist; ent != NULL; ent = ent->next)
10704 && ent->plt.offset != (bfd_vma) -1)
10706 relocation = (htab->plt->output_section->vma
10707 + htab->plt->output_offset
10708 + ent->plt.offset);
10729 The TOC consists of sections .got, .toc, .tocbss, and .plt,
11254 for (ent = h->plt.plist; ent != NULL; ent = ent->next)
11255 if (ent->plt.offset != (bfd_vma) -1)
11260 if (htab->plt == NULL
11267 rela.r_offset = (htab->plt->output_section->vma
11268 + htab->plt->output_offset
11269 + ent->plt.offset);
11274 loc += ((ent->plt.offset - PLT_INITIAL_ENTRY_SIZE) / PLT_ENTRY_SIZE
11391 s = htab->plt;
11415 If .rela.plt is the first .rela section, we adjust
11442 if (htab->plt != NULL && htab->plt->size != 0)
11444 /* Set .plt entry size. */
11445 elf_section_data (htab->plt->output_section)->this_hdr.sh_entsize