<div dir="ltr">Does a loader reject an executable if it does not understand PT_GNU_STACK section?<div><br></div><div class="gmail_extra"><div class="gmail_quote">On Mon, Nov 16, 2015 at 8:39 AM, Joerg Sonnenberger via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, Nov 16, 2015 at 03:04:45PM +0000, Ed Maste via llvm-commits wrote:<br>
> emaste added a subscriber: emaste.<br>
> emaste added a comment.<br>
><br>
> In <a href="http://reviews.llvm.org/D14571#289972" rel="noreferrer" target="_blank">http://reviews.llvm.org/D14571#289972</a>, @grimar wrote:<br>
><br>
> > Returning to the problem itself, do really many loaders does not support PT_GNU_STACK ? It seems to be old enough feature (I can see mails of 2007 year in main archive of the <a href="mailto:binutils@sourceware.org">binutils@sourceware.org</a>).<br>
><br>
><br>
> For FreeBSD we added support in January 2011, r217153. Because the issue was raised by @joerg I'd guess NetBSD's rtld doesn't support it.<br>
><br>
> Do we have a list of the ELF systems we desire to support in lld?<br>
<br>
</span>The problem is that there are legacy loaders e.g. on PowerPC that can't<br>
be updated. It's not supported on NetBSD because the stack is not<br>
executable by default, period. But that's a slightly different story.<br></blockquote><div><br></div><div>Why do you want to use a new linker with an older system?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb"><div class="h5"><br>
Joerg<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div></div>