summaryrefslogtreecommitdiffstats
path: root/lld/ELF/SyntheticSections.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/SyntheticSections.cpp')
-rw-r--r--lld/ELF/SyntheticSections.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/lld/ELF/SyntheticSections.cpp b/lld/ELF/SyntheticSections.cpp
index 48c9f7dafb7..1d8825773f9 100644
--- a/lld/ELF/SyntheticSections.cpp
+++ b/lld/ELF/SyntheticSections.cpp
@@ -278,7 +278,7 @@ MipsReginfoSection<ELFT> *MipsReginfoSection<ELFT>::create() {
return nullptr;
}
-template <class ELFT> InputSection *elf::createInterpSection() {
+InputSection *elf::createInterpSection() {
auto *Ret = make<InputSection>(SHF_ALLOC, SHT_PROGBITS, 1,
ArrayRef<uint8_t>(), ".interp");
Ret->Live = true;
@@ -2218,11 +2218,6 @@ template InputSection *elf::createCommonSection<ELF32BE>();
template InputSection *elf::createCommonSection<ELF64LE>();
template InputSection *elf::createCommonSection<ELF64BE>();
-template InputSection *elf::createInterpSection<ELF32LE>();
-template InputSection *elf::createInterpSection<ELF32BE>();
-template InputSection *elf::createInterpSection<ELF64LE>();
-template InputSection *elf::createInterpSection<ELF64BE>();
-
template MergeInputSection<ELF32LE> *elf::createCommentSection();
template MergeInputSection<ELF32BE> *elf::createCommentSection();
template MergeInputSection<ELF64LE> *elf::createCommentSection();
OpenPOWER on IntegriCloud