ntdll: Fix returning from various ARM assembler functions.

This commit is contained in:
André Hentschel 2015-05-28 22:39:01 +02:00 committed by Alexandre Julliard
parent a18f84c0b1
commit c13be7446e
1 changed files with 2 additions and 2 deletions

View File

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