Lines Matching refs:osec

555     osd->osec.addrExpr = addrExpr;  in readOverlay()
557 osd->osec.lmaExpr = [=] { return prev->getLMA() + prev->size; }; in readOverlay()
559 osd->osec.lmaExpr = lmaExpr; in readOverlay()
562 osd->osec.usedInExpression = true; in readOverlay()
563 addrExpr = [=]() -> ExprValue { return {&osd->osec, false, 0, ""}; }; in readOverlay()
566 prev = &osd->osec; in readOverlay()
576 max = std::max(max, cast<OutputDesc>(cmd)->osec.size); in readOverlay()
614 osd->osec.relro = false; in readSections()
633 names.push_back(os->osec.name); in readSections()
908 osd->osec.inOverlay = true; in readOverlaySectionDescription()
915 osd->osec.commands.push_back( in readOverlaySectionDescription()
918 osd->osec.phdrs = readOutputSectionPhdrs(); in readOverlaySectionDescription()
925 OutputSection *osec = &cmd->osec; in readOutputSectionDescription() local
927 osec->relro = script->seenDataAlign && !script->seenRelroEnd; in readOutputSectionDescription()
932 readSectionAddressType(osec); in readOutputSectionDescription()
937 osec->lmaExpr = readParenExpr(); in readOutputSectionDescription()
939 osec->alignExpr = checkAlignment(readParenExpr(), location); in readOutputSectionDescription()
941 osec->subalignExpr = checkAlignment(readParenExpr(), location); in readOutputSectionDescription()
945 osec->constraint = ConstraintKind::ReadOnly; in readOutputSectionDescription()
947 osec->constraint = ConstraintKind::ReadWrite; in readOutputSectionDescription()
955 osec->commands.push_back(assign); in readOutputSectionDescription()
957 osec->commands.push_back(data); in readOutputSectionDescription()
968 osec->filler = readFill(); in readOutputSectionDescription()
976 osec->commands.push_back(readInputSectionDescription(tok)); in readOutputSectionDescription()
986 osec->commands.push_back(isd); in readOutputSectionDescription()
991 osec->memoryRegionName = std::string(next()); in readOutputSectionDescription()
995 osec->lmaRegionName = std::string(next()); in readOutputSectionDescription()
998 if (osec->lmaExpr && !osec->lmaRegionName.empty()) in readOutputSectionDescription()
1001 osec->phdrs = readOutputSectionPhdrs(); in readOutputSectionDescription()
1006 osec->filler = readFill(); in readOutputSectionDescription()
1014 osec->expressionsUseSymbols = true; in readOutputSectionDescription()
1367 static void checkIfExists(const OutputSection &osec, StringRef location) { in checkIfExists() argument
1368 if (osec.location.empty() && script->errorOnMissingSection) in checkIfExists()
1369 error(location + ": undefined section " + osec.name); in checkIfExists()
1411 OutputSection *osec = &script->getOrCreateOutputSection(name)->osec; in readPrimary() local
1412 osec->usedInExpression = true; in readPrimary()
1414 checkIfExists(*osec, location); in readPrimary()
1415 return {osec, false, 0, location}; in readPrimary()
1436 OutputSection *osec = &script->getOrCreateOutputSection(name)->osec; in readPrimary() local
1438 checkIfExists(*osec, location); in readPrimary()
1439 return osec->addralign; in readPrimary()
1497 OutputSection *osec = &script->getOrCreateOutputSection(name)->osec; in readPrimary() local
1498 osec->usedInExpression = true; in readPrimary()
1500 checkIfExists(*osec, location); in readPrimary()
1501 return osec->getLMA(); in readPrimary()
1541 OutputSection *cmd = &script->getOrCreateOutputSection(name)->osec; in readPrimary()