summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/SyntheticSections.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/ELF/SyntheticSections.cpp b/lld/ELF/SyntheticSections.cpp
index 4e6b3c92a73..4faaf47a360 100644
--- a/lld/ELF/SyntheticSections.cpp
+++ b/lld/ELF/SyntheticSections.cpp
@@ -1327,6 +1327,7 @@ template <class ELFT> void SymbolTableSection<ELFT>::finalizeContents() {
size_t I = 0;
for (const SymbolTableEntry &S : Symbols)
S.Symbol->DynsymIndex = ++I;
+ return;
}
// If it is a .symtab, move all local symbols before global symbols.
OpenPOWER on IntegriCloud