Home
last modified time | relevance | path

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

/llvm-project-15.0.7/lld/ELF/Arch/
H A DX86.cpp215 uint32_t gotPlt = in.gotPlt->getVA(); in writePltHeader() local
216 write32le(buf + 2, gotPlt + 4); in writePltHeader()
217 write32le(buf + 8, gotPlt + 8); in writePltHeader()
230 write32le(buf + 2, sym.getGotPltVA() - in.gotPlt->getVA()); in writePlt()
517 write32le(buf + 6, sym.getGotPltVA() - in.gotPlt->getVA()); in writePlt()
614 uint32_t ebx = in.gotPlt->getVA(); in writePlt()
654 uint32_t gotPlt = in.gotPlt->getVA(); in writePltHeader() local
655 write32le(buf + 2, gotPlt + 4); in writePltHeader()
656 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.cpp403 uint64_t gotPlt = in.gotPlt->getVA(); in writePltHeader() local
405 write32le(buf + 2, gotPlt - plt + 2); // GOTPLT+8 in writePltHeader()
406 write32le(buf + 8, gotPlt - plt + 4); // GOTPLT+16 in writePltHeader()
1086 uint64_t gotPlt = in.gotPlt->getVA(); in writePltHeader() local
1088 write32le(buf + 2, gotPlt - plt - 6 + 8); in writePltHeader()
1089 write32le(buf + 9, gotPlt - plt - 13 + 16); in writePltHeader()
H A DARM.cpp207 uint64_t gotPlt = in.gotPlt->getVA(); in writePltHeaderLong() local
209 write32le(buf + 16, gotPlt - l1 - 8); in writePltHeaderLong()
226 uint64_t offset = in.gotPlt->getVA() - in.plt->getVA() - 4; in writePltHeader()
H A DHexagon.cpp364 uint64_t off = in.gotPlt->getVA() - in.plt->getVA(); in writePltHeader()
H A DAArch64.cpp230 uint64_t got = in.gotPlt->getVA(); in writePltHeader()
807 uint64_t got = in.gotPlt->getVA(); in writePltHeader()
H A DRISCV.cpp207 uint32_t offset = in.gotPlt->getVA() - in.plt->getVA(); in writePltHeader()
H A DPPC64.cpp1103 int64_t gotPltOffset = in.gotPlt->getVA() - (in.plt->getVA() + 8); in writePltHeader()
/llvm-project-15.0.7/lld/ELF/
H A DInputSection.cpp636 return in.gotPlt->getVA() + a - p; in getRelocTargetVA()
641 return sym.getVA(a) - in.gotPlt->getVA(); in getRelocTargetVA()
644 return sym.getGotVA() + a - in.gotPlt->getVA(); in getRelocTargetVA()
739 return sym.getPltVA() + a - in.gotPlt->getVA(); in getRelocTargetVA()
789 return in.got->getTlsDescAddr(sym) + a - in.gotPlt->getVA(); in getRelocTargetVA()
795 return in.got->getGlobalDynAddr(sym) + a - in.gotPlt->getVA(); in getRelocTargetVA()
799 return in.got->getVA() + in.got->getTlsIndexOff() + a - in.gotPlt->getVA(); in getRelocTargetVA()
H A DRelocations.cpp887 static void addPltEntry(PltSection &plt, GotPltSection &gotPlt, in addPltEntry() argument
890 gotPlt.addEntry(sym); in addPltEntry()
891 rel.addReloc({type, &gotPlt, sym.getGotPltOffset(), in addPltEntry()
1369 in.gotPlt->hasGotPltOffRel = true; in scanOne()
1611 addPltEntry(*in.plt, *in.gotPlt, *in.relaPlt, target->pltRel, sym); in postScanRelocations()
2219 addPltEntry(*in.plt, *in.gotPlt, *in.relaPlt, target->pltRel, in hexagonTLSSymbolUpdate()
H A DWriter.cpp471 in.gotPlt = std::make_unique<GotPltSection>(); in createSyntheticSections()
472 add(*in.gotPlt); in createSyntheticSections()
480 in.gotPlt->hasGotPltOffRel = true; in createSyntheticSections()
818 if (sec == in.gotPlt->getParent()) in isRelroSection()
1050 InputSection *sec = in.gotPlt.get(); in setReservedSymbolSections()
2103 finalizeSynthetic(in.gotPlt.get()); in finalizeSections()
H A DSymbols.cpp171 return in.gotPlt->getVA() + getGotPltOffset(); in getGotPltVA()
H A DSyntheticSections.cpp1444 addInSec(DT_MIPS_PLTGOT, *in.gotPlt); in computeContents()
1457 addInSec(DT_PLTGOT, *in.gotPlt); in computeContents()
1681 if (in.relaPlt.get() == this && in.gotPlt->getParent()) { in finalizeContents()
1683 getParent()->info = in.gotPlt->getParent()->sectionIndex; in finalizeContents()
3838 gotPlt.reset(); in reset()
H A DSyntheticSections.h1266 std::unique_ptr<GotPltSection> gotPlt; member