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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [tic80/] [crt0.c] - Rev 1782

Compare with Previous | Blame | View Log

/* This is mostly just a placeholder (copied from m88kbug) until we
   figure out what it really should be... -fnf */
 
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();
}
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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