summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/Writer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp
index 49dc9ac77ba..944c683eddc 100644
--- a/lld/ELF/Writer.cpp
+++ b/lld/ELF/Writer.cpp
@@ -1363,7 +1363,7 @@ template <class ELFT> void Writer<ELFT>::finalizeSections() {
Sec->finalize<ELFT>();
// createThunks may have added local symbols to the static symbol table
- applySynthetic({InX::SymTab, InX::ShStrTab, InX::StrTab},
+ applySynthetic({InX::SymTab},
[](SyntheticSection *SS) { SS->postThunkContents(); });
}
OpenPOWER on IntegriCloud