blob: b752a8bd14546b135869bc348a5a09265bf5e958 (
plain)
1
2
3
4
5
6
7
8
9
10
11
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"
|