libffi/SOURCES/libffi-3.1-aarch64-fix-exec...

12 lines
254 B
Diff
Raw Normal View History

2019-05-07 09:45:46 +00:00
--- 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
+