8. _init/_fini加入RT_WEAK,与库中定义重复,以便通过通过travis ci的gcc自定编译.

This commit is contained in:
liruncong 2018-09-09 23:25:28 +08:00
parent 95c36f32e2
commit 4496437a91
1 changed files with 2 additions and 2 deletions

View File

@ -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()
{
}