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

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 16 23:54:32 PDT 2016


> Ok, that makes sense.
>
> I'm not entirely sure it's a workaround though -- I believe such files
> are valid, if unusual. It seems in this case they may produced by an
> lld bug; assuming that is correct and the bug gets fixed, would we
> revert r263664?

I would probably revert it, yes.

There is little reason to try to figure out what a zero size entity is.

Please open a bug about ld -r producing them.

Cheers,
Rafael


More information about the llvm-commits mailing list