<div dir="ltr">Ah, right. I thought that we have a list of input sections, but we actually don't have that.</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 18, 2016 at 10:56 AM, George Rimar <span dir="ltr"><<a href="mailto:grimar@accesssoftek.com" target="_blank">grimar@accesssoftek.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">grimar added inline comments.<br>
<span class=""><br>
================<br>
Comment at: lld/trunk/ELF/OutputSections.cpp:1223<br>
@@ -1222,2 +1222,3 @@<br>
</span><span class="">   uintX_t EntSize = S->getSectionHdr()->sh_entsize;<br>
+  this->Header.sh_entsize = EntSize;<br>
<br>
</span>----------------<br>
<span class="">ruiu wrote:<br>
> Setting a header value from addSection would be a bit confusing because it runs multiple times. I'd do that in finalize().<br>
</span>Am I missing something, but we dont have access to sh_entsize from finalize. I mean we dont store a list of added sections to take it there.<br>
<div class="HOEnZb"><div class="h5"><br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="http://reviews.llvm.org/D18248" rel="noreferrer" target="_blank">http://reviews.llvm.org/D18248</a><br>
<br>
<br>
<br>
</div></div></blockquote></div><br></div>