[lld] r298934 - Do not set entsize for .gnu.hash.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 3 12:43:31 PDT 2017
Some sections has redundant sh_entsize value indeed, but because the spec
requires it to be set to some value if a section contains fixed-size
entries, I don't want to always set it to 0.
On Mon, Apr 3, 2017 at 1:09 AM, George Rimar <grimar at accesssoftek.com>
wrote:
> >You still need to propagate sh_entsize for some sections for the -r
> option.
>
> I was mean linker generated sections, like symtab, where sh_entsize itself
> does not look usefull anyways,
> because content is always about symbols, which depends on target size
> and LE/BE kind.
> In that case setting sh_entsize seems to be excessive.
>
> George.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170403/0f37d1cb/attachment.html>
More information about the llvm-commits
mailing list