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

/freebsd-current/contrib/llvm-project/lld/ELF/Arch/
H A DX86.cpp206 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 DMips.cpp260 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 DX86_64.cpp432 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 DARM.cpp226 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 DHexagon.cpp364 uint64_t off = in.gotPlt->getVA() - in.plt->getVA();
H A DAArch64.cpp257 uint64_t got = in.gotPlt->getVA();
904 uint64_t got = in.gotPlt->getVA();
H A DLoongArch.cpp335 uint32_t offset = in.gotPlt->getVA() - in.plt->getVA();
H A DPPC64.cpp1158 int64_t gotPltOffset = in.gotPlt->getVA() - (in.plt->getVA() + 8);
H A DRISCV.cpp233 uint32_t offset = in.gotPlt->getVA() - in.plt->getVA();
/freebsd-current/contrib/llvm-project/lld/ELF/
H A DThunks.cpp436 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 DInputSection.cpp700 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 DRelocations.cpp911 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 DSymbols.cpp176 return in.gotPlt->getVA() + getGotPltOffset();
H A DSyntheticSections.cpp1420 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 DWriter.cpp517 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 DSyntheticSections.h1344 std::unique_ptr<GotPltSection> gotPlt;

Completed in 152 milliseconds