diff options
author | Samuel Williams <[email protected]> | 2020-12-08 21:21:28 +1300 |
---|---|---|
committer | Samuel Williams <[email protected]> | 2020-12-08 23:37:42 +1300 |
commit | 09229c71bcdc82b2e7c3138baa4cb2696b97ec5d (patch) | |
tree | 8cf7d374cf34dd9d602c2593f5bf0de72a9f8396 /coroutine/arm32 | |
parent | aeeaf90b7ee8230425e8c68cb9cfc962b0a186f4 (diff) |
Fix "Ruby is not properly fortified on armv7hl".
See <https://bugs.ruby-lang.org/issues/16762> for more details.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3866
Diffstat (limited to 'coroutine/arm32')
-rw-r--r-- | coroutine/arm32/Context.S | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/coroutine/arm32/Context.S b/coroutine/arm32/Context.S index c5338f0b67..1850c4c408 100644 --- a/coroutine/arm32/Context.S +++ b/coroutine/arm32/Context.S @@ -27,3 +27,7 @@ PREFIXED_SYMBOL(SYMBOL_PREFIX,coroutine_transfer): # Restore callee state (8 registers program counter) pop {r4-r11,pc} + +#if defined(__linux__) && defined(__ELF__) +.section .note.GNU-stack,"",%progbits +#endif |