base/asm-common.h: Fix the sense of the `WANT_EXECUTABLE_STACK' check.
[catacomb] / base / asm-common.h
index 22bb44d..f4c4f6e 100644 (file)
@@ -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