From ff0d9e6cfa7fbcfa4b6b4bccca146b5d66caf4d6 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Thu, 25 Nov 2021 14:42:22 -0800 Subject: [PATCH] [ELF] Remove redundant part.dynSymTab creation. NFC --- lld/ELF/Writer.cpp | 1 - 1 file changed, 1 deletion(-) 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();