Commit 242da670 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

ntdll: Correctly align the stack for odd numbers of arguments in relay traces on ARM.

parent c4494278
...@@ -364,7 +364,8 @@ __ASM_GLOBAL_FUNC( call_entry_point, ...@@ -364,7 +364,8 @@ __ASM_GLOBAL_FUNC( call_entry_point,
"cmp r3, #0\n\t" "cmp r3, #0\n\t"
"beq 5f\n\t" "beq 5f\n\t"
"sub SP, SP, r3\n\t" "sub SP, SP, r3\n\t"
"bic SP, SP, #15\n\t" "tst r1, #1\n\t"
"subeq SP, SP, #4\n\t"
"1:\tsub r3, r3, #4\n\t" "1:\tsub r3, r3, #4\n\t"
"ldr r0, [r2, r3]\n\t" "ldr r0, [r2, r3]\n\t"
"str r0, [SP, r3]\n\t" "str r0, [SP, r3]\n\t"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment