Skip to content
Snippets Groups Projects
Commit d0ea543f authored by André Zwing's avatar André Zwing Committed by Alexandre Julliard
Browse files

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

parent dad65985
Branches
Tags
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment