[libc] Add CodeSourcery G++ lite check.

This commit is contained in:
Bernard Xiong 2016-07-13 09:37:04 +08:00
parent 477857d38d
commit 60e36defc4
1 changed files with 5 additions and 4 deletions

View File

@ -31,9 +31,10 @@ extern void $Super$$__cpp_initialize__aeabi_(void);
/* we need to change the cpp_initialize order */
void $Sub$$__cpp_initialize__aeabi_(void)
{
/* empty */
/* empty */
}
#elif defined(__GNUC__)
#elif defined(__GNUC__) && !defined(__CS_SOURCERYGXX_MAJ__)
/* The _init()/_fini() routines has been defined in codesourcery g++ lite */
void _init()
{
}