diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-31 15:14:26 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-31 15:14:26 +0000 |
commit | 0ea79053951e64b659cb3b3d82eaed1c65bd43ea (patch) | |
tree | a36c33fd58a622af3a8244501ef88c225838edc8 /firmware/target/arm/imx31/crt0.S | |
parent | 74cee6297c87d9f94ff9d68ca19ba39fc7cc6ae6 (diff) | |
download | rockbox-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/imx31/crt0.S')
-rw-r--r-- | firmware/target/arm/imx31/crt0.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/imx31/crt0.S b/firmware/target/arm/imx31/crt0.S index ef2d7f40b9..d241fcb8ae 100644 --- a/firmware/target/arm/imx31/crt0.S +++ b/firmware/target/arm/imx31/crt0.S | |||
@@ -67,7 +67,7 @@ newstart: | |||
67 | strhi r4, [r1], #4 | 67 | strhi r4, [r1], #4 |
68 | bhi 1b | 68 | bhi 1b |
69 | 69 | ||
70 | mov pc, r6 | 70 | bx r6 |
71 | 71 | ||
72 | /* Remapping stub. No absolute addresses may be used until after the | 72 | /* Remapping stub. No absolute addresses may be used until after the |
73 | * remapping is complete. */ | 73 | * remapping is complete. */ |