return Ret;
}
-void LinkerScript::processSectionCommands(OutputSectionFactory &Factory) {
+void LinkerScript::processSectionCommands() {
// A symbol can be assigned before any section is mentioned in the linker
// script. In an DSO, the symbol values are addresses, so the only important
// section values are:
bool shouldKeep(InputSectionBase *S);
void assignAddresses();
void allocateHeaders(std::vector<PhdrEntry *> &Phdrs);
- void processSectionCommands(OutputSectionFactory &Factory);
+ void processSectionCommands();
// SECTIONS command list.
std::vector<BaseCommand *> SectionCommands;
// Create output sections.
if (Script->HasSectionsCommand) {
// If linker script contains SECTIONS commands, let it create sections.
- Script->processSectionCommands(Factory);
+ Script->processSectionCommands();
// Linker scripts may have left some input sections unassigned.
// Assign such sections using the default rule.
// output sections by default rules. We still need to give the
// linker script a chance to run, because it might contain
// non-SECTIONS commands such as ASSERT.
- Script->processSectionCommands(Factory);
+ Script->processSectionCommands();
createSections();
}