aboutsummaryrefslogtreecommitdiffstats
path: root/coroutine/amd64/Context.S
diff options
context:
space:
mode:
Diffstat (limited to 'coroutine/amd64/Context.S')
-rw-r--r--coroutine/amd64/Context.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/coroutine/amd64/Context.S b/coroutine/amd64/Context.S
index 051db1c5e8..d50732adbc 100644
--- a/coroutine/amd64/Context.S
+++ b/coroutine/amd64/Context.S
@@ -41,6 +41,6 @@ PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer):
# We pop the return address and jump to it
ret
-#if defined(__linux__) && defined(__ELF__)
+#if (defined(__linux__) || defined(__FreeBSD__)) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif