aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
Diffstat (limited to 'code')
-rw-r--r--code/unix/qasm.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/code/unix/qasm.h b/code/unix/qasm.h
index 25a0ed9..9d030d6 100644
--- a/code/unix/qasm.h
+++ b/code/unix/qasm.h
@@ -28,6 +28,10 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#undef ELF
#endif
+#ifdef __ELF__
+.section .note.GNU-stack,"",@progbits
+#endif
+
#ifdef ELF
#define C(label) label
#else