Blame SOURCES/libffi-3.1-fix-exec-stack.patch

4c2bdc
From 978c9540154d320525488db1b7049277122f736d Mon Sep 17 00:00:00 2001
4c2bdc
From: Samuli Suominen <ssuominen@gentoo.org>
4c2bdc
Date: Sat, 31 May 2014 08:53:10 -0400
4c2bdc
Subject: [PATCH] Add missing GNU stack markings in win32.S
4c2bdc
4c2bdc
---
4c2bdc
 src/x86/win32.S | 6 +++++-
4c2bdc
 1 file changed, 5 insertions(+), 1 deletion(-)
4c2bdc
4c2bdc
diff --git a/src/x86/win32.S b/src/x86/win32.S
4c2bdc
index daf0e79..e42baf2 100644
4c2bdc
--- a/src/x86/win32.S
4c2bdc
+++ b/src/x86/win32.S
4c2bdc
@@ -1,5 +1,6 @@
4c2bdc
 /* -----------------------------------------------------------------------
4c2bdc
-   win32.S - Copyright (c) 1996, 1998, 2001, 2002, 2009  Red Hat, Inc.
4c2bdc
+   win32.S - Copyright (c) 2014  Anthony Green
4c2bdc
+	     Copyright (c) 1996, 1998, 2001, 2002, 2009  Red Hat, Inc.
4c2bdc
 	     Copyright (c) 2001  John Beniton
4c2bdc
 	     Copyright (c) 2002  Ranjit Mathew
4c2bdc
 	     Copyright (c) 2009  Daniel Witte
4c2bdc
@@ -1304,3 +1305,6 @@ L_ffi_closure_SYSV_inner$stub:
4c2bdc
 
4c2bdc
 #endif /* !_MSC_VER */
4c2bdc
 
4c2bdc
+#if defined __ELF__ && defined __linux__
4c2bdc
+	.section	.note.GNU-stack,"",@progbits
4c2bdc
+#endif
4c2bdc
-- 
4c2bdc
1.9.3
4c2bdc