From 9cd52296a0ba82a113e986383825e9f44d08cf50 Mon Sep 17 00:00:00 2001 From: zhouji Date: Sun, 7 Nov 2021 20:49:21 +0800 Subject: [PATCH] =?UTF-8?q?[del]=20=E5=88=A0=E9=99=A4cortex-a=E5=90=AF?= =?UTF-8?q?=E5=8A=A8=E4=BB=A3=E7=A0=81=E4=B8=ADC++=E5=85=A8=E5=B1=80?= =?UTF-8?q?=E5=8F=98=E9=87=8F=E7=9A=84=E5=88=9D=E5=A7=8B=E5=8C=96=E5=8A=9F?= =?UTF-8?q?=E8=83=BD=EF=BC=8C=E8=AF=A5=E6=96=B9=E5=BC=8F=E5=9C=A8GCC4.7?= =?UTF-8?q?=E4=BB=A5=E4=B8=8A=E7=89=88=E6=9C=AC=E4=B8=AD=E8=A2=AB=E5=BC=83?= =?UTF-8?q?=E7=94=A8=EF=BC=8C=E7=94=B1crt=5Finit.c=E4=B8=AD=E7=9A=84cplusp?= =?UTF-8?q?lus=5Fsystem=5Finit=E5=87=BD=E6=95=B0=E6=9B=BF=E4=BB=A3?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libcpu/arm/cortex-a/start_gcc.S | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/libcpu/arm/cortex-a/start_gcc.S b/libcpu/arm/cortex-a/start_gcc.S index 908468476e..fe3a336f7a 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: -- Gitee