From 6ffb88792a63ed15117b01aae9ac844f7b6da1dc Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 10 Dec 2012 23:34:34 +0000 Subject: fix jit build patch to be correct for armv3 --- sdk/recipes/patches/spidermonkey/arm-unknown-riscos/MethodJIT.p | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'sdk/recipes/patches/spidermonkey') 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" ); -- cgit v1.2.3