summaryrefslogtreecommitdiff
path: root/libcpu/arm
diff options
context:
space:
mode:
authorweety <[email protected]>2017-10-19 23:46:17 +0800
committerweety <[email protected]>2017-10-19 23:46:17 +0800
commit6085f6826d9c19a9d0c7f3feafbd0a5996d7ec2e (patch)
tree81a3b52510aaa627cb24b83cdefe991893d9d909 /libcpu/arm
parente448ecc6ad805109480ecc191f0e2d786216a297 (diff)
[bsp][at91sam9260] Fix the problem of the finsh function failure by using component initialization.
Diffstat (limited to 'libcpu/arm')
-rw-r--r--libcpu/arm/arm926/start_gcc.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/libcpu/arm/arm926/start_gcc.S b/libcpu/arm/arm926/start_gcc.S
index 4924583cb8..1ccff156b0 100644
--- a/libcpu/arm/arm926/start_gcc.S
+++ b/libcpu/arm/arm926/start_gcc.S
@@ -95,8 +95,8 @@ SVC_STACK_START:
.section .init, "ax"
.arm
- .global entry
-entry:
+ .global start
+start:
LDR PC, vector_reset
LDR PC, vector_undef
LDR PC, vector_swi
@@ -204,7 +204,7 @@ ctor_loop:
ctor_end:
@; Enter the C code
- LDR R0, =main
+ LDR R0, =rtthread_startup
BLX R0
@;----------------- Exception Handler -----------------------------------------