Lines Matching defs:sec
52 static uint64_t getOutputSectionVA(SectionBase *sec) { in getOutputSectionVA()
83 OutputSection *sec; in createOutputSection() local
168 SectionBase *sec = value.isAbsolute() ? nullptr : value.sec; in addSymbol() local
292 auto *sec = cast<OutputSection>(base); in declareSymbols() local
366 sections, [](InputSectionBase *sec) { return sec->flags & SHF_WRITE; }); in matchConstraints()
448 InputSectionBase *sec = sections[i]; in computeInputSections() local
552 if (auto *sec = dyn_cast<OutputSection>(base)) { in processSectionCommands() local
628 if (auto *sec = dyn_cast<OutputSection>(base)) in findByName() local
636 OutputSection *sec = script->createOutputSection(outsecName, "<internal>"); in createSection() local
662 auto *sec = cast<InputSection>(isec); in addInputSec() local
741 OutputSection *sec = createSection(isec, outsecName); in addInputSec() local
759 } else if (OutputSection *sec = findByName(sectionCommands, name)) { in addOrphanSections() local
786 if (auto *sec = dyn_cast<InputSection>(isec)) in addOrphanSections() local
807 for (const InputSectionBase *sec : orphanSections) { in diagnoseOrphanHandling() local
848 void LinkerScript::switchTo(OutputSection *sec) { in switchTo()
866 MemoryRegion *LinkerScript::findMemoryRegion(OutputSection *sec) { in findMemoryRegion()
904 void LinkerScript::assignOffsets(OutputSection *sec) { in assignOffsets()
986 static bool isDiscardable(OutputSection &sec) { in isDiscardable()
1015 static void maybePropagatePhdrs(OutputSection &sec, in maybePropagatePhdrs()
1052 auto *sec = dyn_cast<OutputSection>(cmd); in adjustSectionsBeforeSorting() local
1103 if (auto *sec = dyn_cast<OutputSection>(base)) { in adjustSectionsAfterSorting() local
1130 if (auto *sec = dyn_cast<OutputSection>(base)) in adjustSectionsAfterSorting() local