Lines Matching refs:isec
121 if (errPlace.isec && errPlace.isec->name.starts_with(".debug")) in reportRangeError()
872 static void addRelativeReloc(InputSectionBase &isec, uint64_t offsetInSec, in addRelativeReloc() argument
875 Partition &part = isec.getPartition(); in addRelativeReloc()
879 part.relaDyn->addRelativeReloc(target->relativeRel, isec, offsetInSec, sym, in addRelativeReloc()
890 isec.relocations.push_back({expr, type, offsetInSec, addend, &sym}); in addRelativeReloc()
900 if (part.relrDyn && isec.addralign >= 2 && offsetInSec % 2 == 0) { in addRelativeReloc()
901 isec.addReloc({expr, type, offsetInSec, addend, &sym}); in addRelativeReloc()
904 {&isec, isec.relocs().size() - 1}); in addRelativeReloc()
906 part.relrDyn->relocs.push_back({&isec, isec.relocs().size() - 1}); in addRelativeReloc()
909 part.relaDyn->addRelativeReloc<shard>(target->relativeRel, isec, offsetInSec, in addRelativeReloc()
2058 InputSection *isec, in getISDThunkSec() argument
2078 uint64_t thunkSecOff = isec->outSecOff; in getISDThunkSec()
2081 thunkSecOff = isec->outSecOff + isec->getSize(); in getISDThunkSec()
2085 isec->getObjMsg(src - (os->addr + isec->outSecOff))); in getISDThunkSec()
2092 ThunkSection *ThunkCreator::getISThunkSec(InputSection *isec) { in getISThunkSec() argument
2093 ThunkSection *ts = thunkedSections.lookup(isec); in getISThunkSec()
2099 OutputSection *tos = isec->getParent(); in getISThunkSec()
2108 if (isec->outSecOff < first->outSecOff || last->outSecOff < isec->outSecOff) in getISThunkSec()
2111 ts = addThunkSection(tos, isd, isec->outSecOff); in getISThunkSec()
2112 thunkedSections[isec] = ts; in getISThunkSec()
2155 for (const InputSection *isec : isd->sections) { in createInitialThunkSections() local
2156 isecLimit = isec->outSecOff + isec->getSize(); in createInitialThunkSections()
2218 std::pair<Thunk *, bool> ThunkCreator::getThunk(InputSection *isec, in getThunk() argument
2242 if (isThunkSectionCompatible(isec, t->getThunkTargetSym()->section) && in getThunk()
2243 t->isCompatibleWith(*isec, rel) && in getThunk()
2249 Thunk *t = addThunk(*isec, rel); in getThunk()
2310 for (InputSection *isec : isd->sections) in createThunks()
2311 for (Relocation &rel : isec->relocs()) { in createThunks()
2312 uint64_t src = isec->getVA(rel.offset); in createThunks()
2320 if (!target->needsThunk(rel.expr, rel.type, isec->file, src, in createThunks()
2326 std::tie(t, isNew) = getThunk(isec, rel, src); in createThunks()
2334 ts = getISDThunkSec(os, isec, isd, rel, src); in createThunks()
2370 for (InputSection *isec : isd->sections) in hexagonNeedsTLSSymbol()
2371 for (Relocation &rel : isec->relocs()) in hexagonNeedsTLSSymbol()
2387 for (InputSection *isec : isd->sections) in hexagonTLSSymbolUpdate()
2388 for (Relocation &rel : isec->relocs()) in hexagonTLSSymbolUpdate()