Fix fortifications on armv7hl.
This commit is contained in:
parent
45186be1b9
commit
153f2c16fe
2 changed files with 16 additions and 0 deletions
12
ruby-2.8.0-Annotate-execstack.patch
Normal file
12
ruby-2.8.0-Annotate-execstack.patch
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
diff --git a/coroutine/arm32/Context.S b/coroutine/arm32/Context.S
|
||||
index b66db29622..596284b5cf 100644
|
||||
--- a/coroutine/arm32/Context.S
|
||||
+++ b/coroutine/arm32/Context.S
|
||||
@@ -24,3 +24,7 @@ coroutine_transfer:
|
||||
|
||||
# Restore callee state (8 registers program counter)
|
||||
pop {r4-r11,pc}
|
||||
+
|
||||
+#if defined(__linux__) && defined(__ELF__)
|
||||
+.section .note.GNU-stack,"",%progbits
|
||||
+#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue