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.
This commit is contained in:
Joel Sherrill
2003-04-03 23:01:31 +00:00
parent dd6ad01947
commit bce564105d
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
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.
2003-03-18 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: AC_CHECK_FUNCS(strlcpy strlcat).

View File

@@ -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!!!