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

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [tags/] [gnu-src/] [newlib-1.18.0/] [newlib-1.18.0-or32-1.0rc1/] [newlib/] [libc/] [sys/] [h8300hms/] [crt1.c] - Diff between revs 207 and 345

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

Rev 207 Rev 345
void __main ()
void __main ()
{
{
#ifndef __ELF__
#ifndef __ELF__
  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) ();
 
 
    }
    }
#endif
#endif
}
}
 
 

powered by: WebSVN 2.1.0

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