[ELF] Remove redundant part.dynSymTab creation. NFC

This commit is contained in:
Fangrui Song 2021-11-25 14:42:22 -08:00
parent 5ca54c6686
commit ff0d9e6cfa
1 changed files with 0 additions and 1 deletions

View File

@ -365,7 +365,6 @@ template <class ELFT> void elf::createSyntheticSections() {
make<RelocationSection<ELFT>>(relaDynName, config->zCombreloc);
if (config->hasDynSymTab) {
part.dynSymTab = make<SymbolTableSection<ELFT>>(*part.dynStrTab);
add(part.dynSymTab);
part.verSym = make<VersionTableSection>();