[PATCH] D22516: [ELF] - Fix an issue when 2 output sections were created from single declaration in script

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 22 08:46:48 PDT 2016


On 22 July 2016 at 11:40, George Rimar <grimar at accesssoftek.com> wrote:
> Interesting.
>
> Honestly I still think it is a issue to have more than one section for one declaration.
> I think that if somebody uses a script he probably expects to see exactly what he write,
> and probably does not wait to see multiple sections.

Maybe, but the fact that gold eats flags suggests that this doesn't happen.

> So I would probably keep this as is for now, while there is no nice little "fix", but would keep that in mind.

Agree. This and like gold/bfd merging ro and rw sections with the same
name is something we might have to change in the future, but I think
we should wait and see for now.

Cheers,
Rafael


More information about the llvm-commits mailing list