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

References

tools/lld/ELF/Arch/RISCV.cpp
  161   write32le(buf + 24, itype(load, X_T0, X_T0, config->wordsize));
  241   const unsigned bits = config->wordsize * 8;
tools/lld/ELF/Driver.cpp
 1104   config->wordsize = config->is64 ? 8 : 4;
tools/lld/ELF/EhFrame.cpp
  125     return config->wordsize;
tools/lld/ELF/InputSection.cpp
  626     return s.getVA(0) + config->wordsize * 2 +
  627            ((tls->p_vaddr - config->wordsize * 2) & (tls->p_align - 1));
  923   const unsigned bits = config->wordsize * 8;
tools/lld/ELF/Relocations.cpp
  253         uint64_t offsetOff = off + config->wordsize;
tools/lld/ELF/Symbols.cpp
  151 uint64_t Symbol::getGotOffset() const { return gotIndex * config->wordsize; }
  161     return pltIndex * config->wordsize;
  162   return (pltIndex + target->gotPltHeaderEntriesNum) * config->wordsize;
  167   return ppc64BranchltIndex * config->wordsize;
  185          ppc64BranchltIndex * config->wordsize;
tools/lld/ELF/SyntheticSections.cpp
  451   size_t aligned = alignTo(d.size(), config->wordsize);
  487     off += alignTo(rec->cie->size, config->wordsize);
  491       off += alignTo(fde->size, config->wordsize);
  600     : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_PROGBITS, config->wordsize,
  628   tlsIndexOff = numEntries * config->wordsize;
  634   return this->getVA() + b.globalDynIndex * config->wordsize;
  638   return b.globalDynIndex * config->wordsize;
  642   size = numEntries * config->wordsize;
  742   return index * config->wordsize;
  750     return g.tls.lookup(sym) * config->wordsize;
  752     return g.global.lookup(sym) * config->wordsize;
  753   return g.local16.lookup({sym, addend}) * config->wordsize;
  758   return g.dynTlsSymbols.lookup(nullptr) * config->wordsize;
  765   return g.dynTlsSymbols.lookup(sym) * config->wordsize;
  798   if (count * config->wordsize > config->mipsGotSize)
  808   size = headerEntriesNum * config->wordsize;
  810     size += g.getEntriesNum() * config->wordsize;
  943       uint64_t offset = p.second * config->wordsize;
  949       uint64_t offset = p.second * config->wordsize;
  966         offset += config->wordsize;
  978       uint64_t offset = p.second * config->wordsize;
  988         uint64_t offset = (l.second.firstIndex + pi) * config->wordsize;
  994       uint64_t offset = p.second * config->wordsize;
 1013   return getVA() + gots[*f->mipsGotIndex].startIndex * config->wordsize +
 1032   writeUint(buf + config->wordsize, (uint64_t)1 << (config->wordsize * 8 - 1));
 1032   writeUint(buf + config->wordsize, (uint64_t)1 << (config->wordsize * 8 - 1));
 1038       writeUint(buf + i * config->wordsize, va);
 1084     : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_PROGBITS, config->wordsize,
 1100   return (target->gotPltHeaderEntriesNum + entries.size()) * config->wordsize;
 1105   buf += target->gotPltHeaderEntriesNum * config->wordsize;
 1108     buf += config->wordsize;
 1136                        config->wordsize, getIgotPltName()) {}
 1144   return entries.size() * config->wordsize;
 1150     buf += config->wordsize;
 1194     : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_DYNAMIC, config->wordsize,
 1531     : SyntheticSection(SHF_ALLOC, type, config->wordsize, name),
 1577                        config->wordsize, ".relr.dyn") {}
 1716     } while (i != e && (i - 1)->r_offset + config->wordsize == i->r_offset);
 1802     add(config->wordsize);
 1870   this->entsize = config->wordsize;
 1971                        config->wordsize,
 2270     : SyntheticSection(SHF_ALLOC, SHT_GNU_HASH, config->wordsize, ".gnu.hash") {
 2283     maskWords = NextPowerOf2(numBits / (config->wordsize * 8));
 2287   size += config->wordsize * maskWords; // Bloom filter
 2307   buf += config->wordsize * maskWords;
 2324     uint64_t val = readUint(buf + i * config->wordsize);
 2327     writeUint(buf + i * config->wordsize, val);
 3146     : SyntheticSection(SHF_ALLOC | SHF_WRITE, SHT_PROGBITS, config->wordsize,
 3151                        config->wordsize, ".ARM.exidx") {}
 3355                        config->wordsize, ".text.thunk") {
tools/lld/ELF/SyntheticSections.h
  949   size_t getSize() const override { return config->wordsize; }
tools/lld/ELF/Writer.cpp
  332   Out::programHeaders->alignment = config->wordsize;
 2329   fileSize = alignTo(off, config->wordsize);
 2359   sectionHeaderOff = alignTo(off, config->wordsize);