diff options
author | David Carlier <[email protected]> | 2021-03-04 21:43:23 +0000 |
---|---|---|
committer | Samuel Williams <[email protected]> | 2021-03-05 14:26:00 +1300 |
commit | c230ccdba6cda107f3a5bcd540afa3e75677a676 (patch) | |
tree | 3739d2691b8af69abe25407df2b10274594ddc9b /coroutine/arm64/Context.S | |
parent | 446d000e1148d4dd1dc5e0d3a745dbc205457632 (diff) |
coroutine arm64 generating note.GNU-stack section for linux.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/4238
Diffstat (limited to 'coroutine/arm64/Context.S')
-rw-r--r-- | coroutine/arm64/Context.S | 4 |
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 |