OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [libgloss/] [mn10200/] [crt1.c] - Blame information for rev 252

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

Line No. Rev Author Line
1 207 jeremybenn
void __main ()
2
{
3
  static int initialized;
4
  if (! initialized)
5
    {
6
      typedef void (*pfunc) ();
7
      extern pfunc __ctors[];
8
      extern pfunc __ctors_end[];
9
      pfunc *p;
10
 
11
      initialized = 1;
12
      for (p = __ctors_end; p > __ctors; )
13
        (*--p) ();
14
 
15
    }
16
}

powered by: WebSVN 2.1.0

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