Lines Matching refs:isec
640 static void prepareSymbolRelocation(Symbol *sym, const InputSection *isec, in prepareSymbolRelocation() argument
645 defined->isec()->getName() == section_names::moduleInitFunc) in prepareSymbolRelocation()
646 fatal(isec->getLocation(r.offset) + ": cannot reference " + in prepareSymbolRelocation()
668 if (!(isThreadLocalVariables(isec->getFlags()) && isa<Defined>(sym))) in prepareSymbolRelocation()
669 addNonLazyBindingEntries(sym, isec, r.offset, r.addend); in prepareSymbolRelocation()
679 ConcatInputSection *isec = inputSections[i]; in scanRelocations() local
681 if (isec->shouldOmitFromOutput()) in scanRelocations()
684 for (auto it = isec->relocs.begin(); it != isec->relocs.end(); ++it) { in scanRelocations()
705 treatUndefinedSymbol(*undefined, isec, r.offset); in scanRelocations()
707 if (!isa<Undefined>(sym) && validateSymbolRelocation(sym, isec, r)) in scanRelocations()
708 prepareSymbolRelocation(sym, isec, r); in scanRelocations()
712 in.chainedFixups->addRebase(isec, r.offset); in scanRelocations()
714 in.rebase->addEntry(isec, r.offset); in scanRelocations()
739 if (!defined->isAbsolute() && isCodeSection(defined->isec())) in scanSymbols()
768 isCodeSection(defined->isec())) in scanSymbols()
1017 for (ConcatInputSection *isec : inputSections) { in createOutputSections()
1018 if (isec->shouldOmitFromOutput()) in createOutputSections()
1020 ConcatOutputSection *osec = cast<ConcatOutputSection>(isec->parent); in createOutputSections()
1021 osec->addInput(isec); in createOutputSections()
1023 std::min(osec->inputOrder, static_cast<int>(isec->outSecOff)); in createOutputSections()
1232 const OutputSegment *oseg = loc[i].isec->parent->parent; in buildFixupChains()
1237 while (i < count && loc[i].isec->parent->parent == oseg && in buildFixupChains()
1242 error(loc[i].isec->getSegName() + "," + loc[i].isec->getName() + in buildFixupChains()
1244 Twine(loc[i].offset - loc[i].isec->parent->getSegmentOffset()) + in buildFixupChains()