summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/shared
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-09 18:29:29 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2007-05-09 18:29:29 +0000
commitded197795917aad017d2868eeaea0b0cef724873 (patch)
tree4cbd3810b3140c725451e6b1f69d8a4248278d61 /c/src/lib/libbsp/shared
parent2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com> (diff)
downloadrtems-ded197795917aad017d2868eeaea0b0cef724873.tar.bz2
2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
* bootcard.c: Move __fini call to inside executive for symmettry with __init call.
Diffstat (limited to 'c/src/lib/libbsp/shared')
-rw-r--r--c/src/lib/libbsp/shared/ChangeLog5
-rw-r--r--c/src/lib/libbsp/shared/bootcard.c18
2 files changed, 5 insertions, 18 deletions
diff --git a/c/src/lib/libbsp/shared/ChangeLog b/c/src/lib/libbsp/shared/ChangeLog
index a78382bb9a..498c9c35f4 100644
--- a/c/src/lib/libbsp/shared/ChangeLog
+++ b/c/src/lib/libbsp/shared/ChangeLog
@@ -1,3 +1,8 @@
+2007-05-09 Joel Sherrill <joel.sherrill@OARcorp.com>
+
+ * bootcard.c: Move __fini call to inside executive for
+ symmettry with __init call.
+
2007-04-17 Joel Sherrill <joel@OARcorp.com>
* bootcard.c: RTEMS Workspace now defaults to not being zeroed. This
diff --git a/c/src/lib/libbsp/shared/bootcard.c b/c/src/lib/libbsp/shared/bootcard.c
index 1ec373d559..287fddc593 100644
--- a/c/src/lib/libbsp/shared/bootcard.c
+++ b/c/src/lib/libbsp/shared/bootcard.c
@@ -33,10 +33,6 @@
#include <bsp.h>
-#if defined(__USE_INIT_FINI__)
-#include <stdlib.h> /* for atexit() */
-#endif
-
extern void bsp_start( void );
extern void bsp_cleanup( void );
@@ -50,11 +46,6 @@ rtems_api_configuration_table BSP_RTEMS_Configuration;
posix_api_configuration_table BSP_POSIX_Configuration;
#endif
-/* Initialize C++ global Ctor/Dtor and initializes exception handling. */
-#if defined(__USE_INIT_FINI__)
-extern void _fini( void );
-#endif
-
rtems_interrupt_level bsp_isr_level;
/*
@@ -127,15 +118,6 @@ int boot_card(int argc, char **argv, char **envp)
rtems_initialize_executive_early( &BSP_Configuration, &Cpu_table );
/*
- * The atexit hook will be before the static destructor list's entry
- * point.
- */
-
-#if defined(__USE_INIT_FINI__)
- atexit( _fini );
-#endif
-
- /*
* Call c_rtems_main() and eventually let the first task or the real
* main() invoke the global constructors if there are any.
*/