summaryrefslogtreecommitdiff
path: root/libcpu
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2017-10-20 15:11:55 +0800
committerGitHub <[email protected]>2017-10-20 15:11:55 +0800
commit0f6e68ff0affd593c959f0668472542196b8cbf4 (patch)
tree8f7e7d9a74e641473213dd5b78b2cbf327a7b3bf /libcpu
parent8e398fe4394c50ba469cbf59816b9042a4b8c65d (diff)
parent1a9de2e1bd68ba76c3188c9413dd50ff9f37be76 (diff)
Merge pull request #889 from weety/rtt3_9260
[BSP] update 9260 bsp.
Diffstat (limited to 'libcpu')
-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 -----------------------------------------