]> git.pld-linux.org Git - packages/boost.git/blame - boost-x32-context.patch
- fix known compilation breakage
[packages/boost.git] / boost-x32-context.patch
CommitLineData
bfed7e70
JR
1--- boost_1_58_0/libs/context/src/asm/jump_i386_sysv_elf_gas.S
2+++ boost_1_58_0/libs/context/src/asm/jump_i386_sysv_elf_gas.S
3@@ -17,6 +17,10 @@
bab7ef8c 4 * *
bfed7e70 5 ****************************************************************************************/
bab7ef8c 6
bfed7e70
JR
7+#ifdef __x86_64__
8+#include "jump_x86_64_sysv_elf_gas.S"
bab7ef8c 9+#else
bab7ef8c
JR
10+
11 .text
12 .globl jump_fcontext
bfed7e70
JR
13 .align 2
14@@ -88,3 +92,5 @@
bab7ef8c 15
bfed7e70
JR
16 /* Mark that we don't need executable stack. */
17 .section .note.GNU-stack,"",%progbits
18+
19+#endif
20--- boost_1_58_0/libs/context/src/asm/make_i386_sysv_elf_gas.S
21+++ boost_1_58_0/libs/context/src/asm/make_i386_sysv_elf_gas.S
22@@ -17,6 +17,10 @@
bab7ef8c 23 * *
bfed7e70 24 ****************************************************************************************/
bab7ef8c 25
bfed7e70
JR
26+#ifdef __x86_64__
27+#include "make_x86_64_sysv_elf_gas.S"
bab7ef8c 28+#else
bab7ef8c
JR
29+
30 .text
31 .globl make_fcontext
bfed7e70
JR
32 .align 2
33@@ -75,3 +79,5 @@
bab7ef8c 34
bfed7e70
JR
35 /* Mark that we don't need executable stack. */
36 .section .note.GNU-stack,"",%progbits
37+
bab7ef8c 38+#endif
This page took 0.070905 seconds and 4 git commands to generate.