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

ntdll: Fix returning from various ARM assembler functions.

parent a18f84c0
......@@ -283,7 +283,7 @@ __ASM_STDCALL_FUNC( RtlCaptureContext, 4,
"str PC, [r0, #0x40]\n\t" /* context->Pc */
"mrs r1, CPSR\n\t"
"str r1, [r0, #0x44]\n\t" /* context->Cpsr */
"mov PC, LR\n"
"bx lr"
)
......@@ -920,7 +920,7 @@ void signal_free_thread( TEB *teb )
extern void set_tpidrurw( TEB *teb );
__ASM_GLOBAL_FUNC( set_tpidrurw,
"mcr p15, 0, r0, c13, c0, 2\n\t" /* TEB -> TPIDRURW */
"blx lr" )
"bx lr" )
#else
void set_tpidrurw( TEB *teb )
{
......
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