summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/crt0-pp.S
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2010-03-04 00:24:28 +0000
committerThomas Martitz <kugel@rockbox.org>2010-03-04 00:24:28 +0000
commit05c082267d5b6fc1ae1493fc262ff5e3b450d4cf (patch)
tree104695054e4453af86fbf39c8248850a5baaf036 /firmware/target/arm/crt0-pp.S
parent86f24582698f62da3a58a6d654034fe936611df7 (diff)
downloadrockbox-05c082267d5b6fc1ae1493fc262ff5e3b450d4cf.tar.gz
rockbox-05c082267d5b6fc1ae1493fc262ff5e3b450d4cf.zip
Fix ipodvideo64mb by making the branch to main a long call.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25019 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/crt0-pp.S')
-rw-r--r--firmware/target/arm/crt0-pp.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/crt0-pp.S b/firmware/target/arm/crt0-pp.S
index 2b54ed4148..31bf3d6e71 100644
--- a/firmware/target/arm/crt0-pp.S
+++ b/firmware/target/arm/crt0-pp.S
@@ -289,7 +289,7 @@ cpu_init:
str r3, [r4]
#endif
- bl main
+ ldr pc, =main
/* main() should never return */
cop_init:
@@ -328,7 +328,7 @@ cop_init:
msr cpsr_c, #0xd3
/* Run cop_main() in apps/main.c */
- bl cop_main
+ ldr pc, =cop_main
/* Exception handlers. Will be copied to address 0 after memory remapping */
.section .vectors,"aw"