Fix "Ruby is not properly fortified on armv7hl".

See <https://bugs.ruby-lang.org/issues/16762> for more details.
This commit is contained in:
Samuel Williams 2020-12-08 21:21:28 +13:00
parent aeeaf90b7e
commit 09229c71bc
Notes: git 2020-12-08 19:38:17 +09:00
1 changed files with 4 additions and 0 deletions

View File

@ -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