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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [libgloss/] [mn10200/] [crt1.c] - Diff between revs 1005 and 1765

Only display areas with differences | Details | Blame | View Log

Rev 1005 Rev 1765
void __main ()
void __main ()
{
{
  static int initialized;
  static int initialized;
  if (! initialized)
  if (! initialized)
    {
    {
      typedef void (*pfunc) ();
      typedef void (*pfunc) ();
      extern pfunc __ctors[];
      extern pfunc __ctors[];
      extern pfunc __ctors_end[];
      extern pfunc __ctors_end[];
      pfunc *p;
      pfunc *p;
 
 
      initialized = 1;
      initialized = 1;
      for (p = __ctors_end; p > __ctors; )
      for (p = __ctors_end; p > __ctors; )
        (*--p) ();
        (*--p) ();
 
 
    }
    }
}
}
 
 

powered by: WebSVN 2.1.0

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