forked from pool/mono-core
25 lines
782 B
Diff
25 lines
782 B
Diff
|
From 35b511524a4d15b75cfbba982d82b7abef3a29dc Mon Sep 17 00:00:00 2001
|
||
|
From: Bill Seurer <seurer@linux.vnet.ibm.com>
|
||
|
Date: Tue, 8 Dec 2015 12:52:01 -0600
|
||
|
Subject: [PATCH] [ppc] Temporary fix for power to get builds working.
|
||
|
|
||
|
|
||
|
---
|
||
|
mono/mini/mini-ppc.c | 3 +++
|
||
|
1 file changed, 3 insertions(+)
|
||
|
|
||
|
Index: mono-4.2.1/mono/mini/mini-ppc.c
|
||
|
===================================================================
|
||
|
--- mono-4.2.1.orig/mono/mini/mini-ppc.c
|
||
|
+++ mono-4.2.1/mono/mini/mini-ppc.c
|
||
|
@@ -627,6 +627,9 @@ mono_arch_init (void)
|
||
|
mono_mprotect (bp_trigger_page, mono_pagesize (), 0);
|
||
|
|
||
|
mono_aot_register_jit_icall ("mono_ppc_throw_exception", mono_ppc_throw_exception);
|
||
|
+
|
||
|
+ // FIXME: Fix partial sharing for power and remove this
|
||
|
+ mono_set_partial_sharing_supported (FALSE);
|
||
|
}
|
||
|
|
||
|
/*
|