[lld] r263664 - [ELF] SHF_MERGE section with 0 entsize is not fatal

Ed Maste via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 17 12:02:37 PDT 2016

On 17 March 2016 at 02:54, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
> There is little reason to try to figure out what a zero size entity is.

The gabi doc describes it as "The member contains 0 if the section
does not hold a table of fixed-size entries." This would seem to imply
that a SHF_MERGE section with 0 sh_entsize could be merged with
another identical section. However,

> Please open a bug about ld -r producing them.

PR 26975, with a test case demonstrating the problem.

More information about the llvm-commits mailing list