diff options
author | Robert Schuster <thebohemian@gmx.net> | 2008-01-21 00:35:18 +0000 |
---|---|---|
committer | Robert Schuster <thebohemian@gmx.net> | 2008-01-21 00:35:18 +0000 |
commit | ec293c5c0601f230f74e1d2e0212cfddaa009450 (patch) | |
tree | 91be29898c06f0bf7c01846032ee40bfea9324ac /packages/cacao/files | |
parent | 86c61ef2ae6d8c4d1c6b97a221874086f146c641 (diff) |
cacao: Fix cache flushing.
- removed workaround patch
- added real fix OABI and EABI compliant cacheflushing
Diffstat (limited to 'packages/cacao/files')
-rw-r--r-- | packages/cacao/files/cacao-0.98+hg-arm-cacheflush-fix.patch | 18 |
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 |