summaryrefslogtreecommitdiffstats
path: root/lld/ELF/OutputSections.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/OutputSections.cpp')
-rw-r--r--lld/ELF/OutputSections.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp
index d095fafc354..9b7eda1a060 100644
--- a/lld/ELF/OutputSections.cpp
+++ b/lld/ELF/OutputSections.cpp
@@ -334,7 +334,6 @@ static void reportDiscarded(InputSectionBase *IS) {
IS->File->getName());
}
-template <class ELFT>
void OutputSectionFactory::addInputSec(InputSectionBase *IS,
StringRef OutsecName) {
if (!IS->Live) {
@@ -414,13 +413,5 @@ template void OutputSection::writeTo<ELF32BE>(uint8_t *Buf);
template void OutputSection::writeTo<ELF64LE>(uint8_t *Buf);
template void OutputSection::writeTo<ELF64BE>(uint8_t *Buf);
-template void OutputSectionFactory::addInputSec<ELF32LE>(InputSectionBase *,
- StringRef);
-template void OutputSectionFactory::addInputSec<ELF32BE>(InputSectionBase *,
- StringRef);
-template void OutputSectionFactory::addInputSec<ELF64LE>(InputSectionBase *,
- StringRef);
-template void OutputSectionFactory::addInputSec<ELF64BE>(InputSectionBase *,
- StringRef);
}
}
OpenPOWER on IntegriCloud