summaryrefslogtreecommitdiff
path: root/sdk/recipes/patches/spidermonkey
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2012-12-10 23:34:34 +0000
committerVincent Sanders <vince@kyllikki.org>2012-12-10 23:34:34 +0000
commit6ffb88792a63ed15117b01aae9ac844f7b6da1dc (patch)
tree727732bf89dc8e41268b87a70049712d057ad8a2 /sdk/recipes/patches/spidermonkey
parent9f96f97dcfacbed41ce1425072def3880f7d9a77 (diff)
downloadtoolchains-6ffb88792a63ed15117b01aae9ac844f7b6da1dc.tar.gz
toolchains-6ffb88792a63ed15117b01aae9ac844f7b6da1dc.tar.bz2
fix jit build patch to be correct for armv3
Diffstat (limited to 'sdk/recipes/patches/spidermonkey')
-rw-r--r--sdk/recipes/patches/spidermonkey/arm-unknown-riscos/MethodJIT.p5
1 files changed, 3 insertions, 2 deletions
diff --git a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/MethodJIT.p b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/MethodJIT.p
index 9236477..2d7ddb0 100644
--- a/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/MethodJIT.p
+++ b/sdk/recipes/patches/spidermonkey/arm-unknown-riscos/MethodJIT.p
@@ -55,12 +55,13 @@
" add sp, sp, #(4*7 + 4*4)" "\n"
" mov r0, #0" "\n"
" pop {r4-r11,pc}" "\n"
-@@ -551,7 +551,7 @@
+@@ -551,7 +551,8 @@
* The arguments are identical to those for js_* except that the target function should be in
* 'ip'. */
" push {ip,lr}" "\n"
-" blx ip" "\n"
-+" bl ip" "\n"
++" mov lr, pc" "\n"
++" mov pc, ip" "\n"
" pop {ip,pc}" "\n"
);