summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--coroutine/x86/Context.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/coroutine/x86/Context.S b/coroutine/x86/Context.S
index 5fc0cccc24..d6a0a2def7 100644
--- a/coroutine/x86/Context.S
+++ b/coroutine/x86/Context.S
@@ -37,3 +37,7 @@ _coroutine_transfer:
# Jump to the address on the stack
ret
+
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif