diff --git a/lld/ELF/Writer.cpp b/lld/ELF/Writer.cpp index 1137825a4322..da7fd788d1bd 100644 --- a/lld/ELF/Writer.cpp +++ b/lld/ELF/Writer.cpp @@ -365,7 +365,6 @@ template void elf::createSyntheticSections() { make>(relaDynName, config->zCombreloc); if (config->hasDynSymTab) { - part.dynSymTab = make>(*part.dynStrTab); add(part.dynSymTab); part.verSym = make();