Lines Matching refs:OutputSection
87 void addStartStopSymbols(OutputSection &osec);
112 for (OutputSection *sec : outputSections) in removeEmptyPTLoad()
295 static OutputSection *findSection(StringRef name, unsigned partition = 1) { in findSection()
314 for (OutputSection *sec : outputSections) in run()
503 OutputSection &osec = osd->osec; in addSectionSymbols()
544 static bool isRelroSection(const OutputSection *sec) { in isRelroSection()
647 unsigned elf::getSectionRank(OutputSection &osec) { in getSectionRank()
768 const OutputSection *a = &cast<OutputDesc>(aCmd)->osec; in compareSections()
769 const OutputSection *b = &cast<OutputDesc>(bCmd)->osec; in compareSections()
780 void PhdrEntry::add(OutputSection *sec) { in add()
832 OutputSection *lastRO = nullptr; in setReservedSymbolSections()
833 auto isLarge = [](OutputSection *osec) { in setReservedSymbolSections()
858 OutputSection *edata = nullptr; in setReservedSymbolSections()
859 for (OutputSection *os : outputSections) { in setReservedSymbolSections()
880 OutputSection *sbss = in setReservedSymbolSections()
890 for (OutputSection *os : outputSections) { in setReservedSymbolSections()
904 static int getRankProximity(OutputSection *a, SectionCommand *b) { in getRankProximity()
939 OutputSection *sec = &cast<OutputDesc>(*e)->osec; in findOrphanPos()
1187 static void sortSection(OutputSection &osec, in sortSection()
1337 OutputSection *orphan = &cast<OutputDesc>(*nonScriptI)->osec; in sortOrphanSections()
1357 OutputSection *aOut = la->getParent(); in compareByFilePosition()
1358 OutputSection *bOut = lb->getParent(); in compareByFilePosition()
1369 for (OutputSection *sec : outputSections) { in resolveShfLinkOrder()
1507 std::pair<const OutputSection *, const Defined *> changes = in finalizeAddressDependentContent()
1534 for (OutputSection *sec : outputSections) in finalizeAddressDependentContent()
1541 OutputSection *osec = &osd->osec; in finalizeAddressDependentContent()
1611 for (OutputSection *osec : outputSections) { in optimizeBasicBlockJumps()
1633 for (OutputSection *osec : outputSections) in optimizeBasicBlockJumps()
1682 if (OutputSection *osec = cast<SyntheticSection>(sec)->getParent()) in removeUnusedSyntheticSections()
1729 OutputSection *sec = findSection(".sdata"); in finalizeSections()
1890 OutputSection *osec = &osd->osec; in finalizeSections()
1897 for (OutputSection *sec : outputSections) { in finalizeSections()
2056 for (OutputSection *sec : outputSections) in finalizeSections()
2075 for (OutputSection *osec : outputSections) in checkExecuteOnly()
2093 auto define = [=](StringRef start, StringRef end, OutputSection *os) { in addStartEndSymbols()
2111 if (OutputSection *sec = findSection(".ARM.exidx")) in addStartEndSymbols()
2121 void Writer<ELFT>::addStartStopSymbols(OutputSection &osec) { in addStartStopSymbols()
2133 static bool needsPtLoad(OutputSection *sec) { in needsPtLoad()
2182 if (OutputSection *cmd = findSection(".interp", partNo)) in createPhdrs()
2201 OutputSection *relroEnd = nullptr; in createPhdrs()
2202 for (OutputSection *sec : outputSections) { in createPhdrs()
2219 for (OutputSection *sec : outputSections) { in createPhdrs()
2277 for (OutputSection *sec : outputSections) in createPhdrs()
2284 if (OutputSection *sec = part.dynamic->getParent()) in createPhdrs()
2299 if (OutputSection *cmd = findSection(".openbsd.mutable", partNo)) in createPhdrs()
2304 if (OutputSection *cmd = findSection(".openbsd.randomdata", partNo)) in createPhdrs()
2309 if (OutputSection *cmd = findSection(".openbsd.syscalls", partNo)) in createPhdrs()
2331 if (OutputSection *cmd = findSection(".note.gnu.property", partNo)) in createPhdrs()
2337 for (OutputSection *sec : outputSections) { in createPhdrs()
2355 auto i = llvm::find_if(outputSections, [=](OutputSection *cmd) { in addPhdrForSection()
2372 OutputSection *cmd = p->firstSec; in fixSectionAlignments()
2437 static uint64_t computeFileOffset(OutputSection *os, uint64_t off) { in computeFileOffset()
2456 OutputSection *first = os->ptLoad->firstSec; in computeFileOffset()
2462 auto needsOffset = [](OutputSection &sec) { in assignFileOffsetsBinary()
2466 for (OutputSection *sec : outputSections) in assignFileOffsetsBinary()
2474 for (OutputSection *sec : outputSections) in assignFileOffsetsBinary()
2498 for (OutputSection *sec : outputSections) { in assignFileOffsets()
2513 for (OutputSection *osec : outputSections) { in assignFileOffsets()
2532 for (OutputSection *sec : outputSections) { in assignFileOffsets()
2546 OutputSection *first = p->firstSec; in setPhdrs()
2547 OutputSection *last = p->lastSec; in setPhdrs()
2589 OutputSection *sec;
2630 for (OutputSection *os : outputSections) in checkSections()
2643 for (OutputSection *sec : outputSections) in checkSections()
2661 for (OutputSection *sec : outputSections) in checkSections()
2670 for (OutputSection *sec : outputSections) in checkSections()
2741 for (OutputSection *sec : outputSections) in writeHeader()
2753 for (OutputSection *os : outputSections) in openFile()
2779 for (OutputSection *sec : outputSections) in writeSectionsBinary()
2829 for (OutputSection *sec : outputSections) in writeSections()
2835 for (OutputSection *sec : outputSections) in writeSections()
2842 for (OutputSection *sec : outputSections) in writeSections()