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