[lld] r253797 - ELF: Make .note.GNU-stack more compatible with traditional linkers.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 22 19:29:20 PST 2015


On Sun, Nov 22, 2015 at 8:56 AM, Joerg Sonnenberger via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> On Sat, Nov 21, 2015 at 10:19:32PM -0000, Rui Ueyama via llvm-commits
> wrote:
> > At least, NetBSD loader does not understand PT_GNU_STACK segments and
> > reject any executables that have the section. This patch makes lld
> > compatible with such operating systems.
>
> It's not the NetBSD loader, it's third party firmware loaders that's the
> problem. For the NetBSD loader itself, it's just extra noise.
> Nevertheless, thanks for the update.
>

Wait, if I knew NetBSD is fine with the former output, I might not have
made this change. I didn't like this change and submitted as a necessary
evil. What is that firmware? I'm inclined to roll back this patch.


> Joerg
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151122/9f1140d2/attachment.html>


More information about the llvm-commits mailing list