| /freebsd-12.1/contrib/llvm/lib/Object/ |
| H A D | ELFObjectFile.cpp | 359 Optional<SectionRef> Plt = None, RelaPlt = None, GotPlt = None; in getPltAddresses() local 365 Plt = Section; in getPltAddresses() 371 if (!Plt || !RelaPlt || !GotPlt) in getPltAddresses() 374 if (Plt->getContents(PltContents)) in getPltAddresses() 377 Plt->getSize()); in getPltAddresses() 378 auto PltEntries = MIA->findPltEntries(Plt->getAddress(), PltBytes, in getPltAddresses()
|
| /freebsd-12.1/contrib/llvm/tools/lld/ELF/Arch/ |
| H A D | X86_64.cpp | 148 uint64_t Plt = In.Plt->getVA(); in writePltHeader() local 149 write32le(Buf + 2, GotPlt - Plt + 2); // GOTPLT+8 in writePltHeader() 150 write32le(Buf + 8, GotPlt - Plt + 4); // GOTPLT+16 in writePltHeader() 600 uint64_t Plt = In.Plt->getVA(); in writePltHeader() local 601 write32le(Buf + 2, GotPlt - Plt - 6 + 8); in writePltHeader() 602 write32le(Buf + 9, GotPlt - Plt - 13 + 16); in writePltHeader()
|
| H A D | AArch64.cpp | 157 write64le(Buf, In.Plt->getVA()); in writeGotPlt() 174 uint64_t Plt = In.Plt->getVA(); in writePltHeader() local 176 getAArch64Page(Got + 16) - getAArch64Page(Plt + 4)); in writePltHeader()
|
| H A D | Mips.cpp | 191 uint64_t VA = In.Plt->getVA(); in writeGotPlt() 246 uint64_t Plt = In.Plt->getVA(); in writePltHeader() local 261 relocateOne(Buf, R_MICROMIPS_PC19_S2, GotPlt - Plt); in writePltHeader() 266 relocateOne(Buf, R_MICROMIPS_PC23_S2, GotPlt - Plt); in writePltHeader()
|
| H A D | ARM.cpp | 155 write32le(Buf, In.Plt->getVA()); in writeGotPlt() 177 uint64_t L1 = In.Plt->getVA() + 8; in writePltHeaderLong() 195 uint64_t Offset = In.GotPlt->getVA() - In.Plt->getVA() - 4; in writePltHeader()
|
| H A D | Hexagon.cpp | 269 uint64_t Off = In.GotPlt->getVA() - In.Plt->getVA(); in writePltHeader()
|
| H A D | PPC64.cpp | 517 int64_t GotPltOffset = In.GotPlt->getVA() - (In.Plt->getVA() + 8); in writePltHeader()
|
| /freebsd-12.1/contrib/llvm/tools/lld/ELF/ |
| H A D | Symbols.cpp | 148 PltSection *Plt = IsInIplt ? In.Iplt : In.Plt; in getPltVA() local 149 return Plt->getVA() + Plt->HeaderSize + PltIndex * Target->PltEntrySize; in getPltVA()
|
| H A D | Relocations.cpp | 764 static void addPltEntry(PltSection *Plt, GotPltSection *GotPlt, in addPltEntry() argument 766 Plt->addEntry<ELFT>(Sym); in addPltEntry() 969 addPltEntry<ELFT>(In.Plt, In.GotPlt, In.RelaPlt, Target->PltRel, Sym); in processRelocAux() 971 replaceWithDefined(Sym, In.Plt, getPltEntryOffset(Sym.PltIndex), 0); in processRelocAux() 1063 addPltEntry<ELFT>(In.Plt, In.GotPlt, In.RelaPlt, Target->PltRel, Sym); in scanReloc()
|
| H A D | Writer.cpp | 412 In.Plt = make<PltSection>(false); in createSyntheticSections() 413 Add(In.Plt); in createSyntheticSections() 1671 if (In.Plt && !In.Plt->empty()) in finalizeSections() 1672 In.Plt->addSymbols(); in finalizeSections() 1787 finalizeSynthetic(In.Plt); in finalizeSections()
|
| H A D | SyntheticSections.cpp | 1360 addInSec(DT_PLTGOT, In.Plt); in finalizeContents() 1435 if (Config->EMachine == EM_PPC64 && !In.Plt->empty()) { in finalizeContents() 1440 return In.Plt->getVA(0) + Offset; in finalizeContents() 2334 uint64_t Plt = this->getVA() + Off; in writeTo() local 2335 Target->writePlt(Buf + Off, Got, Plt, B->PltIndex, RelOff); in writeTo() 2370 return IsIplt ? In.Plt->getSize() : 0; in getPltRelocOff()
|
| H A D | SyntheticSections.h | 1018 PltSection *Plt; member
|
| /freebsd-12.1/contrib/llvm/tools/llvm-objdump/ |
| H A D | llvm-objdump.cpp | 1273 Optional<SectionRef> Plt = None; in addPltEntries() local 1279 Plt = Section; in addPltEntries() 1281 if (!Plt) in addPltEntries() 1295 AllSymbols[*Plt].emplace_back(PltEntry.second, Name, SymbolType); in addPltEntries()
|