From: Mark Wooding Date: Wed, 5 Apr 2017 07:59:33 +0000 (+0100) Subject: base/asm-common.h: Fix the sense of the `WANT_EXECUTABLE_STACK' check. X-Git-Tag: 2.3.0.1~1 X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/commitdiff_plain/91c8af7df9960304fd6908dc6d54d7089b9734a7 base/asm-common.h: Fix the sense of the `WANT_EXECUTABLE_STACK' check. Brown paper bag time. --- diff --git a/base/asm-common.h b/base/asm-common.h index 22bb44d6..f4c4f6e3 100644 --- a/base/asm-common.h +++ b/base/asm-common.h @@ -1056,7 +1056,7 @@ name: # define SIZE_OBJ(name) #endif -#if __ELF__ && defined(WANT_EXECUTABLE_STACK) +#if __ELF__ && !defined(WANT_EXECUTABLE_STACK) .pushsection .note.GNU-stack, "", _SECTTY(progbits) .popsection #endif