aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--rdrand_asm.S6
1 files changed, 6 insertions, 0 deletions
diff --git a/rdrand_asm.S b/rdrand_asm.S
index c5567d8..55098e8 100644
--- a/rdrand_asm.S
+++ b/rdrand_asm.S
@@ -193,3 +193,9 @@ aes_fwd_state:
.size aes_fwd_state, .-aes_fwd_state
#endif /* i386 or x86_64 */
+
+/*
+ * This is necessary to keep the whole executable
+ * from needing a writable stack.
+ */
+ .section .note.GNU-stack,"",%progbits