ntdll: Add stub for __chkstk on ARM.

This commit is contained in:
André Hentschel 2015-05-28 22:38:53 +02:00 committed by Alexandre Julliard
parent dd8287e9e8
commit a18f84c0b1
3 changed files with 8 additions and 2 deletions

View File

@ -1629,7 +1629,7 @@
@ stdcall WriteTapemark(ptr long long long) @ stdcall WriteTapemark(ptr long long long)
@ stdcall ZombifyActCtx(ptr) @ stdcall ZombifyActCtx(ptr)
@ stdcall -arch=x86_64 -private __C_specific_handler(ptr long ptr ptr) ntdll.__C_specific_handler @ stdcall -arch=x86_64 -private __C_specific_handler(ptr long ptr ptr) ntdll.__C_specific_handler
@ stdcall -arch=x86_64 -private -norelay __chkstk() ntdll.__chkstk @ stdcall -arch=arm,x86_64 -private -norelay __chkstk() ntdll.__chkstk
@ stub _DebugOut @ stub _DebugOut
@ stub _DebugPrintf @ stub _DebugPrintf
@ stdcall _hread(long ptr long) @ stdcall _hread(long ptr long)

View File

@ -1271,7 +1271,7 @@
@ cdecl -private -arch=i386 _CIsin() NTDLL__CIsin @ cdecl -private -arch=i386 _CIsin() NTDLL__CIsin
@ cdecl -private -arch=i386 _CIsqrt() NTDLL__CIsqrt @ cdecl -private -arch=i386 _CIsqrt() NTDLL__CIsqrt
@ stdcall -arch=x86_64 __C_specific_handler(ptr long ptr ptr) @ stdcall -arch=x86_64 __C_specific_handler(ptr long ptr ptr)
@ stdcall -private -arch=x86_64 -norelay __chkstk() @ stdcall -private -arch=arm,x86_64 -norelay __chkstk()
@ cdecl -private __isascii(long) NTDLL___isascii @ cdecl -private __isascii(long) NTDLL___isascii
@ cdecl -private __iscsym(long) NTDLL___iscsym @ cdecl -private __iscsym(long) NTDLL___iscsym
@ cdecl -private __iscsymf(long) NTDLL___iscsymf @ cdecl -private __iscsymf(long) NTDLL___iscsymf

View File

@ -247,6 +247,12 @@ static inline void restore_fpu( CONTEXT *context, const ucontext_t *sigcontext )
FIXME("not implemented\n"); FIXME("not implemented\n");
} }
/**************************************************************************
* __chkstk (NTDLL.@)
*
* Should check if we can decrement SP by the value provided in r4, but we shouldn't need that.
*/
__ASM_GLOBAL_FUNC( __chkstk, "bx lr" )
/*********************************************************************** /***********************************************************************
* RtlCaptureContext (NTDLL.@) * RtlCaptureContext (NTDLL.@)