The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / libffi / 0004-Add-missing-GNU-stack-markings-in-win32.S.patch
1 From 978c9540154d320525488db1b7049277122f736d Mon Sep 17 00:00:00 2001
2 From: Samuli Suominen <ssuominen@gentoo.org>
3 Date: Sat, 31 May 2014 08:53:10 -0400
4 Subject: [PATCH 06/10] Add missing GNU stack markings in win32.S
5
6 This patch was borrowed from upstream, commit
7 978c9540154d320525488db1b7049277122f736d, and will be part of the next
8 3.1.1 release.
9
10 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
11 ---
12  src/x86/win32.S | 6 +++++-
13  1 file changed, 5 insertions(+), 1 deletion(-)
14
15 diff --git a/src/x86/win32.S b/src/x86/win32.S
16 index daf0e79..e42baf2 100644
17 --- a/src/x86/win32.S
18 +++ b/src/x86/win32.S
19 @@ -1,5 +1,6 @@
20  /* -----------------------------------------------------------------------
21 -   win32.S - Copyright (c) 1996, 1998, 2001, 2002, 2009  Red Hat, Inc.
22 +   win32.S - Copyright (c) 2014  Anthony Green
23 +            Copyright (c) 1996, 1998, 2001, 2002, 2009  Red Hat, Inc.
24              Copyright (c) 2001  John Beniton
25              Copyright (c) 2002  Ranjit Mathew
26              Copyright (c) 2009  Daniel Witte
27 @@ -1304,3 +1305,6 @@ L_ffi_closure_SYSV_inner$stub:
28  
29  #endif /* !_MSC_VER */
30  
31 +#if defined __ELF__ && defined __linux__
32 +       .section        .note.GNU-stack,"",@progbits
33 +#endif
34 -- 
35 2.0.0
36