reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lld/ELF/Arch/PPC.cpp
   83   uint32_t got = in.got->getVA();
tools/lld/ELF/Arch/PPC64.cpp
   68   uint64_t tocVA = in.got->getVA();
tools/lld/ELF/InputSection.cpp
  665     return in.got->getVA() + a - p;
  670     return sym.getVA(a) - in.got->getVA();
  801     return in.got->getGlobalDynAddr(sym) + a;
  803     return in.got->getGlobalDynAddr(sym) + a - p;
  805     return getAArch64Page(in.got->getGlobalDynAddr(sym) + a) -
  808     return in.got->getGlobalDynOffset(sym) + a;
  810     return in.got->getVA() + in.got->getGlobalDynOffset(sym) + a - in.gotPlt->getVA();
  810     return in.got->getVA() + in.got->getGlobalDynOffset(sym) + a - in.gotPlt->getVA();
  812     return in.got->getGlobalDynAddr(sym) + a - p;
  814     return in.got->getVA() + in.got->getTlsIndexOff() + a - in.gotPlt->getVA();
  814     return in.got->getVA() + in.got->getTlsIndexOff() + a - in.gotPlt->getVA();
  816     return in.got->getTlsIndexOff() + a;
  818     return in.got->getTlsIndexVA() + a - p;
tools/lld/ELF/Relocations.cpp
  169     if (in.got->addDynTlsEntry(sym)) {
  170       uint64_t off = in.got->getGlobalDynOffset(sym);
  172           {target->tlsDescRel, in.got, off, !sym.isPreemptible, &sym, 0});
  205     if (in.got->addTlsIndex()) {
  207         in.got->relocations.push_back(
  208             {R_ADDEND, target->symbolicRel, in.got->getTlsIndexOff(), 1, &sym});
  210         mainPart->relaDyn->addReloc(target->tlsModuleIndexRel, in.got,
  211                                 in.got->getTlsIndexOff(), nullptr);
  229       in.got->addEntry(sym);
  231       in.got->relocations.push_back(
  241       if (in.got->addDynTlsEntry(sym)) {
  242         uint64_t off = in.got->getGlobalDynOffset(sym);
  246           in.got->relocations.push_back(
  249           mainPart->relaDyn->addReloc(target->tlsModuleIndexRel, in.got, off, &sym);
  255           mainPart->relaDyn->addReloc(target->tlsOffsetRel, in.got, offsetOff,
  258           in.got->relocations.push_back(
  272         in.got->addEntry(sym);
  273         mainPart->relaDyn->addReloc(target->tlsGotRel, in.got, sym.getGotOffset(),
  963   in.got->addEntry(sym);
  978     in.got->relocations.push_back({expr, target->symbolicRel, off, 0, &sym});
  985     addRelativeReloc(in.got, off, &sym, 0, R_ABS, target->symbolicRel);
  989       sym.isTls() ? target->tlsGotRel : target->gotRel, in.got, off, &sym, 0,
 1249     in.got->hasGotOffRel = true;
tools/lld/ELF/Symbols.cpp
  148   return in.got->getVA() + getGotOffset();
tools/lld/ELF/SyntheticSections.cpp
 1481     add(DT_PPC_GOT, [] { return in.got->getVA(); });
tools/lld/ELF/Thunks.cpp
  730     offset = destination.getGotPltVA() - in.got->getVA();
tools/lld/ELF/Writer.cpp
  470     in.got = make<GotSection>();
  471     add(in.got);
  495       in.got->hasGotOffRel = true;
  776   if (in.got && sec == in.got->getParent())
  776   if (in.got && sec == in.got->getParent())
 1044                               : cast<InputSection>(in.got);
 1880   finalizeSynthetic(in.got);