2007-03-15 Jeff Johnston <jjohnstn@redhat.com>

* configure.in: Add new --enable-newlib-reent-small option.
        * configure: Regenerated.
        * acconfig.h: Add _WANT_REENT_SMALL.
        * newlib.hin: Regenerated minus PACKAGE macros to add
        _WANT_REENT_SMALL macro.
        * libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
        if not already set.
        * libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
        there is no buffer.
        * libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
        use reentrant pointer passed in when resetting the file
        pointer to one of the std streams.
This commit is contained in:
Jeff Johnston
2007-03-15 21:32:13 +00:00
parent 14ba5e14d9
commit 826b5591dd
8 changed files with 87 additions and 5 deletions

View File

@@ -18,6 +18,10 @@
/* Positional argument support in printf functions enabled. */
#undef _WANT_IO_POS_ARGS
/* Optional reentrant struct support. Used mostly on platforms with
very restricted storage. */
#undef _WANT_REENT_SMALL
/* Multibyte supported */
#undef _MB_CAPABLE