X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/aec741b639db8923c2dba37671508464c0cd095d..1aa5bfa88ec9a7eeeff47e076242b2e9eda1d538:/base/asm-common.h diff --git a/base/asm-common.h b/base/asm-common.h index 08d4b548..946f8608 100644 --- a/base/asm-common.h +++ b/base/asm-common.h @@ -396,4 +396,9 @@ name: # define SIZE_OBJ(name) #endif +#if __ELF__ && defined(WANT_EXECUTABLE_STACK) + .pushsection .note.GNU-stack, "", _SECTTY(progbits) + .popsection +#endif + ///----- That's all, folks --------------------------------------------------