OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [sys/] [m88kbug/] [crt0.c] - Blame information for rev 855

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
extern int main(int argc, char **argv);
2
 
3
extern char edata;
4
extern char end;
5
extern char stack;
6
 
7
_start()
8
{
9
  char *p;
10
 
11
  p = &edata + 1;
12
  while (p < &end)
13
    {
14
      *p++ = 0;
15
    }
16
 
17
  main(0, 0);
18
  _exit();
19
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.