Lines Matching refs:script

278       script->sectionCommands.push_back(cmd);  in readLinkerScript()
293 script->sectionCommands.push_back(cmd); in readDefsym()
505 script->phdrsCommands.push_back(cmd); in readPhdrs()
516 if (script->memoryRegions.count(alias)) in readRegionAlias()
518 if (!script->memoryRegions.count(name)) in readRegionAlias()
520 script->memoryRegions.insert({alias, script->memoryRegions[name]}); in readRegionAlias()
538 addrExpr = [] { return script->getDot(); }; in readOverlay()
546 consume("AT") ? readParenExpr() : [] { return script->getDot(); }; in readOverlay()
586 script->overwriteSections.push_back(readOutputSectionDescription(next())); in readOverwriteSections()
611 if (!script->seenRelroEnd) in readSections()
616 script->sectionCommands.insert(script->sectionCommands.end(), v.begin(), in readSections()
620 script->hasSectionsCommand = true; in readSections()
635 script->insertCommands.push_back({std::move(names), isAfter, where}); in readSections()
794 script->keptSections.push_back(cmd); in readInputSectionDescription()
820 return script->getDot(); in readAssert()
907 OutputDesc *osd = script->createOutputSection(next(), getCurrentLocation()); in readOverlaySectionDescription()
924 script->createOutputSection(unquote(outSec), getCurrentLocation()); in readOutputSectionDescription()
927 osec->relro = script->seenDataAlign && !script->seenRelroEnd; in readOutputSectionDescription()
929 size_t symbolsReferenced = script->referencedSymbols.size(); in readOutputSectionDescription()
1013 if (script->referencedSymbols.size() > symbolsReferenced) in readOutputSectionDescription()
1062 bool savedSeenRelroEnd = script->seenRelroEnd; in readAssignment()
1083 cmd->dataSegmentRelroEnd = !savedSeenRelroEnd && script->seenRelroEnd; in readAssignment()
1102 ExprValue lhs = script->getSymbolValue(name, loc); in readSymbolAssignment()
1368 if (osec.location.empty() && script->errorOnMissingSection) in checkIfExists()
1411 OutputSection *osec = &script->getOrCreateOutputSection(name)->osec; in readPrimary()
1423 return [=] { return alignToPowerOf2(script->getDot(), e().getValue()); }; in readPrimary()
1436 OutputSection *osec = &script->getOrCreateOutputSection(name)->osec; in readPrimary()
1452 script->seenDataAlign = true; in readPrimary()
1455 return (script->getDot() + align - 1) & -align; in readPrimary()
1462 return [] { return script->getDot(); }; in readPrimary()
1473 script->seenRelroEnd = true; in readPrimary()
1474 return [=] { return alignToPowerOf2(script->getDot(), config->maxPageSize); }; in readPrimary()
1489 if (script->memoryRegions.count(name) == 0) { in readPrimary()
1493 return script->memoryRegions[name]->length; in readPrimary()
1497 OutputSection *osec = &script->getOrCreateOutputSection(name)->osec; in readPrimary()
1525 if (script->memoryRegions.count(name) == 0) { in readPrimary()
1529 return script->memoryRegions[name]->origin; in readPrimary()
1541 OutputSection *cmd = &script->getOrCreateOutputSection(name)->osec; in readPrimary()
1552 return [=] { return script->getSymbolValue(tok, location); }; in readPrimary()
1563 script->referencedSymbols.push_back(tok); in readPrimary()
1564 return [=] { return script->getSymbolValue(tok, location); }; in readPrimary()
1760 if (!script->memoryRegions.insert({tok, mr}).second) in readMemory()