summaryrefslogtreecommitdiff
path: root/libcpu/arm
diff options
context:
space:
mode:
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 -----------------------------------------