Remove unused parameters.

llvm-svn: 315133
This commit is contained in:
Rui Ueyama
2017-10-07 00:08:30 +00:00
parent 729bcd1f6e
commit b4175edf16
3 changed files with 7 additions and 11 deletions

View File

@@ -416,7 +416,7 @@ void LinkerScript::processCommands(OutputSectionFactory &Factory) {
// Add input sections to an output section.
for (InputSectionBase *S : V)
Factory.addInputSec(S, Sec->Name, Sec);
Factory.addInputSec(S, Sec);
assert(Sec->SectionIndex == INT_MAX);
Sec->SectionIndex = I;
@@ -466,7 +466,7 @@ void LinkerScript::addOrphanSections(OutputSectionFactory &Factory) {
if (OutputSection *Sec = findByName(
makeArrayRef(Opt.Commands).slice(0, End), Name)) {
Factory.addInputSec(S, Name, Sec);
Factory.addInputSec(S, Sec);
continue;
}