diff options
-rw-r--r-- | firmware/target/arm/crt0-pp.S | 4 |
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: | |||
289 | str r3, [r4] | 289 | str r3, [r4] |
290 | #endif | 290 | #endif |
291 | 291 | ||
292 | bl main | 292 | ldr pc, =main |
293 | /* main() should never return */ | 293 | /* main() should never return */ |
294 | 294 | ||
295 | cop_init: | 295 | cop_init: |
@@ -328,7 +328,7 @@ cop_init: | |||
328 | msr cpsr_c, #0xd3 | 328 | msr cpsr_c, #0xd3 |
329 | 329 | ||
330 | /* Run cop_main() in apps/main.c */ | 330 | /* Run cop_main() in apps/main.c */ |
331 | bl cop_main | 331 | ldr pc, =cop_main |
332 | 332 | ||
333 | /* Exception handlers. Will be copied to address 0 after memory remapping */ | 333 | /* Exception handlers. Will be copied to address 0 after memory remapping */ |
334 | .section .vectors,"aw" | 334 | .section .vectors,"aw" |