/external/llvm-project/lld/ELF/Arch/ |
D | X86.cpp | 214 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()
|
D | Mips.cpp | 262 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()
|
D | X86_64.cpp | 388 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()
|
D | ARM.cpp | 193 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()
|
D | AArch64.cpp | 211 uint64_t got = in.gotPlt->getVA(); in writePltHeader() 633 uint64_t got = in.gotPlt->getVA(); in writePltHeader()
|
D | Hexagon.cpp | 362 uint64_t off = in.gotPlt->getVA() - in.plt->getVA(); in writePltHeader()
|
D | RISCV.cpp | 159 uint32_t offset = in.gotPlt->getVA() - in.plt->getVA(); in writePltHeader()
|
D | PPC64.cpp | 1084 int64_t gotPltOffset = in.gotPlt->getVA() - (in.plt->getVA() + 8); in writePltHeader()
|
/external/llvm-project/lld/ELF/ |
D | Relocations.cpp | 1065 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()
|
D | InputSection.cpp | 692 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()
|
D | Writer.cpp | 516 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()
|
D | Symbols.cpp | 168 return in.gotPlt->getVA() + getGotPltOffset(); in getGotPltVA()
|
D | SyntheticSections.h | 1207 GotPltSection *gotPlt; member
|
D | SyntheticSections.cpp | 1434 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()
|