diff options
Diffstat (limited to 'ports/ARM7-AT91SAM7X/crt0.s')
-rw-r--r-- | ports/ARM7-AT91SAM7X/crt0.s | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ports/ARM7-AT91SAM7X/crt0.s b/ports/ARM7-AT91SAM7X/crt0.s index 2afc9ef21..73f84319c 100644 --- a/ports/ARM7-AT91SAM7X/crt0.s +++ b/ports/ARM7-AT91SAM7X/crt0.s @@ -39,7 +39,7 @@ * System entry points.
*/
_start:
- b ResetHandler
+ ldr pc, _reset
ldr pc, _undefined
ldr pc, _swi
ldr pc, _prefetch
@@ -48,6 +48,8 @@ _start: ldr pc, [pc,#-0xF20] /* AIC - AIC_IVR */
ldr pc, [pc,#-0xF20] /* AIC - AIC_FVR */
+_reset:
+ .word ResetHandler
_undefined:
.word UndHandler
_swi:
@@ -60,7 +62,6 @@ _fiq: .word FiqHandler
.word 0
.word 0
- .word 0
/*
* Reset handler.
|