diff options
author | Vincent Sanders <vince@kyllikki.org> | 2012-12-10 23:34:34 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2012-12-10 23:34:34 +0000 |
commit | 6ffb88792a63ed15117b01aae9ac844f7b6da1dc (patch) | |
tree | 727732bf89dc8e41268b87a70049712d057ad8a2 /sdk/recipes/patches | |
parent | 9f96f97dcfacbed41ce1425072def3880f7d9a77 (diff) | |
download | toolchains-6ffb88792a63ed15117b01aae9ac844f7b6da1dc.tar.gz toolchains-6ffb88792a63ed15117b01aae9ac844f7b6da1dc.tar.bz2 |
fix jit build patch to be correct for armv3
Diffstat (limited to 'sdk/recipes/patches')
-rw-r--r-- | sdk/recipes/patches/spidermonkey/arm-unknown-riscos/MethodJIT.p | 5 |
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" ); |