From 09229c71bcdc82b2e7c3138baa4cb2696b97ec5d Mon Sep 17 00:00:00 2001 From: Samuel Williams Date: Tue, 8 Dec 2020 21:21:28 +1300 Subject: Fix "Ruby is not properly fortified on armv7hl". See for more details. --- coroutine/arm32/Context.S | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'coroutine') 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 -- cgit v1.2.3