Home
last modified time | relevance | path

Searched refs:outSecOff (Results 1 – 15 of 15) sorted by relevance

/external/llvm-project/lld/ELF/
DARMErrataFix.cpp357 uint64_t prevIsecLimit = isd.sections.front()->outSecOff; in insertPatches()
368 isecLimit = isec->outSecOff + isec->getSize(); in insertPatches()
373 (*patchIt)->outSecOff = prevIsecLimit; in insertPatches()
380 (*patchIt)->outSecOff = isecLimit; in insertPatches()
389 if (a->outSecOff != b->outSecOff) in insertPatches()
390 return a->outSecOff < b->outSecOff; in insertPatches()
DAArch64ErrataFix.cpp486 uint64_t prevIsecLimit = isd.sections.front()->outSecOff; in insertPatches()
496 isecLimit = isec->outSecOff + isec->getSize(); in insertPatches()
501 (*patchIt)->outSecOff = prevIsecLimit; in insertPatches()
509 (*patchIt)->outSecOff = isecLimit; in insertPatches()
519 if (a->outSecOff != b->outSecOff) in insertPatches()
520 return a->outSecOff < b->outSecOff; in insertPatches()
DRelocations.cpp1559 if (a->outSecOff < b->outSecOff) in mergeCmp()
1562 if (a->outSecOff == b->outSecOff) { in mergeCmp()
1706 return a->outSecOff < b->outSecOff; in mergeThunks()
1729 uint64_t tsBase = os->addr + ts->outSecOff; in getISDThunkSec()
1740 uint64_t thunkSecOff = isec->outSecOff; in getISDThunkSec()
1742 thunkSecOff = isec->outSecOff + isec->getSize(); in getISDThunkSec()
1745 isec->getObjMsg(src - (os->addr + isec->outSecOff))); in getISDThunkSec()
1768 if (isec->outSecOff < first->outSecOff || last->outSecOff < isec->outSecOff) in getISThunkSec()
1771 ts = addThunkSection(tos, isd, isec->outSecOff); in getISThunkSec()
1804 uint32_t isdBegin = isd->sections.front()->outSecOff; in createInitialThunkSections()
[all …]
DInputSection.cpp921 SignExtend64<bits>(sym.getVA(addend - offset - outSecOff))); in relocateNonAlloc()
1019 addrLoc += sec->outSecOff; in relocateAlloc()
1226 s->writeTo(buf + outSecOff); in writeTo()
1233 copyRelocations<ELFT>(buf + outSecOff, getDataAs<typename ELFT::Rela>()); in writeTo()
1237 copyRelocations<ELFT>(buf + outSecOff, getDataAs<typename ELFT::Rel>()); in writeTo()
1243 copyShtGroup<ELFT>(buf + outSecOff); in writeTo()
1252 (char *)(buf + outSecOff), size)) in writeTo()
1255 uint8_t *bufEnd = buf + outSecOff + size; in writeTo()
1256 relocate<ELFT>(buf + outSecOff, bufEnd); in writeTo()
1262 memcpy(buf + outSecOff, data().data(), data().size()); in writeTo()
[all …]
DOutputSections.cpp346 fill(buf, sections.empty() ? size : sections[0]->outSecOff, filler); in writeTo()
354 uint8_t *start = buf + isec->outSecOff + isec->getSize(); in writeTo()
359 end = buf + sections[i + 1]->outSecOff; in writeTo()
DInputSection.h361 uint64_t getOffset(uint64_t offset) const { return outSecOff + offset; } in getOffset()
369 uint64_t outSecOff = 0; variable
DTarget.cpp103 ? (Out::bufferStart + isec->getParent()->offset + isec->outSecOff) in getErrPlace()
DSyntheticSections.cpp555 uint8_t *buf = Out::bufferStart + getParent()->offset + outSecOff; in getFdeData()
2908 write64le(buf, chunk.sec->outSecOff + cu.cuOffset); in writeTo()
2984 uint8_t *buf = Out::bufferStart + getParent()->offset + outSecOff; in write()
3443 return a->outSecOff < b->outSecOff; in finalizeContents()
3468 d->outSecOff = offset; in finalizeContents()
3502 d->relocateAlloc(buf + d->outSecOff, buf + d->outSecOff + d->getSize()); in writeTo()
3535 this->outSecOff = off; in ThunkSection()
DWriter.cpp1533 sec->outSecOff = i++; in sortSections()
1642 return la->outSecOff < lb->outSecOff; in compareByFilePosition()
DLinkerScript.cpp840 s->outSecOff = pos - s->getSize() - ctx->outSec->addr; in output()
/external/llvm-project/lld/MachO/
DSyntheticSections.cpp130 static void encodeRebase(const OutputSection *osec, uint64_t outSecOff, in encodeRebase() argument
134 uint64_t offset = osec->getSegmentOffset() + outSecOff; in encodeRebase()
172 encodeRebase(isec->parent, isec->outSecOff + loc.offset, lastRebase, os); in finalizeContents()
229 uint64_t outSecOff, int64_t addend, in encodeBinding() argument
233 uint64_t offset = osec->getSegmentOffset() + outSecOff; in encodeBinding()
310 encodeBinding(b.dysym, isec->parent, isec->outSecOff + b.target.offset, in finalizeContents()
343 encodeBinding(b.symbol, isec->parent, isec->outSecOff + b.target.offset, in finalizeContents()
DInputSection.h53 uint64_t outSecOff = 0; variable
DMergedOutputSection.cpp38 isec->outSecOff = isecAddr - addr; in finalize()
DInputSection.cpp33 uint64_t InputSection::getVA() const { return parent->addr + outSecOff; } in getVA()
/external/llvm-project/lld/ELF/Arch/
DX86_64.cpp183 uint64_t addrLoc = is.getOutputSection()->addr + is.outSecOff + r.offset; in isFallThruRelocation()
190 nextIS->getOutputSection()->addr + nextIS->outSecOff; in isFallThruRelocation()