summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/OutputSections.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp
index 5077f58cd2f..6b8bd835830 100644
--- a/lld/ELF/OutputSections.cpp
+++ b/lld/ELF/OutputSections.cpp
@@ -295,9 +295,6 @@ template <class ELFT> void DynamicSection<ELFT>::finalize() {
++NumEntries; // DT_FINI
if (Config->ZNow || Config->Bsymbolic)
++NumEntries; // DT_FLAGS_1
- if (Config->Bsymbolic)
- ++NumEntries; // DT_SYMBOLIC
-
++NumEntries; // DT_NULL
Header.sh_size = NumEntries * Header.sh_entsize;
OpenPOWER on IntegriCloud