<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 16, 2016 at 11:54 PM, Rafael EspĂ­ndola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">> Ok, that makes sense.<br>
><br>
> I'm not entirely sure it's a workaround though -- I believe such files<br>
> are valid, if unusual. It seems in this case they may produced by an<br>
> lld bug; assuming that is correct and the bug gets fixed, would we<br>
> revert r263664?<br>
<br>
</span>I would probably revert it, yes.<br>
<br>
There is little reason to try to figure out what a zero size entity is.<br></blockquote><div><br></div><div>In the spec it says:</div><div><br></div><div><a href="http://www.sco.com/developers/gabi/latest/ch4.sheader.html">http://www.sco.com/developers/gabi/latest/ch4.sheader.html</a><br></div><div><dt style="color:rgb(0,0,0);font-family:Times;font-size:medium"><code>sh_entsize</code></dt><dd style="color:rgb(0,0,0);font-family:Times;font-size:medium">Some sections hold a table of fixed-size entries, such as a symbol table. For such a section, this member gives the size in bytes of each entry. The member contains 0 if the section does not hold a table of fixed-size entries.</dd></div><div><br></div><div>Isn't `sh_entsize == 0` what would be set for a mergeable string table? Why haven't we run into this before?</div><div><br></div><div>-- Sean Silva</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
Please open a bug about ld -r producing them.<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div><br></div></div>