Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/lld/MachO/
H A DConcatOutputSection.cpp195 isec->outSecOff = isecAddr - addr; in finalize()
328 inputs[i]->outSecOff < thunks[t]->outSecOff)) { in writeTo()
329 inputs[i]->writeTo(buf + inputs[i]->outSecOff); in writeTo()
332 while (t < te && (i == ie || thunks[t]->outSecOff < inputs[i]->outSecOff)) { in writeTo()
333 thunks[t]->writeTo(buf + thunks[t]->outSecOff); in writeTo()
H A DInputSection.h107 uint64_t getOffset(uint64_t off) const override { return outSecOff + off; } in getOffset()
144 uint64_t outSecOff = 0; variable
173 uint64_t outSecOff = 0; member
H A DSyntheticSections.cpp169 static void encodeRebase(const OutputSection *osec, uint64_t outSecOff, in encodeRebase() argument
172 uint64_t offset = osec->getSegmentOffset() + outSecOff; in encodeRebase()
294 static void encodeBinding(const OutputSection *osec, uint64_t outSecOff, in encodeBinding() argument
298 uint64_t offset = osec->getSegmentOffset() + outSecOff; in encodeBinding()
1316 memcpy(buf + isec->pieces[i].outSecOff, string.data(), string.size()); in writeTo()
1329 isec->pieces[i].outSecOff = offset; in finalizeContents()
1382 isec->pieces[i].outSecOff = in finalizeContents()
H A DInputSection.cpp178 return piece.outSecOff + addend; in getOffset()
H A DUnwindInfoSection.cpp259 reinterpret_cast<uint8_t *>(cuVector.data()) + isec->outSecOff; in relocateCompactUnwind()
H A DWriter.cpp942 std::min(osec->inputOrder, static_cast<int>(isec->outSecOff)); in createOutputSections()
H A DDriver.cpp1057 isec->outSecOff = inputOrder++; in gatherInputSections()
/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DARMErrataFix.cpp370 uint64_t prevIsecLimit = isd.sections.front()->outSecOff; in insertPatches()
381 isecLimit = isec->outSecOff + isec->getSize(); in insertPatches()
386 (*patchIt)->outSecOff = prevIsecLimit; in insertPatches()
393 (*patchIt)->outSecOff = isecLimit; in insertPatches()
402 if (a->outSecOff != b->outSecOff) in insertPatches()
403 return a->outSecOff < b->outSecOff; in insertPatches()
H A 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()
H A DRelocations.cpp1625 if (a->outSecOff < b->outSecOff) in mergeCmp()
1628 if (a->outSecOff == b->outSecOff) { in mergeCmp()
1772 return a->outSecOff < b->outSecOff; in mergeThunks()
1797 uint64_t tsBase = os->addr + ts->outSecOff + rel.addend; in getISDThunkSec()
1809 uint64_t thunkSecOff = isec->outSecOff; in getISDThunkSec()
1812 thunkSecOff = isec->outSecOff + isec->getSize(); in getISDThunkSec()
1839 if (isec->outSecOff < first->outSecOff || last->outSecOff < isec->outSecOff) in getISThunkSec()
1842 ts = addThunkSection(tos, isd, isec->outSecOff); in getISThunkSec()
1887 isecLimit = isec->outSecOff + isec->getSize(); in createInitialThunkSections()
1930 uint64_t isdSize = isd->sections.back()->outSecOff + in addThunkSection()
[all …]
H A DInputSection.cpp936 SignExtend64<bits>(sym.getVA(addend - offset - outSecOff))); in relocateNonAlloc()
1034 addrLoc += sec->outSecOff; in relocateAlloc()
1241 s->writeTo(buf + outSecOff); in writeTo()
1252 copyRelocations<ELFT>(buf + outSecOff, getDataAs<typename ELFT::Rel>()); in writeTo()
1258 copyShtGroup<ELFT>(buf + outSecOff); in writeTo()
1267 (char *)(buf + outSecOff), size)) in writeTo()
1270 uint8_t *bufEnd = buf + outSecOff + size; in writeTo()
1271 relocate<ELFT>(buf + outSecOff, bufEnd); in writeTo()
1277 memcpy(buf + outSecOff, data().data(), data().size()); in writeTo()
1278 uint8_t *bufEnd = buf + outSecOff + data().size(); in writeTo()
[all …]
H A 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()
H A DInputSection.h362 uint64_t getOffset(uint64_t offset) const { return outSecOff + offset; } in getOffset()
370 uint64_t outSecOff = 0; variable
H A DTarget.cpp103 ? (Out::bufferStart + isec->getParent()->offset + isec->outSecOff) in getErrPlace()
H A DSyntheticSections.cpp555 uint8_t *buf = Out::bufferStart + getParent()->offset + outSecOff; in getFdeData()
2977 write64le(buf, chunk.sec->outSecOff + cu.cuOffset); in writeTo()
3053 uint8_t *buf = Out::bufferStart + getParent()->offset + outSecOff; in write()
3515 return a->outSecOff < b->outSecOff; in finalizeContents()
3540 d->outSecOff = offset; in finalizeContents()
3574 d->relocateAlloc(buf + d->outSecOff, buf + d->outSecOff + d->getSize()); in writeTo()
3607 this->outSecOff = off; in ThunkSection()
H A DWriter.cpp1550 sec->outSecOff = i++; in sortSections()
1659 return la->outSecOff < lb->outSecOff; in compareByFilePosition()
H A DLinkerScript.cpp860 s->outSecOff = pos - s->getSize() - ctx->outSec->addr; in output()
/freebsd-13.1/contrib/llvm-project/lld/ELF/Arch/
H A DX86_64.cpp186 uint64_t addrLoc = is.getOutputSection()->addr + is.outSecOff + r.offset; in isFallThruRelocation()
193 nextIS->getOutputSection()->addr + nextIS->outSecOff; in isFallThruRelocation()