Lines Matching refs:osec

586     osd->osec.addrExpr = addrExpr;  in readOverlay()
588 osd->osec.lmaExpr = [=] { return prev->getLMA() + prev->size; }; in readOverlay()
590 osd->osec.lmaExpr = lmaExpr; in readOverlay()
593 osd->osec.usedInExpression = true; in readOverlay()
594 addrExpr = [=]() -> ExprValue { return {&osd->osec, false, 0, ""}; }; in readOverlay()
597 prev = &osd->osec; in readOverlay()
607 max = std::max(max, cast<OutputDesc>(cmd)->osec.size); in readOverlay()
645 osd->osec.relro = false; in readSections()
664 names.push_back(os->osec.name); in readSections()
951 osd->osec.inOverlay = true; in readOverlaySectionDescription()
958 osd->osec.commands.push_back( in readOverlaySectionDescription()
961 osd->osec.phdrs = readOutputSectionPhdrs(); in readOverlaySectionDescription()
968 OutputSection *osec = &cmd->osec; in readOutputSectionDescription() local
970 osec->relro = script->seenDataAlign && !script->seenRelroEnd; in readOutputSectionDescription()
975 readSectionAddressType(osec); in readOutputSectionDescription()
980 osec->lmaExpr = readParenExpr(); in readOutputSectionDescription()
982 osec->alignExpr = checkAlignment(readParenExpr(), location); in readOutputSectionDescription()
984 osec->subalignExpr = checkAlignment(readParenExpr(), location); in readOutputSectionDescription()
988 osec->constraint = ConstraintKind::ReadOnly; in readOutputSectionDescription()
990 osec->constraint = ConstraintKind::ReadWrite; in readOutputSectionDescription()
998 osec->commands.push_back(assign); in readOutputSectionDescription()
1000 osec->commands.push_back(data); in readOutputSectionDescription()
1011 osec->filler = readFill(); in readOutputSectionDescription()
1019 osec->commands.push_back(readInputSectionDescription(tok)); in readOutputSectionDescription()
1029 osec->commands.push_back(isd); in readOutputSectionDescription()
1034 osec->memoryRegionName = std::string(next()); in readOutputSectionDescription()
1038 osec->lmaRegionName = std::string(next()); in readOutputSectionDescription()
1041 if (osec->lmaExpr && !osec->lmaRegionName.empty()) in readOutputSectionDescription()
1044 osec->phdrs = readOutputSectionPhdrs(); in readOutputSectionDescription()
1049 osec->filler = readFill(); in readOutputSectionDescription()
1057 osec->expressionsUseSymbols = true; in readOutputSectionDescription()
1411 static void checkIfExists(const OutputSection &osec, StringRef location) { in checkIfExists() argument
1412 if (osec.location.empty() && script->errorOnMissingSection) in checkIfExists()
1413 script->recordError(location + ": undefined section " + osec.name); in checkIfExists()
1455 OutputSection *osec = &script->getOrCreateOutputSection(name)->osec; in readPrimary() local
1456 osec->usedInExpression = true; in readPrimary()
1458 checkIfExists(*osec, location); in readPrimary()
1459 return {osec, false, 0, location}; in readPrimary()
1480 OutputSection *osec = &script->getOrCreateOutputSection(name)->osec; in readPrimary() local
1482 checkIfExists(*osec, location); in readPrimary()
1483 return osec->addralign; in readPrimary()
1541 OutputSection *osec = &script->getOrCreateOutputSection(name)->osec; in readPrimary() local
1542 osec->usedInExpression = true; in readPrimary()
1544 checkIfExists(*osec, location); in readPrimary()
1545 return osec->getLMA(); in readPrimary()
1585 OutputSection *cmd = &script->getOrCreateOutputSection(name)->osec; in readPrimary()