diff options
Diffstat (limited to 'lld/ELF/OutputSections.cpp')
-rw-r--r-- | lld/ELF/OutputSections.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lld/ELF/OutputSections.cpp b/lld/ELF/OutputSections.cpp index 135a9ccbc91..33044af35b0 100644 --- a/lld/ELF/OutputSections.cpp +++ b/lld/ELF/OutputSections.cpp @@ -603,8 +603,6 @@ OutputSectionFactory<ELFT>::create(const SectionKey &Key, if (C->kind() == InputSectionBase<ELFT>::EHFrame) return {Out<ELFT>::EhFrame, false}; Sec = make<OutputSection<ELFT>>(Key.Name, Type, Flags); - if (Flags & SHF_MERGE) - Sec->Entsize = C->Entsize; return {Sec, true}; } |