summaryrefslogtreecommitdiff
path: root/libcpu/arm/cortex-a/start_gcc.S
diff options
context:
space:
mode:
authorguozhanxin <[email protected]>2022-12-14 10:37:13 +0800
committerguo <[email protected]>2022-12-14 11:04:00 +0800
commite2bdd8a184deccf813c032875ad49bfdca882932 (patch)
treed60b4208b824641f9e3f1d915e909c4aafebdeb6 /libcpu/arm/cortex-a/start_gcc.S
parent89c3bf5f92c9bcc6996f274908e544031dbb9c8d (diff)
[libcpu] fix cpp11 error
Diffstat (limited to 'libcpu/arm/cortex-a/start_gcc.S')
-rw-r--r--libcpu/arm/cortex-a/start_gcc.S15
1 files changed, 0 insertions, 15 deletions
diff --git a/libcpu/arm/cortex-a/start_gcc.S b/libcpu/arm/cortex-a/start_gcc.S
index 5ddb7311a8..e77579ff21 100644
--- a/libcpu/arm/cortex-a/start_gcc.S
+++ b/libcpu/arm/cortex-a/start_gcc.S
@@ -187,21 +187,6 @@ bss_loop:
bl rt_hw_mmu_init
#endif
- /* call C++ constructors of global objects */
- ldr r0, =__ctors_start__
- ldr r1, =__ctors_end__
-
-ctor_loop:
- cmp r0, r1
- beq ctor_end
- ldr r2, [r0], #4
- stmfd sp!, {r0-r1}
- mov lr, pc
- bx r2
- ldmfd sp!, {r0-r1}
- b ctor_loop
-ctor_end:
-
/* start RT-Thread Kernel */
ldr pc, _rtthread_startup
_rtthread_startup: