mirror of
https://github.com/intel/llvm.git
synced 2026-01-18 16:50:51 +08:00
Remove unused argument.
llvm-svn: 316248
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user