Remove unused argument.

llvm-svn: 316248
This commit is contained in:
Rafael Espindola
2017-10-20 23:28:19 +00:00
parent afc4b3857b
commit 3558e24ae8
3 changed files with 4 additions and 4 deletions

View File

@@ -339,7 +339,7 @@ LinkerScript::createInputSectionList(OutputSection &OutCmd) {
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:

View File

@@ -246,7 +246,7 @@ public:
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;

View File

@@ -163,7 +163,7 @@ template <class ELFT> void Writer<ELFT>::run() {
// 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.
@@ -173,7 +173,7 @@ template <class ELFT> void Writer<ELFT>::run() {
// 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();
}