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

Alexandre Julliard julliard at winehq.org
Fri Apr 22 12:27:42 CDT 2011


Module: wine
Branch: master
Commit: d0ea543f11419a7c588c63ee5d3849d04e21a12c
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d0ea543f11419a7c588c63ee5d3849d04e21a12c

Author: André Hentschel <nerv at dawncrow.de>
Date:   Thu Apr 21 18:32:07 2011 +0200

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

---

 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 */




More information about the wine-cvs mailing list