chiark
/
gitweb
/
~mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1e8abdf
)
base/asm-common.h: Fix the sense of the `WANT_EXECUTABLE_STACK' check.
author
Mark Wooding
<mdw@distorted.org.uk>
Wed, 5 Apr 2017 07:59:33 +0000
(08:59 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Wed, 5 Apr 2017 08:06:42 +0000
(09:06 +0100)
Brown paper bag time.
base/asm-common.h
patch
|
blob
|
blame
|
history
diff --git
a/base/asm-common.h
b/base/asm-common.h
index 22bb44d6273dd6b2991f873c8e877ad42d2a3503..f4c4f6e3723729b4bab7d9dcc4ea008f670df040 100644
(file)
--- a/
base/asm-common.h
+++ b/
base/asm-common.h
@@
-1056,7
+1056,7
@@
name:
# define SIZE_OBJ(name)
#endif
# 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
.pushsection .note.GNU-stack, "", _SECTTY(progbits)
.popsection
#endif