Lines Matching defs:osec
582 osd->osec.addrExpr = addrExpr;
584 osd->osec.lmaExpr = [=] { return prev->getLMA() + prev->size; };
586 osd->osec.lmaExpr = lmaExpr;
589 osd->osec.usedInExpression = true;
590 addrExpr = [=]() -> ExprValue { return {&osd->osec, false, 0, ""}; };
593 prev = &osd->osec;
603 max = std::max(max, cast<OutputDesc>(cmd)->osec.size);
673 osd->osec.relro = false;
692 names.push_back(os->osec.name);
989 osd->osec.inOverlay = true;
999 osd->osec.commands.push_back(make<InputSectionDescription>(
1002 osd->osec.commands.push_back(
1005 osd->osec.phdrs = readOutputSectionPhdrs();
1012 OutputSection *osec = &cmd->osec;
1014 osec->relro = ctx.script->seenDataAlign && !ctx.script->seenRelroEnd;
1019 readSectionAddressType(osec);
1024 osec->lmaExpr = readParenExpr();
1026 osec->alignExpr = checkAlignment(ctx, readParenExpr(), location);
1028 osec->subalignExpr = checkAlignment(ctx, readParenExpr(), location);
1032 osec->constraint = ConstraintKind::ReadOnly;
1034 osec->constraint = ConstraintKind::ReadWrite;
1041 osec->commands.push_back(assign);
1043 osec->commands.push_back(data);
1054 osec->filler = readFill();
1062 osec->commands.push_back(readInputSectionDescription(tok));
1072 osec->commands.push_back(isd);
1077 osec->memoryRegionName = std::string(readName());
1081 osec->lmaRegionName = std::string(readName());
1084 if (osec->lmaExpr && !osec->lmaRegionName.empty())
1087 osec->phdrs = readOutputSectionPhdrs();
1092 osec->filler = readFill();
1100 osec->expressionsUseSymbols = true;
1463 static void checkIfExists(LinkerScript &script, const OutputSection &osec,
1465 if (osec.location.empty() && script.errorOnMissingSection)
1466 script.recordError(location + ": undefined section " + osec.name);
1510 OutputSection *osec = &ctx.script->getOrCreateOutputSection(name)->osec;
1511 osec->usedInExpression = true;
1513 checkIfExists(*s, *osec, location);
1514 return {osec, false, 0, location};
1537 OutputSection *osec = &ctx.script->getOrCreateOutputSection(name)->osec;
1539 checkIfExists(*s, *osec, location);
1540 return osec->addralign;
1600 OutputSection *osec = &ctx.script->getOrCreateOutputSection(name)->osec;
1601 osec->usedInExpression = true;
1603 checkIfExists(*s, *osec, location);
1604 return osec->getLMA();
1644 OutputSection *cmd = &ctx.script->getOrCreateOutputSection(name)->osec;