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

Lines Matching refs:plt

347   0, 0, 0, 0,		/* offset to .plt.got + 4 */
349 0, 0, 0, 0, /* offset to .plt.got + 8 */
358 0, 0, 0, 0, /* replaced with offset to start of .plt */
359 0, 0, 0, 0, /* index into .rela.plt */
665 if (h->plt.refcount == -1)
666 h->plt.refcount = 1;
668 h->plt.refcount++;
692 /* Make sure a plt entry is created for this symbol if
695 if (h->plt.refcount == -1)
696 h->plt.refcount = 1;
698 h->plt.refcount++;
708 /* Make sure a plt entry is created for this symbol if it
710 if (h->plt.refcount == -1)
711 h->plt.refcount = 1;
713 h->plt.refcount++;
889 if (h != NULL && h->plt.refcount > 0)
890 --h->plt.refcount;
935 /* We must always create the plt entry if it was referenced
946 h->plt.offset = (bfd_vma) -1;
951 if (h->plt.refcount <= 0)
954 h->plt.offset = (bfd_vma) -1;
965 s = bfd_get_section_by_name (dynobj, ".plt");
968 /* If this is the first .plt entry, make room for the special
977 location in the .plt. This is required to make function
987 h->plt.offset = s->size;
992 /* We also need to make an entry in the .got.plt section, which
995 s = bfd_get_section_by_name (dynobj, ".got.plt");
999 /* We also need to make an entry in the .rela.plt section. */
1001 s = bfd_get_section_by_name (dynobj, ".rela.plt");
1008 /* Reinitialize the plt offset now that it is not used as a reference
1010 h->plt.offset = (bfd_vma) -1;
1099 bfd_boolean plt;
1127 s = bfd_get_section_by_name (dynobj, ".got.plt");
1154 plt = FALSE;
1168 if (strcmp (name, ".plt") == 0)
1171 plt = s->size != 0;
1180 than .rela.plt. */
1181 if (strcmp (name, ".rela.plt") != 0)
1189 entry. .rela.plt is actually associated with
1190 .got.plt, which is never readonly. */
1216 .rela.plt. We must create both sections in
1252 if (plt)
1321 if (h->got.refcount <= 0 && h->plt.refcount <= 0)
1336 h->plt.refcount = 0;
1337 h->plt.offset = (bfd_vma) -1;
1439 && h->plt.offset != (bfd_vma) -1
1541 if (h->plt.offset == (bfd_vma) -1
1552 splt = bfd_get_section_by_name (dynobj, ".plt");
1558 sgotplt = bfd_get_section_by_name (dynobj, ".got.plt");
1562 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1;
1569 /* We want the relocate to point into the .got.plt instead
1570 of the plt itself. */
1577 h->plt.offset |= 1;
1810 if (h->plt.offset != (bfd_vma) -1)
1825 splt = bfd_get_section_by_name (dynobj, ".plt");
1826 sgot = bfd_get_section_by_name (dynobj, ".got.plt");
1827 srela = bfd_get_section_by_name (dynobj, ".rela.plt");
1830 addend = 2 * (h->plt.offset & 1);
1831 h->plt.offset &= ~1;
1835 in all the symbols for which we are making plt entries. The
1837 plt_index = h->plt.offset / PLT_ENTRY_SIZE - 1;
1845 memcpy (splt->contents + h->plt.offset, elf_vax_plt_entry,
1850 -(h->plt.offset + 8),
1851 splt->contents + h->plt.offset + 4);
1854 splt->contents + h->plt.offset + 8);
1860 + h->plt.offset) + addend,
1863 /* Fill in the entry in the .rela.plt section. */
1875 the .plt section. Leave the value alone. */
1963 sgot = bfd_get_section_by_name (dynobj, ".got.plt");
1972 splt = bfd_get_section_by_name (dynobj, ".plt");
1994 name = ".rela.plt";
2003 s = bfd_get_section_by_name (output_bfd, ".rela.plt");
2014 linker script arranges for .rela.plt to follow all
2017 s = bfd_get_section_by_name (output_bfd, ".rela.plt");