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

This commit is contained in:
Mohamed Mediouni 2015-06-15 19:22:45 +00:00 committed by Alexandre Julliard
parent dc1b177a1a
commit 2b095beace
1 changed files with 3 additions and 2 deletions

View File

@ -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.@)