diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-11-20 19:42:41 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2008-11-20 19:42:41 +0000 |
commit | bd59b348c6407854eee75f06f6ff9868437205e9 (patch) | |
tree | dbb7348dc61b0c1ed51ce786175d315a0066a8cd /cpukit/libcsupport | |
parent | 2008-11-20 Joel Sherrill <joel.sherrill@oarcorp.com> (diff) | |
download | rtems-bd59b348c6407854eee75f06f6ff9868437205e9.tar.bz2 |
2008-11-20 Joel Sherrill <joel.sherrill@oarcorp.com>
* libcsupport/src/newlibc_exit.c, score/src/threadhandler.c: Do not
think about running init/fini on AVR. We do not know what mechanism
it uses but this is not it.
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r-- | cpukit/libcsupport/src/newlibc_exit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/libcsupport/src/newlibc_exit.c b/cpukit/libcsupport/src/newlibc_exit.c index f85ec42719..26213b688a 100644 --- a/cpukit/libcsupport/src/newlibc_exit.c +++ b/cpukit/libcsupport/src/newlibc_exit.c @@ -122,6 +122,9 @@ void libc_wrapup(void) #if !defined(RTEMS_UNIX) #define EXIT_SYMBOL _exit + #if defined(__AVR__) + #undef __USE_INIT_FINI__ + #endif #if defined(__USE_INIT_FINI__) #if defined(__m32r__) #define FINI_SYMBOL __fini |