]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blame - boost/patches/boost-1.51.0-context-no-exec-stack.patch
libvirt: Update to 1.3.3
[people/amarx/ipfire-3.x.git] / boost / patches / boost-1.51.0-context-no-exec-stack.patch
CommitLineData
998f9637
SS
1diff -Nur a/libs/context/src/asm/fcontext_arm_aapcs_elf_gas.S b/libs/context/src/asm/fcontext_arm_aapcs_elf_gas.S
2--- a/libs/context/src/asm/fcontext_arm_aapcs_elf_gas.S 2012-07-03 21:12:31.000000000 +0200
3+++ b/libs/context/src/asm/fcontext_arm_aapcs_elf_gas.S 2012-10-27 19:25:08.016850683 +0200
4@@ -45,6 +45,10 @@
5 * *
6 * *****************************************************************/
7
8+#if defined(__linux__) && defined(__ELF__)
9+.section .note.GNU-stack,"",%progbits
10+#endif
11+
12 .text
13 .globl jump_fcontext
14 .align 2
15diff -Nur a/libs/context/src/asm/fcontext_i386_sysv_elf_gas.S b/libs/context/src/asm/fcontext_i386_sysv_elf_gas.S
16--- a/libs/context/src/asm/fcontext_i386_sysv_elf_gas.S 2012-07-03 21:12:31.000000000 +0200
17+++ b/libs/context/src/asm/fcontext_i386_sysv_elf_gas.S 2012-10-27 19:24:34.166680913 +0200
18@@ -31,6 +31,10 @@
19 * *
20 * *****************************************************************/
21
22+#if defined(__linux__) && defined(__ELF__)
23+.section .note.GNU-stack,"",%progbits
24+#endif
25+
26 .text
27 .globl jump_fcontext
28 .align 2