diff options
| -rw-r--r-- | lld/ELF/OutputSections.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp index c74e4631e3b..cd924938972 100644 --- a/lld/ELF/OutputSections.cpp +++ b/lld/ELF/OutputSections.cpp @@ -229,7 +229,6 @@ template <class ELFT> void DynamicSection<ELFT>::finalize() { InitSym = dyn_cast<ELFSymbolBody<ELFT>>(S->Body); if (Symbol *S = SymTab.getSymbols().lookup(Config->Fini)) FiniSym = dyn_cast<ELFSymbolBody<ELFT>>(S->Body); - if (InitSym) ++NumEntries; // DT_INIT if (FiniSym) |

