summaryrefslogtreecommitdiff
path: root/packages/cacao/files/cacao-0.98+hg-arm-cacheflush-fix.patch
diff options
context:
space:
mode:
authorFlorian Boor <florian.boor@kernelconcepts.de>2008-01-21 21:09:09 +0000
committerFlorian Boor <florian.boor@kernelconcepts.de>2008-01-21 21:09:09 +0000
commitafd58cdcce656ced784bfca78d7d96e2edca8cee (patch)
treeb49291fedc042760b35f74afa9b7e82b591147e5 /packages/cacao/files/cacao-0.98+hg-arm-cacheflush-fix.patch
parentac6de0f3c0d8d5fe5708d9125c1319fbf5d627a6 (diff)
parenta7a4c7d6f9bbcda53d3bf07d51142d41e1a4558b (diff)
merge of '1cc9d40e03f431fac4150580f6a58521cae55509'
and 'a250ef0b1707ead866fe051ca88c56e538d51bfb'
Diffstat (limited to 'packages/cacao/files/cacao-0.98+hg-arm-cacheflush-fix.patch')
-rw-r--r--packages/cacao/files/cacao-0.98+hg-arm-cacheflush-fix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/packages/cacao/files/cacao-0.98+hg-arm-cacheflush-fix.patch b/packages/cacao/files/cacao-0.98+hg-arm-cacheflush-fix.patch
new file mode 100644
index 0000000000..4e63f501ff
--- /dev/null
+++ b/packages/cacao/files/cacao-0.98+hg-arm-cacheflush-fix.patch
@@ -0,0 +1,18 @@
+diff -r df1b780317c3 src/vm/jit/arm/asmpart.S
+--- a/src/vm/jit/arm/asmpart.S Thu Jan 17 01:01:35 2008 +0100
++++ b/src/vm/jit/arm/asmpart.S Mon Jan 21 00:14:41 2008 +0100
+@@ -323,10 +323,11 @@ asm_cacheflush:
+ mov a1, #0xff000000
+ #endif
+
++#if defined(__ARM_EABI__)
++ swi 0x0
++ ldmfd sp!, {r7}
++#else
+ swi sys_cacheflush
+-
+-#if defined(__ARM_EABI__)
+- ldmfd sp!, {r7}
+ #endif
+
+ mov pc, lr