diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-09-27 13:34:15 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-09-27 13:34:15 +0000 |
commit | a8b2523f58149cc5182045ac48d6efee9cec55f4 (patch) | |
tree | 4306a7877e9d2409c31eb51c96afd3d94a812154 /c/src/lib | |
parent | 2001-09-27 Eric Norum <eric.norum@usask.ca> (diff) | |
download | rtems-a8b2523f58149cc5182045ac48d6efee9cec55f4.tar.bz2 |
2001-09-27 Eric Norum <eric.norum@usask.ca>
* hared/bootcard.c: Now process C++ global constructors
(_init) as part of the first task execution not in BSP space.
This depends on the toolset defining USE_INIT_FINI so you
have to have the right toolset version.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/shared/bootcard.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/c/src/lib/libbsp/shared/bootcard.c b/c/src/lib/libbsp/shared/bootcard.c index c83b3f0b4c..76e08698a7 100644 --- a/c/src/lib/libbsp/shared/bootcard.c +++ b/c/src/lib/libbsp/shared/bootcard.c @@ -38,7 +38,6 @@ posix_api_configuration_table BSP_POSIX_Configuration; /* Initialize C++ global Ctor/Dtor and initializes exception handling. */ #if defined(USE_INIT_FINI) extern void _fini( void ); -extern void _init( void ); #endif rtems_interrupt_level bsp_isr_level; @@ -120,7 +119,6 @@ int boot_card(int argc, char **argv, char **envp) */ #ifdef USE_INIT_FINI atexit( _fini ); - _init(); #endif status = main( argc, argv_p, envp_p ); |