summaryrefslogtreecommitdiff
path: root/coroutine
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2021-03-04 21:43:23 +0000
committerSamuel Williams <samuel.williams@oriontransfer.co.nz>2021-03-05 14:26:00 +1300
commitc230ccdba6cda107f3a5bcd540afa3e75677a676 (patch)
tree3739d2691b8af69abe25407df2b10274594ddc9b /coroutine
parent446d000e1148d4dd1dc5e0d3a745dbc205457632 (diff)
coroutine arm64 generating note.GNU-stack section for linux.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/4238
Diffstat (limited to 'coroutine')
-rw-r--r--coroutine/arm64/Context.S4
1 files changed, 4 insertions, 0 deletions
diff --git a/coroutine/arm64/Context.S b/coroutine/arm64/Context.S
index 04e3f6d1ef..e2bd5b3090 100644
--- a/coroutine/arm64/Context.S
+++ b/coroutine/arm64/Context.S
@@ -60,3 +60,7 @@ PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer):
# Jump to return address (in x4)
ret x4
+
+#if defined(__linux__) && defined(__ELF__)
+.section .note.GNU-stack,"",%progbits
+#endif