31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
$OpenBSD: patch-mono_mini_exceptions-ppc_c,v 1.2 2010/03/29 10:32:06 robert Exp $
|
|
--- mono/mini/exceptions-ppc.c.orig Mon Mar 29 08:20:27 2010
|
|
+++ mono/mini/exceptions-ppc.c Mon Mar 29 08:23:00 2010
|
|
@@ -637,7 +637,7 @@ mono_arch_find_jit_info (MonoDomain *domain, MonoJitTl
|
|
void
|
|
mono_arch_sigctx_to_monoctx (void *ctx, MonoContext *mctx)
|
|
{
|
|
-#ifdef MONO_CROSS_COMPILE
|
|
+#if defined(MONO_CROSS_COMPILE) || !defined(MONO_ARCH_USE_SIGACTION)
|
|
g_assert_not_reached ();
|
|
#else
|
|
os_ucontext *uc = ctx;
|
|
@@ -652,7 +652,7 @@ mono_arch_sigctx_to_monoctx (void *ctx, MonoContext *m
|
|
void
|
|
mono_arch_monoctx_to_sigctx (MonoContext *mctx, void *ctx)
|
|
{
|
|
-#ifdef MONO_CROSS_COMPILE
|
|
+#if defined(MONO_CROSS_COMPILE) || !defined(MONO_ARCH_USE_SIGACTION)
|
|
g_assert_not_reached ();
|
|
#else
|
|
os_ucontext *uc = ctx;
|
|
@@ -667,7 +667,7 @@ mono_arch_monoctx_to_sigctx (MonoContext *mctx, void *
|
|
gpointer
|
|
mono_arch_ip_from_context (void *sigctx)
|
|
{
|
|
-#ifdef MONO_CROSS_COMPILE
|
|
+#if defined(MONO_CROSS_COMPILE) || !defined(MONO_ARCH_USE_SIGACTION)
|
|
g_assert_not_reached ();
|
|
#else
|
|
os_ucontext *uc = sigctx;
|