diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-04-03 23:01:12 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2003-04-03 23:01:12 +0000 |
commit | 10a82e709408ef691c16969a849fb35fe07ae4c1 (patch) | |
tree | edbae9671fe4e3cda21bafc2f6e9af32cf05efe2 /cpukit/libcsupport/src/newlibc.c | |
parent | 2003-03-27 Joel Sherrill <joel@OARcorp.com> (diff) | |
download | rtems-10a82e709408ef691c16969a849fb35fe07ae4c1.tar.bz2 |
2003-04-03 Eri Valette <eric.valette@free.fr>
PR 381/core
* src/newlibc.c: Switch from using _REENT_INIT to _REEINT_INIT_PTR
to fix strange run-time problem where EIP was corrupted on pc386 BSP.
Diffstat (limited to 'cpukit/libcsupport/src/newlibc.c')
-rw-r--r-- | cpukit/libcsupport/src/newlibc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpukit/libcsupport/src/newlibc.c b/cpukit/libcsupport/src/newlibc.c index 97834c42e1..43840ead8b 100644 --- a/cpukit/libcsupport/src/newlibc.c +++ b/cpukit/libcsupport/src/newlibc.c @@ -128,7 +128,7 @@ rtems_extension libc_start_hook( #ifdef __GNUC__ /* GCC extension: structure constants */ - *ptr = (struct _reent) _REENT_INIT((*ptr)); + _REENT_INIT_PTR((ptr)); #else /* * WARNING: THIS IS VERY DEPENDENT ON NEWLIB!!! |