Retro68/gcc/newlib/libc/sys/m88kbug/crt0.c
2012-03-27 01:51:53 +02:00

20 lines
214 B
C

extern int main(int argc, char **argv);
extern char edata;
extern char end;
extern char stack;
_start()
{
char *p;
p = &edata + 1;
while (p < &end)
{
*p++ = 0;
}
main(0, 0);
_exit();
}