Changeset ded1977 in rtems


Ignore:
Timestamp:
May 9, 2007, 6:29:29 PM (13 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
d54c028
Parents:
c3db01d0
Message:

2007-05-09 Joel Sherrill <joel.sherrill@…>

  • bootcard.c: Move fini call to inside executive for symmettry with init call.
Location:
c/src/lib/libbsp/shared
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/shared/ChangeLog

    rc3db01d0 rded1977  
     12007-05-09      Joel Sherrill <joel.sherrill@OARcorp.com>
     2
     3        * bootcard.c: Move __fini call to inside executive for
     4        symmettry with __init call.
     5
    162007-04-17      Joel Sherrill <joel@OARcorp.com>
    27
  • c/src/lib/libbsp/shared/bootcard.c

    rc3db01d0 rded1977  
    3434#include <bsp.h>
    3535
    36 #if defined(__USE_INIT_FINI__)
    37 #include <stdlib.h> /* for atexit() */
    38 #endif
    39 
    4036extern void bsp_start( void );
    4137extern void bsp_cleanup( void );
     
    4945#ifdef RTEMS_POSIX_API
    5046posix_api_configuration_table BSP_POSIX_Configuration;
    51 #endif
    52 
    53 /* Initialize C++ global Ctor/Dtor and initializes exception handling. */
    54 #if defined(__USE_INIT_FINI__)
    55 extern void _fini( void );
    5647#endif
    5748
     
    128119
    129120  /*
    130    *  The atexit hook will be before the static destructor list's entry
    131    *  point.
    132    */
    133 
    134 #if defined(__USE_INIT_FINI__)
    135    atexit( _fini );
    136 #endif
    137 
    138   /*
    139121   *  Call c_rtems_main() and eventually let the first task or the real
    140122   *  main() invoke the global constructors if there are any.
Note: See TracChangeset for help on using the changeset viewer.