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

This commit is contained in:
André Hentschel 2013-02-18 23:24:15 +01:00 committed by Alexandre Julliard
parent c44942789c
commit 242da67082

View File

@ -364,7 +364,8 @@ __ASM_GLOBAL_FUNC( call_entry_point,
"cmp r3, #0\n\t"
"beq 5f\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"
"ldr r0, [r2, r3]\n\t"
"str r0, [SP, r3]\n\t"