base/asm-common.h: Fix the sense of the `WANT_EXECUTABLE_STACK' check.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 5 Apr 2017 07:59:33 +0000 (08:59 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 5 Apr 2017 08:06:42 +0000 (09:06 +0100)
Brown paper bag time.

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