diff options
Diffstat (limited to 'lld/ELF/Writer.cpp')
-rw-r--r-- | lld/ELF/Writer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index c3f68ab4747..c4795f02820 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -937,7 +937,7 @@ void Writer<ELFT>::forEachRelSec(std::function<void(InputSectionBase &)> Fn) { template <class ELFT> void Writer<ELFT>::createSections() { for (InputSectionBase *IS : InputSections) if (IS) - Factory.addInputSec<ELFT>(IS, getOutputSectionName(IS->Name)); + Factory.addInputSec(IS, getOutputSectionName(IS->Name)); sortBySymbolsOrder<ELFT>(OutputSections); sortInitFini<ELFT>(findSection(".init_array")); |