From 4496437a91af4b0fd62780bbce539835a284ccce Mon Sep 17 00:00:00 2001 From: liruncong Date: Sun, 9 Sep 2018 23:25:28 +0800 Subject: [PATCH] =?UTF-8?q?8.=20=5Finit/=5Ffini=E5=8A=A0=E5=85=A5RT=5FWEAK?= =?UTF-8?q?,=E4=B8=8E=E5=BA=93=E4=B8=AD=E5=AE=9A=E4=B9=89=E9=87=8D?= =?UTF-8?q?=E5=A4=8D,=E4=BB=A5=E4=BE=BF=E9=80=9A=E8=BF=87=E9=80=9A?= =?UTF-8?q?=E8=BF=87travis=20ci=E7=9A=84gcc=E8=87=AA=E5=AE=9A=E7=BC=96?= =?UTF-8?q?=E8=AF=91.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/cplusplus/crt_init.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/cplusplus/crt_init.c b/components/cplusplus/crt_init.c index 6a05b00de9..2026131c52 100755 --- a/components/cplusplus/crt_init.c +++ b/components/cplusplus/crt_init.c @@ -36,11 +36,11 @@ void $Sub$$__cpp_initialize__aeabi_(void) } #elif defined(__GNUC__) && !defined(__CS_SOURCERYGXX_MAJ__) /* The _init()/_fini() routines has been defined in codesourcery g++ lite */ -void _init() +RT_WEAK void _init() { } -void _fini() +RT_WEAK void _fini() { }