From 91c8af7df9960304fd6908dc6d54d7089b9734a7 Mon Sep 17 00:00:00 2001 From: Mark Wooding Date: Wed, 5 Apr 2017 08:59:33 +0100 Subject: [PATCH] base/asm-common.h: Fix the sense of the `WANT_EXECUTABLE_STACK' check. Brown paper bag time. --- base/asm-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.11.0