summaryrefslogtreecommitdiff
path: root/recipes/mono/mono-1.9.1+2.2-rc1/fix-eabi-syscall.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mono/mono-1.9.1+2.2-rc1/fix-eabi-syscall.patch')
-rw-r--r--recipes/mono/mono-1.9.1+2.2-rc1/fix-eabi-syscall.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/mono/mono-1.9.1+2.2-rc1/fix-eabi-syscall.patch b/recipes/mono/mono-1.9.1+2.2-rc1/fix-eabi-syscall.patch
new file mode 100644
index 0000000000..b752a8bd14
--- /dev/null
+++ b/recipes/mono/mono-1.9.1+2.2-rc1/fix-eabi-syscall.patch
@@ -0,0 +1,12 @@
+--- mono.orig/mono/mini/mini-arm.c 2008/12/12 19:49:41 121457
++++ mono/mono/mini/mini-arm.c 2009/01/05 08:58:47 122416
+@@ -581,6 +581,8 @@
+ {
+ #if __APPLE__
+ sys_icache_invalidate (code, size);
++#elif ((__GNUC__ >= 4) && (__GNUC_MINOR__ >= 1))
++ __clear_cache (code, code + size);
+ #else
+ __asm __volatile ("mov r0, %0\n"
+ "mov r1, %1\n"
+