Home
last modified time | relevance | path

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

/external/llvm-project/lld/ELF/Arch/
DX86.cpp214 uint32_t gotPlt = in.gotPlt->getVA(); in writePltHeader() local
215 write32le(buf + 2, gotPlt + 4); in writePltHeader()
216 write32le(buf + 8, gotPlt + 8); in writePltHeader()
229 write32le(buf + 2, sym.getGotPltVA() - in.gotPlt->getVA()); in writePlt()
450 write32le(buf + 6, sym.getGotPltVA() - in.gotPlt->getVA()); in writePlt()
547 uint32_t ebx = in.gotPlt->getVA(); in writePlt()
587 uint32_t gotPlt = in.gotPlt->getVA(); in writePltHeader() local
588 write32le(buf + 2, gotPlt + 4); in writePltHeader()
589 write32le(buf + 8, gotPlt + 8); in writePltHeader()
DMips.cpp262 uint64_t gotPlt = in.gotPlt->getVA(); in writePltHeader() local
278 relocateNoSym(buf, R_MICROMIPS_PC19_S2, gotPlt - plt); in writePltHeader()
283 relocateNoSym(buf, R_MICROMIPS_PC23_S2, gotPlt - plt); in writePltHeader()
315 uint64_t gotPlt = in.gotPlt->getVA(); in writePltHeader() local
316 writeValue(buf, gotPlt + 0x8000, 16, 16); in writePltHeader()
317 writeValue(buf + 4, gotPlt, 16, 0); in writePltHeader()
318 writeValue(buf + 8, gotPlt, 16, 0); in writePltHeader()
DX86_64.cpp388 uint64_t gotPlt = in.gotPlt->getVA(); in writePltHeader() local
390 write32le(buf + 2, gotPlt - plt + 2); // GOTPLT+8 in writePltHeader()
391 write32le(buf + 8, gotPlt - plt + 4); // GOTPLT+16 in writePltHeader()
1013 uint64_t gotPlt = in.gotPlt->getVA(); in writePltHeader() local
1015 write32le(buf + 2, gotPlt - plt - 6 + 8); in writePltHeader()
1016 write32le(buf + 9, gotPlt - plt - 13 + 16); in writePltHeader()
DARM.cpp193 uint64_t gotPlt = in.gotPlt->getVA(); in writePltHeaderLong() local
195 write32le(buf + 16, gotPlt - l1 - 8); in writePltHeaderLong()
212 uint64_t offset = in.gotPlt->getVA() - in.plt->getVA() - 4; in writePltHeader()
DAArch64.cpp211 uint64_t got = in.gotPlt->getVA(); in writePltHeader()
633 uint64_t got = in.gotPlt->getVA(); in writePltHeader()
DHexagon.cpp362 uint64_t off = in.gotPlt->getVA() - in.plt->getVA(); in writePltHeader()
DRISCV.cpp159 uint32_t offset = in.gotPlt->getVA() - in.plt->getVA(); in writePltHeader()
DPPC64.cpp1084 int64_t gotPltOffset = in.gotPlt->getVA() - (in.plt->getVA() + 8); in writePltHeader()
/external/llvm-project/lld/ELF/
DRelocations.cpp1065 static void addPltEntry(PltSection *plt, GotPltSection *gotPlt, in addPltEntry() argument
1068 gotPlt->addEntry(sym); in addPltEntry()
1070 {type, gotPlt, sym.getGotPltOffset(), !sym.isPreemptible, &sym, 0}); in addPltEntry()
1243 addPltEntry(in.plt, in.gotPlt, in.relaPlt, target->pltRel, sym); in processRelocAux()
1393 in.gotPlt->hasGotPltOffRel = true; in scanReloc()
1420 addPltEntry(in.plt, in.gotPlt, in.relaPlt, target->pltRel, sym); in scanReloc()
2060 addPltEntry(in.plt, in.gotPlt, in.relaPlt, target->pltRel, in hexagonTLSSymbolUpdate()
DInputSection.cpp692 return in.gotPlt->getVA() + a - p; in getRelocTargetVA()
697 return sym.getVA(a) - in.gotPlt->getVA(); in getRelocTargetVA()
700 return sym.getGotVA() + a - in.gotPlt->getVA(); in getRelocTargetVA()
840 return in.got->getVA() + in.got->getGlobalDynOffset(sym) + a - in.gotPlt->getVA(); in getRelocTargetVA()
844 return in.got->getVA() + in.got->getTlsIndexOff() + a - in.gotPlt->getVA(); in getRelocTargetVA()
DWriter.cpp516 in.gotPlt = make<GotPltSection>(); in createSyntheticSections()
517 add(in.gotPlt); in createSyntheticSections()
525 in.gotPlt->hasGotPltOffRel = true; in createSyntheticSections()
885 if (sec == in.gotPlt->getParent()) in isRelroSection()
1136 InputSection *gotSection = in.gotPlt; in setReservedSymbolSections()
2137 finalizeSynthetic(in.gotPlt); in finalizeSections()
DSymbols.cpp168 return in.gotPlt->getVA() + getGotPltOffset(); in getGotPltVA()
DSyntheticSections.h1207 GotPltSection *gotPlt; member
DSyntheticSections.cpp1434 addInSec(DT_MIPS_PLTGOT, in.gotPlt); in finalizeContents()
1440 addInSec(DT_PLTGOT, in.gotPlt); in finalizeContents()
1615 getParent()->info = in.gotPlt->getParent()->sectionIndex; in finalizeContents()