/freebsd-current/contrib/llvm-project/lld/ELF/Arch/ |
H A D | X86.cpp | 206 uint32_t gotPlt = in.gotPlt->getVA(); local 207 write32le(buf + 2, gotPlt + 4); 208 write32le(buf + 8, gotPlt + 8); 221 write32le(buf + 2, sym.getGotPltVA() - in.gotPlt->getVA()); 548 write32le(buf + 6, sym.getGotPltVA() - in.gotPlt->getVA()); 645 uint32_t ebx = in.gotPlt->getVA(); 685 uint32_t gotPlt = in.gotPlt->getVA(); local 686 write32le(buf + 2, gotPlt [all...] |
H A D | Mips.cpp | 260 uint64_t gotPlt = in.gotPlt->getVA(); local 276 relocateNoSym(buf, R_MICROMIPS_PC19_S2, gotPlt - plt); 281 relocateNoSym(buf, R_MICROMIPS_PC23_S2, gotPlt - plt); 313 uint64_t gotPlt = in.gotPlt->getVA(); local 314 writeValue(buf, gotPlt + 0x8000, 16, 16); 315 writeValue(buf + 4, gotPlt, 16, 0); 316 writeValue(buf + 8, gotPlt, 16, 0);
|
H A D | X86_64.cpp | 432 uint64_t gotPlt = in.gotPlt->getVA(); local 434 write32le(buf + 2, gotPlt - plt + 2); // GOTPLT+8 435 write32le(buf + 8, gotPlt - plt + 4); // GOTPLT+16 1162 uint64_t gotPlt = in.gotPlt->getVA(); local 1164 write32le(buf + 2, gotPlt - plt - 6 + 8); 1165 write32le(buf + 9, gotPlt - plt - 13 + 16);
|
H A D | ARM.cpp | 226 uint64_t gotPlt = in.gotPlt->getVA(); local 228 write32(buf + 16, gotPlt - l1 - 8); 245 uint64_t offset = in.gotPlt->getVA() - in.plt->getVA() - 4;
|
H A D | Hexagon.cpp | 364 uint64_t off = in.gotPlt->getVA() - in.plt->getVA();
|
H A D | AArch64.cpp | 257 uint64_t got = in.gotPlt->getVA(); 904 uint64_t got = in.gotPlt->getVA();
|
H A D | LoongArch.cpp | 335 uint32_t offset = in.gotPlt->getVA() - in.plt->getVA();
|
H A D | PPC64.cpp | 1158 int64_t gotPltOffset = in.gotPlt->getVA() - (in.plt->getVA() + 8);
|
H A D | RISCV.cpp | 233 uint32_t offset = in.gotPlt->getVA() - in.plt->getVA();
|
/freebsd-current/contrib/llvm-project/lld/ELF/ |
H A D | Thunks.cpp | 436 PPC64R12SetupStub(Symbol &dest, bool gotPlt) argument 437 : Thunk(dest, 0), gotPlt(gotPlt) { 447 bool gotPlt; member in class:__anon1318::final 1194 int64_t offset = (gotPlt ? destination.getGotPltVA() : destination.getVA()) - 1204 buf, (gotPlt ? PLD_R12_NO_DISP : PADDI_R12_NO_DISP) | imm); 1214 if (gotPlt) 1225 addSymbol(saver().save((gotPlt ? "__plt_pcrel_" : "__gep_setup_") + 1438 ? (Thunk *)make<PPC64R12SetupStub>(s, /*gotPlt=*/true) 1448 return make<PPC64R12SetupStub>(s, /*gotPlt [all...] |
H A D | InputSection.cpp | 700 return in.gotPlt->getVA() + a - p; 705 return sym.getVA(a) - in.gotPlt->getVA(); 708 return sym.getGotVA() + a - in.gotPlt->getVA(); 815 return sym.getPltVA() + a - in.gotPlt->getVA(); 867 return in.got->getTlsDescAddr(sym) + a - in.gotPlt->getVA(); 873 return in.got->getGlobalDynAddr(sym) + a - in.gotPlt->getVA(); 879 return in.got->getVA() + in.got->getTlsIndexOff() + a - in.gotPlt->getVA();
|
H A D | Relocations.cpp | 911 static void addPltEntry(PltSection &plt, GotPltSection &gotPlt, argument 914 gotPlt.addEntry(sym); 915 rel.addReloc({type, &gotPlt, sym.getGotPltOffset(), 1475 in.gotPlt->hasGotPltOffRel.store(true, std::memory_order_relaxed); 1708 addPltEntry(*in.plt, *in.gotPlt, *in.relaPlt, target->pltRel, sym); 2316 addPltEntry(*in.plt, *in.gotPlt, *in.relaPlt, target->pltRel,
|
H A D | Symbols.cpp | 176 return in.gotPlt->getVA() + getGotPltOffset();
|
H A D | SyntheticSections.cpp | 1420 addInSec(DT_MIPS_PLTGOT, *in.gotPlt); 1434 addInSec(DT_PLTGOT, *in.gotPlt); 1444 addInSec(DT_PLTGOT, *in.gotPlt); 1667 if (in.relaPlt.get() == this && in.gotPlt->getParent()) { 1669 getParent()->info = in.gotPlt->getParent()->sectionIndex; 3847 gotPlt.reset();
|
H A D | Writer.cpp | 517 in.gotPlt = std::make_unique<GotPltSection>(); 518 add(*in.gotPlt); 538 in.gotPlt->hasGotPltOffRel = true; 882 if (sec == in.gotPlt->getParent()) 1094 InputSection *sec = in.gotPlt.get(); 2181 finalizeSynthetic(in.gotPlt.get());
|
H A D | SyntheticSections.h | 1344 std::unique_ptr<GotPltSection> gotPlt;
|