Commit 2b095bea authored by Mohamed Mediouni's avatar Mohamed Mediouni Committed by Alexandre Julliard

ntdll: Multiply r4 with the word size in ARM for __chkstk.

parent dc1b177a
......@@ -250,9 +250,10 @@ static inline void restore_fpu( CONTEXT *context, const ucontext_t *sigcontext )
/**************************************************************************
* __chkstk (NTDLL.@)
*
* Should check if we can decrement SP by the value provided in r4, but we shouldn't need that.
* Incoming r4 contains words to allocate, converting to bytes then return
*/
__ASM_GLOBAL_FUNC( __chkstk, "bx lr" )
__ASM_GLOBAL_FUNC( __chkstk, "lsl r4, r4, #2\n\t"
"bx lr" )
/***********************************************************************
* RtlCaptureContext (NTDLL.@)
......
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