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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [m88kbug/] [crt0.c] - Blame information for rev 1765

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

Line No. Rev Author Line
1 39 lampret
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.