[PATCH] D14571: [ELF2] - Implemented PT_GNU_STACK support, -z execstack option.

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 16 07:09:17 PST 2015


On Mon, Nov 16, 2015 at 11:26:08AM +0000, George Rimar via llvm-commits wrote:
> grimar added a comment.
> 
> In http://reviews.llvm.org/D14571#289855, @joerg wrote:
> 
> > This is breaking compatibility with legacy ELF loaders :( It should really be possible to create binaries without this stupid mess.
> 
> 
> Can -z execstack help this ? It restores original behavior (ho header, rw stack).

Also, it seems like lld/trunk/test/elf2/gnustack.s tests that
PT_GNU_STACK is still created in that case?

Joerg


More information about the llvm-commits mailing list