ceph/cmake/modules/boost_context_asm_arm_syntax_unified.patch
Kefu Chai 111d10df52 cmake: move boost patch to cmake/modules
as it's used by cmake only

Signed-off-by: Kefu Chai <kchai@redhat.com>
2019-06-12 16:32:10 +08:00

37 lines
1.2 KiB
Diff

diff --git a/libs/context/src/asm/jump_arm_aapcs_elf_gas.S b/src/Boost/libs/context/src/asm/jump_arm_aapcs_elf_gas.S
index d0f7fa2..58d11b0 100644
--- a/libs/context/src/asm/jump_arm_aapcs_elf_gas.S
+++ b/libs/context/src/asm/jump_arm_aapcs_elf_gas.S
@@ -42,6 +42,7 @@
.globl jump_fcontext
.align 2
.type jump_fcontext,%function
+.syntax unified
jump_fcontext:
@ save LR as PC
push {lr}
diff --git a/libs/context/src/asm/make_arm_aapcs_elf_gas.S b/src/Boost/libs/context/src/asm/make_arm_aapcs_elf_gas.S
index 98819a2..b88ff68 100644
--- a/libs/context/src/asm/make_arm_aapcs_elf_gas.S
+++ b/libs/context/src/asm/make_arm_aapcs_elf_gas.S
@@ -42,6 +42,7 @@
.globl make_fcontext
.align 2
.type make_fcontext,%function
+.syntax unified
make_fcontext:
@ shift address in A1 to lower 16 byte boundary
bic a1, a1, #15
diff --git a/libs/context/src/asm/ontop_arm_aapcs_elf_gas.S b/src/Boost/libs/context/src/asm/ontop_arm_aapcs_elf_gas.S
index 9d9198f..2efebbb 100644
--- a/libs/context/src/asm/ontop_arm_aapcs_elf_gas.S
+++ b/libs/context/src/asm/ontop_arm_aapcs_elf_gas.S
@@ -42,6 +42,7 @@
.globl ontop_fcontext
.align 2
.type ontop_fcontext,%function
+.syntax unified
ontop_fcontext:
@ save LR as PC
push {lr}