From a8b2523f58149cc5182045ac48d6efee9cec55f4 Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 27 Sep 2001 13:34:15 +0000 Subject: 2001-09-27 Eric Norum * 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. --- c/src/lib/libbsp/shared/bootcard.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'c') 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 ); -- cgit v1.2.3