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 380f788cc2e..68992bd32c3 100644 --- a/lld/ELF/OutputSections.cpp +++ b/lld/ELF/OutputSections.cpp @@ -600,7 +600,6 @@ template <class ELFT> void DynamicSection<ELFT>::finalize() { Out<ELFT>::DynStrTab->finalize(); - if (Out<ELFT>::RelaDyn->hasRelocs()) { bool IsRela = Out<ELFT>::RelaDyn->isRela(); Add({IsRela ? DT_RELA : DT_REL, Out<ELFT>::RelaDyn}); |