Module: wine Branch: master Commit: 6083c69a3b4f4432e06ed8803e75bad102a866fe URL: https://source.winehq.org/git/wine.git/?a=commit;h=6083c69a3b4f4432e06ed8803...
Author: Alexandre Julliard julliard@winehq.org Date: Mon Jan 18 11:44:17 2021 +0100
vcomp: Make inline asm compatible with Thumb-2.
Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/vcomp/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/vcomp/main.c b/dlls/vcomp/main.c index 3c6d48d41cc..7b97dfc72c8 100644 --- a/dlls/vcomp/main.c +++ b/dlls/vcomp/main.c @@ -200,7 +200,6 @@ __ASM_GLOBAL_FUNC( _vcomp_fork_call_wrapper,
extern void CDECL _vcomp_fork_call_wrapper(void *wrapper, int nargs, __ms_va_list args); __ASM_GLOBAL_FUNC( _vcomp_fork_call_wrapper, - ".arm\n\t" "push {r4, r5, LR}\n\t" "mov r4, r0\n\t" "mov r5, SP\n\t" @@ -209,6 +208,7 @@ __ASM_GLOBAL_FUNC( _vcomp_fork_call_wrapper, "beq 5f\n\t" "sub SP, SP, r3\n\t" "tst r1, #1\n\t" + "it eq\n\t" "subeq SP, SP, #4\n\t" "1:\tsub r3, r3, #4\n\t" "ldr r0, [r2, r3]\n\t"