blob: 18c240b6eda57fa48057afe33fb080ec2b1ed7e2 (
plain) (
tree)
|
|
/*
* From newlib ==> libc/sys/sysnecv850/crt1.c
*
* Obtained newlib 29 May 2012
*/
void __main ()
{
static int initialized;
if (! initialized)
{
typedef void (*pfunc) ();
extern pfunc __ctors[];
extern pfunc __ctors_end[];
pfunc *p;
initialized = 1;
for (p = __ctors_end; p > __ctors; )
(*--p) ();
}
}
|