[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:08:16 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).

It seems counter-intuitive. I don't know which systems even followed the
GNU madness of requiring special linking instead of non-executable stack as default.

Joerg


More information about the llvm-commits mailing list