Home
last modified time | relevance | path

Searched refs:gotPlt (Results 1 – 16 of 16) sorted by relevance

/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DX86.cpp206 uint32_t gotPlt = in.gotPlt->getVA(); in writePltHeader() local
207 write32le(buf + 2, gotPlt + 4); in writePltHeader()
208 write32le(buf + 8, gotPlt + 8); in writePltHeader()
221 write32le(buf + 2, sym.getGotPltVA() - in.gotPlt->getVA()); in writePlt()
548 write32le(buf + 6, sym.getGotPltVA() - in.gotPlt->getVA()); in writePlt()
645 uint32_t ebx = in.gotPlt->getVA(); in writePlt()
685 uint32_t gotPlt = in.gotPlt->getVA(); in writePltHeader() local
686 write32le(buf + 2, gotPlt + 4); in writePltHeader()
687 write32le(buf + 8, gotPlt + 8); in writePltHeader()
H A DMips.cpp260 uint64_t gotPlt = in.gotPlt->getVA(); in writePltHeader() local
276 relocateNoSym(buf, R_MICROMIPS_PC19_S2, gotPlt - plt); in writePltHeader()
281 relocateNoSym(buf, R_MICROMIPS_PC23_S2, gotPlt - plt); in writePltHeader()
313 uint64_t gotPlt = in.gotPlt->getVA(); in writePltHeader() local
314 writeValue(buf, gotPlt + 0x8000, 16, 16); in writePltHeader()
315 writeValue(buf + 4, gotPlt, 16, 0); in writePltHeader()
316 writeValue(buf + 8, gotPlt, 16, 0); in writePltHeader()
H A DX86_64.cpp435 uint64_t gotPlt = in.gotPlt->getVA(); in writePltHeader() local
437 write32le(buf + 2, gotPlt - plt + 2); // GOTPLT+8 in writePltHeader()
438 write32le(buf + 8, gotPlt - plt + 4); // GOTPLT+16 in writePltHeader()
1165 uint64_t gotPlt = in.gotPlt->getVA(); in writePltHeader() local
1167 write32le(buf + 2, gotPlt - plt - 6 + 8); in writePltHeader()
1168 write32le(buf + 9, gotPlt - plt - 13 + 16); in writePltHeader()
H A DARM.cpp226 uint64_t gotPlt = in.gotPlt->getVA(); in writePltHeaderLong() local
228 write32(buf + 16, gotPlt - l1 - 8); in writePltHeaderLong()
252 uint64_t offset = in.gotPlt->getVA() - in.plt->getVA() - 16; in writePltHeader()
280 uint64_t offset = in.gotPlt->getVA() - in.plt->getVA() - 4; in writePltHeader()
H A DHexagon.cpp376 uint64_t off = in.gotPlt->getVA() - in.plt->getVA(); in writePltHeader()
H A DAArch64.cpp346 uint64_t got = in.gotPlt->getVA(); in writePltHeader()
1004 uint64_t got = in.gotPlt->getVA(); in writePltHeader()
H A DLoongArch.cpp344 uint32_t offset = in.gotPlt->getVA() - in.plt->getVA(); in writePltHeader()
H A DPPC64.cpp1158 int64_t gotPltOffset = in.gotPlt->getVA() - (in.plt->getVA() + 8); in writePltHeader()
H A DRISCV.cpp233 uint32_t offset = in.gotPlt->getVA() - in.plt->getVA(); in writePltHeader()
/freebsd/contrib/llvm-project/lld/ELF/
H A DThunks.cpp436 PPC64R12SetupStub(Symbol &dest, bool gotPlt) in PPC64R12SetupStub() argument
437 : Thunk(dest, 0), gotPlt(gotPlt) { in PPC64R12SetupStub()
447 bool gotPlt; member in __anon1c3bcd6e0111::PPC64R12SetupStub
1194 int64_t offset = (gotPlt ? destination.getGotPltVA() : destination.getVA()) - in writeTo()
1204 buf, (gotPlt ? PLD_R12_NO_DISP : PADDI_R12_NO_DISP) | imm); in writeTo()
1214 if (gotPlt) in writeTo()
1225 addSymbol(saver().save((gotPlt ? "__plt_pcrel_" : "__gep_setup_") + in addSymbols()
H A DInputSection.cpp750 return in.gotPlt->getVA() + a - p; in getRelocTargetVA()
755 return sym.getVA(a) - in.gotPlt->getVA(); in getRelocTargetVA()
758 return sym.getGotVA() + a - in.gotPlt->getVA(); in getRelocTargetVA()
865 return sym.getPltVA() + a - in.gotPlt->getVA(); in getRelocTargetVA()
917 return in.got->getTlsDescAddr(sym) + a - in.gotPlt->getVA(); in getRelocTargetVA()
925 return in.got->getGlobalDynAddr(sym) + a - in.gotPlt->getVA(); in getRelocTargetVA()
931 return in.got->getVA() + in.got->getTlsIndexOff() + a - in.gotPlt->getVA(); in getRelocTargetVA()
H A DRelocations.cpp914 static void addPltEntry(PltSection &plt, GotPltSection &gotPlt, in addPltEntry() argument
917 gotPlt.addEntry(sym); in addPltEntry()
918 rel.addReloc({type, &gotPlt, sym.getGotPltOffset(), in addPltEntry()
1525 in.gotPlt->hasGotPltOffRel.store(true, std::memory_order_relaxed); in scanOne()
1784 addPltEntry(*in.plt, *in.gotPlt, *in.relaPlt, target->pltRel, sym); in postScanRelocations()
2392 addPltEntry(*in.plt, *in.gotPlt, *in.relaPlt, target->pltRel, in hexagonTLSSymbolUpdate()
H A DSyntheticSections.cpp1436 addInSec(DT_MIPS_PLTGOT, *in.gotPlt); in computeContents()
1450 addInSec(DT_PLTGOT, *in.gotPlt); in computeContents()
1460 addInSec(DT_PLTGOT, *in.gotPlt); in computeContents()
1684 if (in.relaPlt.get() == this && in.gotPlt->getParent()) { in finalizeContents()
1686 getParent()->info = in.gotPlt->getParent()->sectionIndex; in finalizeContents()
4467 gotPlt.reset(); in reset()
4849 in.gotPlt = std::make_unique<GotPltSection>(); in createSyntheticSections()
4850 add(*in.gotPlt); in createSyntheticSections()
4871 in.gotPlt->hasGotPltOffRel = true; in createSyntheticSections()
H A DSymbols.cpp176 return in.gotPlt->getVA() + getGotPltOffset(); in getGotPltVA()
H A DWriter.cpp596 if (sec == in.gotPlt->getParent()) in isRelroSection()
817 InputSection *sec = in.gotPlt.get(); in setReservedSymbolSections()
1971 finalizeSynthetic(in.gotPlt.get()); in finalizeSections()
H A DSyntheticSections.h1491 std::unique_ptr<GotPltSection> gotPlt; member