From 82c19d335abd0ee957ad5c3167755a545521504a Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 19 Jun 2013 15:58:50 +0000 Subject: * acconfig.h (_UNBUF_STREAM_OPT): Undefine. * newlib.hin (_UNBUF_STREAM_OPT): Undefine. * configure.in (--enable-newlib-unbuf-stream-opt): New option. * configure: Regenerate. * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't do optimization on unbuffered stream files. * libc/stdio/vfwprintf.c (_VFWPRINTF_R): Likewise. * README: Add description about the option. * newlib.hin (_UNBUF_STREAM_OPT): Undefine. * configure.in (--enable-newlib-unbuf-stream-opt): New option. * configure: Regenerate. * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't do optimization on unbuffered stream files. * libc/stdio/vfwprintf.c (_VFWPRINTF_R): Likewise. * README: Add description about the option. --- newlib/README | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'newlib/README') diff --git a/newlib/README b/newlib/README index 80bd0665c..d1753fcc9 100644 --- a/newlib/README +++ b/newlib/README @@ -321,6 +321,13 @@ One feature can be enabled by specifying `--enable-FEATURE=yes' or support `--enable-malloc-debugging' any more. Disabled by default. +`--disable-newlib-unbuf-stream-opt' + NEWLIB does optimization when `fprintf to write only unbuffered unix + file'. It creates a temorary buffer to do the optimization that + increases stack consumption by about `BUFSIZ' bytes. This option + disables the optimization and saves size of text and stack. + Enabled by default. + `--enable-multilib' Build many library versions. Enabled by default. -- cgit v1.2.3