[lld] r298934 - Do not set entsize for .gnu.hash.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 30 13:39:47 PDT 2017


You still need to propagate sh_entsize for some sections for the -r option.

On Thu, Mar 30, 2017 at 1:45 AM, George Rimar <grimar at accesssoftek.com>
wrote:

> ​>It still looks like a stretch, no?
> ​​>
> >Most things with a entsize have independent items that are x bytes each.
> This section has a complex structure where each member is 32 bits.
> ​>
> >Cheers,
> >Rafael
>
> I wonder why linker need to set entsize at all ? It seems that information
> about elf target size (32/64)
> should be enough to find the entsize for output sections that contains
> independent items.
>
> George.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170330/3133e6e6/attachment.html>


More information about the llvm-commits mailing list