diff options
Diffstat (limited to 'ELF/Driver.cpp')
-rw-r--r-- | ELF/Driver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ELF/Driver.cpp b/ELF/Driver.cpp index 2b6925031b07..cc76fea2ad5e 100644 --- a/ELF/Driver.cpp +++ b/ELF/Driver.cpp @@ -1056,7 +1056,7 @@ template <class ELFT> void LinkerDriver::link(opt::InputArgList &Args) { // We need to create some reserved symbols such as _end. Create them. if (!Config->Relocatable) - addReservedSymbols<ELFT>(); + addReservedSymbols(); // Apply version scripts. Symtab->scanVersionScript(); @@ -1111,7 +1111,7 @@ template <class ELFT> void LinkerDriver::link(opt::InputArgList &Args) { // before decompressAndMergeSections because the .comment section is a // mergeable section. if (!Config->Relocatable) - InputSections.push_back(createCommentSection<ELFT>()); + InputSections.push_back(createCommentSection()); // Do size optimizations: garbage collection, merging of SHF_MERGE sections // and identical code folding. |