summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/crt0-pp.S
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-31 15:14:26 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-31 15:14:26 +0000
commit0ea79053951e64b659cb3b3d82eaed1c65bd43ea (patch)
treea36c33fd58a622af3a8244501ef88c225838edc8 /firmware/target/arm/crt0-pp.S
parent74cee6297c87d9f94ff9d68ca19ba39fc7cc6ae6 (diff)
downloadrockbox-0ea79053951e64b659cb3b3d82eaed1c65bd43ea.tar.gz
rockbox-0ea79053951e64b659cb3b3d82eaed1c65bd43ea.zip
ARM: use BX when branch to an address in register
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26432 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/crt0-pp.S')
-rw-r--r--firmware/target/arm/crt0-pp.S2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/crt0-pp.S b/firmware/target/arm/crt0-pp.S
index 31bf3d6e71..ee95ac8899 100644
--- a/firmware/target/arm/crt0-pp.S
+++ b/firmware/target/arm/crt0-pp.S
@@ -163,7 +163,7 @@ remap_start:
str r2, [r1]
str r4, [r3]
ldr r1, L_post_remap
- mov pc, r1
+ bx r1
L_post_remap:
.word remap_end
remap_end: