ntdll: Make sure RtlCaptureContext doesn't compile as Thumb but ARM
André Hentschel
nerv at dawncrow.de
Thu Apr 21 11:32:07 CDT 2011
This stops the rest of possible assembler errors
---
dlls/ntdll/signal_arm.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/dlls/ntdll/signal_arm.c b/dlls/ntdll/signal_arm.c
index 49caec8..ce65688 100644
--- a/dlls/ntdll/signal_arm.c
+++ b/dlls/ntdll/signal_arm.c
@@ -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 */
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list