summaryrefslogtreecommitdiff
path: root/coroutine/x86
diff options
context:
space:
mode:
Diffstat (limited to 'coroutine/x86')
-rw-r--r--coroutine/x86/Context.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/coroutine/x86/Context.S b/coroutine/x86/Context.S
index 6983f21c3b..f06a417084 100644
--- a/coroutine/x86/Context.S
+++ b/coroutine/x86/Context.S
@@ -37,6 +37,6 @@ PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer):
# Jump to the address on the stack
ret
-#if defined(__linux__) && defined(__ELF__)
+#if (defined(__linux__) || defined(__FreeBSD__)) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif