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

ntdll: Make sure RtlCaptureContext doesn't compile as Thumb but ARM.

parent dad65985
......@@ -173,6 +173,7 @@ static inline void restore_fpu( CONTEXT *context, const ucontext_t *sigcontext )
*/
/* FIXME: Use the Stack instead of the actual register values */
__ASM_STDCALL_FUNC( RtlCaptureContext, 4,
".arm\n\t"
"stmfd SP!, {r1}\n\t"
"mov r1, #0x40\n\t" /* CONTEXT_ARM */
"add r1, r1, #0x3\n\t" /* CONTEXT_FULL */
......
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