[PATCH] D18248: [ELF] - Set the sh_entsize for mergable sections
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 18 02:47:23 PDT 2016
ruiu added inline comments.
================
Comment at: lld/trunk/ELF/OutputSections.cpp:1223
@@ -1222,2 +1222,3 @@
uintX_t EntSize = S->getSectionHdr()->sh_entsize;
+ this->Header.sh_entsize = EntSize;
----------------
Setting a header value from addSection would be a bit confusing because it runs multiple times. I'd do that in finalize().
Repository:
rL LLVM
http://reviews.llvm.org/D18248
More information about the llvm-commits
mailing list