Fix the previous arm EH change.
authorZoltan Varga <vargaz@gmail.com>
Fri, 19 Nov 2010 16:19:04 +0000 (17:19 +0100)
committerZoltan Varga <vargaz@gmail.com>
Fri, 19 Nov 2010 16:19:28 +0000 (17:19 +0100)
mono/mini/exceptions-arm.c

index ce7f21bfb7628d96778bf14533bb84400bd20cfd..b9321809669c91de8618646f3b15903dbf0f827c 100644 (file)
@@ -510,7 +510,7 @@ mono_arch_handle_exception (void *ctx, gpointer obj, gboolean test_only)
 
        UCONTEXT_REG_PC (sigctx) = (gsize)handle_signal_exception;
 #ifdef UCONTEXT_REG_CPSR
-       if ((gsize)UCONTEXT_REG_PC (sigctx) | 1)
+       if ((gsize)UCONTEXT_REG_PC (sigctx) & 1)
                /* Transition to thumb */
                UCONTEXT_REG_CPSR (sigctx) |= (1 << 5);
 #endif