mingw-libffi/libffi-3.1-aarch64-fix-exec-stack.patch
Fabiano Fidêncio f6214e6a62 Add the same patches from its native counter part
Resolves: rhbz#1740764

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
2019-08-14 10:20:05 +02:00

12 lines
254 B
Diff

--- a/src/aarch64/sysv.S
+++ b/src/aarch64/sysv.S
@@ -396,3 +396,8 @@
#ifdef __ELF__
.size CNAME(ffi_closure_SYSV), .-CNAME(ffi_closure_SYSV)
#endif
+
+#if defined __ELF__ && defined __linux__
+ .section .note.GNU-stack,"",%progbits
+#endif
+