diff --git a/libcpu/arm/cortex-a/start_gcc.S b/libcpu/arm/cortex-a/start_gcc.S index 5fcc0d03fe7a5097566c613df8878b9d438f7f51..f73b678f7ee35d8366efc53c3ddb8cb4cfa35b8f 100644 --- a/libcpu/arm/cortex-a/start_gcc.S +++ b/libcpu/arm/cortex-a/start_gcc.S @@ -154,21 +154,6 @@ bss_loop: bl rt_hw_init_mmu_table bl rt_hw_mmu_init - /* 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: