diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-11-30 08:15:35 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2010-11-30 08:15:35 +0000 |
commit | 10ace498cbda83ef58bd42223168fa9c2574ee6d (patch) | |
tree | 6f5108c09f87cb74cc547b85df12c64fae42f15c /cpukit/score/src | |
parent | 2010-11-29 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-10ace498cbda83ef58bd42223168fa9c2574ee6d.tar.bz2 |
2010-11-30 Sebastian Huber <sebastian.huber@embedded-brains.de>
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Revert
previous commit due to too many broken linker command files. The
HAVE_INITFINI_ARRAY is defined for nearly all targets by Newlib, but
only few linker command files respect this.
Diffstat (limited to 'cpukit/score/src')
-rw-r--r-- | cpukit/score/src/threadhandler.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/cpukit/score/src/threadhandler.c b/cpukit/score/src/threadhandler.c index 2082bdfb78..3fffd8fb83 100644 --- a/cpukit/score/src/threadhandler.c +++ b/cpukit/score/src/threadhandler.c @@ -30,14 +30,6 @@ #include <rtems/score/userext.h> #include <rtems/score/wkspace.h> -#if defined(RTEMS_NEWLIB) - #include <newlib.h> -#endif - -#if defined(HAVE_INITFINI_ARRAY) - extern void __libc_init_array(void); -#endif - #if defined(__AVR__) #undef __USE_INIT_FINI__ #endif @@ -146,20 +138,6 @@ void _Thread_Handler( void ) */ if (!doneCons) /* && (volatile void *)_init) */ { INIT_NAME (); - - #if defined(HAVE_INITFINI_ARRAY) - /* - * According to - * - * System V Application Binary Interface - * Chapter 5 - * Initialization and Termination Functions - * - * we have to call the functions referenced by the .init_array after - * the one referenced by the .init section. - */ - __libc_init_array(); - #endif } #endif |