[ELF] - Set the sh_entsize for mergable sections
authorGeorge Rimar <grimar@accesssoftek.com>
Fri, 18 Mar 2016 09:28:39 +0000 (09:28 +0000)
committerGeorge Rimar <grimar@accesssoftek.com>
Fri, 18 Mar 2016 09:28:39 +0000 (09:28 +0000)
commit0baa1d3dbe64b91dd74e61fffe40e75983d4b0de
tree7b855354ef27f82f3c65ea05dab22c0682770c64
parent01b325ab923e5415fde74d38293115b4033acf21
[ELF] - Set the sh_entsize for mergable sections

Previously sh_entsize field was not set for MergeOutputSection.
Patch fixes that.

That should resolve the https://llvm.org/bugs/show_bug.cgi?id=26975

Differential revision: http://reviews.llvm.org/D18248

llvm-svn: 263780
lld/ELF/OutputSections.cpp
lld/test/ELF/merge-string.s
lld/test/ELF/merge.s