summaryrefslogtreecommitdiffstats
path: root/lld/ELF/LinkerScript.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/LinkerScript.cpp')
-rw-r--r--lld/ELF/LinkerScript.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/LinkerScript.cpp b/lld/ELF/LinkerScript.cpp
index 69ac57c2f4f..4519a2b892b 100644
--- a/lld/ELF/LinkerScript.cpp
+++ b/lld/ELF/LinkerScript.cpp
@@ -939,7 +939,7 @@ template <class ELFT> bool LinkerScript<ELFT>::isAbsolute(StringRef S) {
template <class ELFT>
OutputSection *LinkerScript<ELFT>::getSymbolSection(StringRef S) {
if (SymbolBody *Sym = Symtab<ELFT>::X->find(S))
- return Sym->getOutputSection<ELFT>();
+ return Sym->getOutputSection();
return CurOutSec;
}
OpenPOWER on IntegriCloud