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 04df93b1100..7e1185aeb66 100644
--- a/lld/ELF/LinkerScript.cpp
+++ b/lld/ELF/LinkerScript.cpp
@@ -983,7 +983,7 @@ template <class ELFT> bool LinkerScript<ELFT>::isAbsolute(StringRef S) {
template <class ELFT>
const OutputSection *LinkerScript<ELFT>::getSymbolSection(StringRef S) {
if (SymbolBody *Sym = Symtab<ELFT>::X->find(S))
- return SymbolTableSection<ELFT>::getOutputSection(Sym);
+ return Sym->getOutputSection<ELFT>();
return CurOutSec;
}
OpenPOWER on IntegriCloud