forked from pool/mono-core
a22a803e72
- retrieve from upstream all ppc patches not yet in 4.2.1 tarball ppc_instruction_length_of_atomic_add_i4_is_28.patch fix_atomic_add_i4_support_for_32bit_ppc.patch basic_changes_powerpc_be.patch (already done yesterday) ppc_add_monocontext_and_async_callback.patch fix_passing_struct_parms_per_elf_abiv2.patch update_elf_abiv2_testcases.patch partial_sharing_false_4_powerpc.patch fix_exception_when_reading_from_timezone_file.patch OBS-URL: https://build.opensuse.org/request/show/348353 OBS-URL: https://build.opensuse.org/package/show/Mono:Factory/mono-core?expand=0&rev=162
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);
|
|
}
|
|
|
|
/*
|