summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/libffi/clearcache.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/data/libffi/clearcache.diff b/data/libffi/clearcache.diff
new file mode 100644
index 000000000..e9bbdfa9a
--- /dev/null
+++ b/data/libffi/clearcache.diff
@@ -0,0 +1,14 @@
+diff -ru gcc/libffi/src/arm/ffi.c gcc+iPhone/libffi/src/arm/ffi.c
+--- gcc/libffi/src/arm/ffi.c 2007-09-04 17:52:45.000000000 +0000
++++ gcc+iPhone/libffi/src/arm/ffi.c 2010-11-23 23:18:14.000000000 +0000
+@@ -270,6 +270,10 @@
+ return;
+ }
+
++#ifdef __APPLE__
++#define __clear_cache(a, b)
++#endif
++
+ /* How to make a trampoline. */
+
+ #define FFI_INIT_TRAMPOLINE(TRAMP,FUN,CTX) \