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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [tic80/] [crt0.c] - Blame information for rev 207

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
/* This is mostly just a placeholder (copied from m88kbug) until we
2
   figure out what it really should be... -fnf */
3
 
4
extern int main(int argc, char **argv);
5
 
6
extern char _edata;
7
extern char _end;
8
extern char stack;
9
 
10
_start()
11
{
12
  char *p;
13
 
14
  p = &_edata + 1;
15
  while (p < &_end)
16
    {
17
      *p++ = 0;
18
    }
19
 
20
  main(0, 0);
21
  _exit();
22
}

powered by: WebSVN 2.1.0

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