[PATCH] D15969: [WebAssembly] Don't create a needless .note.GNU-stack section

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 7 14:41:19 PST 2016


On Thu, Jan 07, 2016 at 10:37:06PM +0000, Dan Gohman via llvm-commits wrote:
> WebAssembly's stack will never be executable by default, so it isn't
> necessary to declare .note.GNU-stack sections to request a non-executable stack.

I'd prefer to have a usesNonexecutableStackSection hook instead. NetBSD
has similiar constraints here and I don't think changing the
implementation is really desirable anyway.

Joerg


More information about the llvm-commits mailing list