diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 6a64c2522..b3c845bb9 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,42 @@ +2010-04-22 DJ Delorie + + * libc/Makefile.am (SUBDEFS): Add LIBC_POSIX_DEF. + (libc.info): Add posix.texi. + (libc.dvi): Likewise. + (stmp-posix): New. + (posix.texi): New. + (libc_TEXINFOS): Add posix.texi. + * libc/configure.in (LIBC_POSIX_LIB, LIBC_POSIX_DEF): Add + tests. + * libc/libc.texinfo: Include posix.texi + * libc/locale/locale.c: Fix texinfo typo. + * libc/time/strftime.c: Fix texinfo typo. + + * libc/configure: Regenerate. + * libc/Makefile.in: Regenerate. + * libc/argz/Makefile.in: Regenerate. + * libc/ctype/Makefile.in: Regenerate. + * libc/errno/Makefile.in: Regenerate. + * libc/iconv/Makefile.in: Regenerate. + * libc/iconv/ccs/Makefile.in: Regenerate. + * libc/iconv/ccs/binary/Makefile.in: Regenerate. + * libc/iconv/ces/Makefile.in: Regenerate. + * libc/iconv/lib/Makefile.in: Regenerate. + * libc/locale/Makefile.in: Regenerate. + * libc/misc/Makefile.in: Regenerate. + * libc/posix/Makefile.in: Regenerate. + * libc/reent/Makefile.in: Regenerate. + * libc/search/Makefile.in: Regenerate. + * libc/signal/Makefile.in: Regenerate. + * libc/stdio/Makefile.in: Regenerate. + * libc/stdio64/Makefile.in: Regenerate. + * libc/stdlib/Makefile.in: Regenerate. + * libc/string/Makefile.in: Regenerate. + * libc/syscalls/Makefile.in: Regenerate. + * libc/time/Makefile.in: Regenerate. + * libc/unix/Makefile.in: Regenerate. + * libc/xdr/Makefile.in: Regenerate. + 2010-04-06 Dave Korn * libc/stdlib/__atexit.c (__atexit_lock): Initialise as recursive diff --git a/newlib/libc/Makefile.am b/newlib/libc/Makefile.am index fcd938e61..e75bea005 100644 --- a/newlib/libc/Makefile.am +++ b/newlib/libc/Makefile.am @@ -132,6 +132,7 @@ SUBDEFS = \ ctype/stmp-def \ $(LIBC_STDIO_DEF) \ $(LIBC_STDIO64_DEF) \ + $(LIBC_POSIX_DEF) \ $(LIBC_XDR_DEF) \ string/stmp-def \ $(LIBC_SIGNAL_DEF) \ @@ -142,10 +143,10 @@ SUBDEFS = \ misc/stmp-def \ posix/stmp-def -libc.info: sigset.texi extra.texi stdio64.texi iconvset.texi \ +libc.info: sigset.texi extra.texi stdio64.texi posix.texi iconvset.texi \ targetdep.tex $(SUBDEFS) -libc.dvi: sigset.texi extra.texi stdio64.texi iconvset.texi \ +libc.dvi: sigset.texi extra.texi stdio64.texi posix.texi iconvset.texi \ targetdep.tex $(SUBDEFS) stmp-sigset: config.status @@ -192,6 +193,17 @@ stmp-stdio64: config.status stdio64.texi: stmp-stdio64 ; @true +stmp-posix: config.status + if test -n "$(LIBC_POSIX_LIB)"; then \ + echo "@set POSIX" >tmp.texi; \ + else \ + echo "@clear POSIX" >tmp.texi; \ + fi + $(SHELL) $(newlib_basedir)/../move-if-change tmp.texi posix.texi + touch $@ + +posix.texi: stmp-posix ; @true + stmp-targetdep: force rm -f tmp.texi targetdoc=`pwd`/tmp.texi; \ @@ -209,7 +221,7 @@ targetdep.tex: stmp-targetdep ; @true $(SUBDEFS): stmp-targetdep ; @true info_TEXINFOS = libc.texinfo -libc_TEXINFOS = sigset.texi extra.texi stdio64.texi iconvset.texi \ +libc_TEXINFOS = sigset.texi extra.texi posix.texi stdio64.texi iconvset.texi \ targetdep.tex $(SUBDEFS) .PHONY: force diff --git a/newlib/libc/Makefile.in b/newlib/libc/Makefile.in index 8bcf26fd3..e8a9cac2e 100644 --- a/newlib/libc/Makefile.in +++ b/newlib/libc/Makefile.in @@ -203,6 +203,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ @@ -386,6 +387,7 @@ SUBDEFS = \ ctype/stmp-def \ $(LIBC_STDIO_DEF) \ $(LIBC_STDIO64_DEF) \ + $(LIBC_POSIX_DEF) \ $(LIBC_XDR_DEF) \ string/stmp-def \ $(LIBC_SIGNAL_DEF) \ @@ -397,7 +399,7 @@ SUBDEFS = \ posix/stmp-def info_TEXINFOS = libc.texinfo -libc_TEXINFOS = sigset.texi extra.texi stdio64.texi iconvset.texi \ +libc_TEXINFOS = sigset.texi extra.texi posix.texi stdio64.texi iconvset.texi \ targetdep.tex $(SUBDEFS) CLEANFILES = $(CRT0) \ @@ -990,10 +992,10 @@ crt0.o: sys/crt0.o sys/crt0.o: ; @true -libc.info: sigset.texi extra.texi stdio64.texi iconvset.texi \ +libc.info: sigset.texi extra.texi stdio64.texi posix.texi iconvset.texi \ targetdep.tex $(SUBDEFS) -libc.dvi: sigset.texi extra.texi stdio64.texi iconvset.texi \ +libc.dvi: sigset.texi extra.texi stdio64.texi posix.texi iconvset.texi \ targetdep.tex $(SUBDEFS) stmp-sigset: config.status @@ -1040,6 +1042,17 @@ stmp-stdio64: config.status stdio64.texi: stmp-stdio64 ; @true +stmp-posix: config.status + if test -n "$(LIBC_POSIX_LIB)"; then \ + echo "@set POSIX" >tmp.texi; \ + else \ + echo "@clear POSIX" >tmp.texi; \ + fi + $(SHELL) $(newlib_basedir)/../move-if-change tmp.texi posix.texi + touch $@ + +posix.texi: stmp-posix ; @true + stmp-targetdep: force rm -f tmp.texi targetdoc=`pwd`/tmp.texi; \ diff --git a/newlib/libc/argz/Makefile.in b/newlib/libc/argz/Makefile.in index e328f8f9f..3881e86a4 100644 --- a/newlib/libc/argz/Makefile.in +++ b/newlib/libc/argz/Makefile.in @@ -149,6 +149,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/configure b/newlib/libc/configure index 16daa2f25..c7f38a856 100755 --- a/newlib/libc/configure +++ b/newlib/libc/configure @@ -679,6 +679,7 @@ HAVE_XDR_DIR_FALSE HAVE_XDR_DIR_TRUE LIBC_XDR_DEF LIBC_XDR_LIB +LIBC_POSIX_DEF HAVE_STDIO64_DIR_FALSE HAVE_STDIO64_DIR_TRUE LIBC_STDIO64_DEF @@ -12399,7 +12400,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12402 "configure" +#line 12403 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12505,7 +12506,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12508 "configure" +#line 12509 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12837,6 +12838,27 @@ else fi +LIBC_POSIX_LIB= +LIBC_POSIX_DEF= +if test -n "${posix_dir}"; then + if test "${use_libtool}" = "yes"; then + LIBC_POSIX_LIB=${posix_dir}/lib${posix_dir}.${aext} + else + LIBC_POSIX_LIB=${posix_dir}/lib.${aext} + fi + LIBC_POSIX_DEF=${posix_dir}/stmp-def +fi + + + if test x${posix_dir} != x; then + HAVE_POSIX_DIR_TRUE= + HAVE_POSIX_DIR_FALSE='#' +else + HAVE_POSIX_DIR_TRUE='#' + HAVE_POSIX_DIR_FALSE= +fi + + LIBC_XDR_LIB= LIBC_XDR_DEF= if test -n "${xdr_dir}"; then @@ -13216,6 +13238,13 @@ $as_echo "$as_me: error: conditional \"HAVE_STDIO64_DIR\" was never defined. Usually this means the macro was only invoked conditionally." >&2;} { (exit 1); exit 1; }; } fi +if test -z "${HAVE_POSIX_DIR_TRUE}" && test -z "${HAVE_POSIX_DIR_FALSE}"; then + { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_POSIX_DIR\" was never defined. +Usually this means the macro was only invoked conditionally." >&5 +$as_echo "$as_me: error: conditional \"HAVE_POSIX_DIR\" was never defined. +Usually this means the macro was only invoked conditionally." >&2;} + { (exit 1); exit 1; }; } +fi if test -z "${HAVE_XDR_DIR_TRUE}" && test -z "${HAVE_XDR_DIR_FALSE}"; then { { $as_echo "$as_me:$LINENO: error: conditional \"HAVE_XDR_DIR\" was never defined. Usually this means the macro was only invoked conditionally." >&5 diff --git a/newlib/libc/configure.in b/newlib/libc/configure.in index 68d57193b..6e40d49ac 100644 --- a/newlib/libc/configure.in +++ b/newlib/libc/configure.in @@ -94,6 +94,20 @@ AC_SUBST(LIBC_STDIO64_LIB) AC_SUBST(LIBC_STDIO64_DEF) AM_CONDITIONAL(HAVE_STDIO64_DIR, test x${stdio64_dir} != x) +LIBC_POSIX_LIB= +LIBC_POSIX_DEF= +if test -n "${posix_dir}"; then + if test "${use_libtool}" = "yes"; then + LIBC_POSIX_LIB=${posix_dir}/lib${posix_dir}.${aext} + else + LIBC_POSIX_LIB=${posix_dir}/lib.${aext} + fi + LIBC_POSIX_DEF=${posix_dir}/stmp-def +fi +AC_SUBST(LIBC_POSIX_LIB) +AC_SUBST(LIBC_POSIX_DEF) +AM_CONDITIONAL(HAVE_POSIX_DIR, test x${posix_dir} != x) + LIBC_XDR_LIB= LIBC_XDR_DEF= if test -n "${xdr_dir}"; then diff --git a/newlib/libc/ctype/Makefile.in b/newlib/libc/ctype/Makefile.in index 3c18a0813..874d19842 100644 --- a/newlib/libc/ctype/Makefile.in +++ b/newlib/libc/ctype/Makefile.in @@ -162,6 +162,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/errno/Makefile.in b/newlib/libc/errno/Makefile.in index 8a20d675e..f113e4da9 100644 --- a/newlib/libc/errno/Makefile.in +++ b/newlib/libc/errno/Makefile.in @@ -122,6 +122,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/iconv/Makefile.in b/newlib/libc/iconv/Makefile.in index 9b95781a9..c715859ff 100644 --- a/newlib/libc/iconv/Makefile.in +++ b/newlib/libc/iconv/Makefile.in @@ -128,6 +128,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/iconv/ccs/Makefile.in b/newlib/libc/iconv/ccs/Makefile.in index ef86e4f66..8942664f4 100644 --- a/newlib/libc/iconv/ccs/Makefile.in +++ b/newlib/libc/iconv/ccs/Makefile.in @@ -173,6 +173,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/iconv/ccs/binary/Makefile.in b/newlib/libc/iconv/ccs/binary/Makefile.in index 8267014b6..4f559e61a 100644 --- a/newlib/libc/iconv/ccs/binary/Makefile.in +++ b/newlib/libc/iconv/ccs/binary/Makefile.in @@ -114,6 +114,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/iconv/ces/Makefile.in b/newlib/libc/iconv/ces/Makefile.in index e233d7c53..ca3b18f15 100644 --- a/newlib/libc/iconv/ces/Makefile.in +++ b/newlib/libc/iconv/ces/Makefile.in @@ -127,6 +127,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/iconv/lib/Makefile.in b/newlib/libc/iconv/lib/Makefile.in index 6593b5714..53f232307 100644 --- a/newlib/libc/iconv/lib/Makefile.in +++ b/newlib/libc/iconv/lib/Makefile.in @@ -120,6 +120,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/libc.texinfo b/newlib/libc/libc.texinfo index f4203b1ba..378bab682 100644 --- a/newlib/libc/libc.texinfo +++ b/newlib/libc/libc.texinfo @@ -139,6 +139,7 @@ into another language, under the above conditions for modified versions. @c signal subdirectory: @include sigset.texi @include extra.texi +@include posix.texi @include stdio64.texi @include iconvset.texi @@ -162,7 +163,9 @@ into another language, under the above conditions for modified versions. * Reentrancy:: * Misc:: +@ifset POSIX * Posix:: +@end ifset * Syscalls:: * Arglists:: @ifset ICONV diff --git a/newlib/libc/locale/Makefile.in b/newlib/libc/locale/Makefile.in index 15c4ff040..fe128f4ae 100644 --- a/newlib/libc/locale/Makefile.in +++ b/newlib/libc/locale/Makefile.in @@ -134,6 +134,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/locale/locale.c b/newlib/libc/locale/locale.c index b8e86de5d..14ee907ff 100644 --- a/newlib/libc/locale/locale.c +++ b/newlib/libc/locale/locale.c @@ -74,7 +74,7 @@ The following charsets are recognized: Charsets are case insensitive. For instance, <<"EUCJP">> and <<"eucJP">> are equivalent. Charset names with dashes can also be written without dashes, as in <<"UTF8">>, <<"iso88591">> or <<"koi8r">>. <<"EUCJP">> and -<<"EUCKR"> are also recognized with dash, <<"EUC-JP">> and <<"EUC-KR">>. +<<"EUCKR">> are also recognized with dash, <<"EUC-JP">> and <<"EUC-KR">>. Full support for all of the above charsets requires that newlib has been build with multibyte support and support for all ISO and Windows Codepage. diff --git a/newlib/libc/misc/Makefile.in b/newlib/libc/misc/Makefile.in index fce2d5c00..50aaae6d5 100644 --- a/newlib/libc/misc/Makefile.in +++ b/newlib/libc/misc/Makefile.in @@ -123,6 +123,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/posix/Makefile.in b/newlib/libc/posix/Makefile.in index d56e54141..381c6d55f 100644 --- a/newlib/libc/posix/Makefile.in +++ b/newlib/libc/posix/Makefile.in @@ -160,6 +160,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/reent/Makefile.in b/newlib/libc/reent/Makefile.in index b44139e19..6de47b376 100644 --- a/newlib/libc/reent/Makefile.in +++ b/newlib/libc/reent/Makefile.in @@ -157,6 +157,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/search/Makefile.in b/newlib/libc/search/Makefile.in index 128fd2bde..9a7a74f53 100644 --- a/newlib/libc/search/Makefile.in +++ b/newlib/libc/search/Makefile.in @@ -141,6 +141,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/signal/Makefile.in b/newlib/libc/signal/Makefile.in index d69d6cfa0..3c91fd464 100644 --- a/newlib/libc/signal/Makefile.in +++ b/newlib/libc/signal/Makefile.in @@ -122,6 +122,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/stdio/Makefile.in b/newlib/libc/stdio/Makefile.in index cfa46fc8d..33d8d2e16 100644 --- a/newlib/libc/stdio/Makefile.in +++ b/newlib/libc/stdio/Makefile.in @@ -253,6 +253,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/stdio64/Makefile.in b/newlib/libc/stdio64/Makefile.in index 3525f7042..9d7dde27d 100644 --- a/newlib/libc/stdio64/Makefile.in +++ b/newlib/libc/stdio64/Makefile.in @@ -137,6 +137,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/stdlib/Makefile.in b/newlib/libc/stdlib/Makefile.in index 36a49531a..fb7352c43 100644 --- a/newlib/libc/stdlib/Makefile.in +++ b/newlib/libc/stdlib/Makefile.in @@ -222,6 +222,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/string/Makefile.in b/newlib/libc/string/Makefile.in index e974ad52d..a57304116 100644 --- a/newlib/libc/string/Makefile.in +++ b/newlib/libc/string/Makefile.in @@ -189,6 +189,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/syscalls/Makefile.in b/newlib/libc/syscalls/Makefile.in index 4a11d4a96..784d24374 100644 --- a/newlib/libc/syscalls/Makefile.in +++ b/newlib/libc/syscalls/Makefile.in @@ -139,6 +139,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/time/Makefile.in b/newlib/libc/time/Makefile.in index 0027299e2..6f278a9ef 100644 --- a/newlib/libc/time/Makefile.in +++ b/newlib/libc/time/Makefile.in @@ -135,6 +135,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/time/strftime.c b/newlib/libc/time/strftime.c index 1df353abf..4f2281ce8 100644 --- a/newlib/libc/time/strftime.c +++ b/newlib/libc/time/strftime.c @@ -57,7 +57,7 @@ The abbreviated weekday name according to the current locale. [tm_wday] o %A The full weekday name according to the current locale. In the default "C" locale, one of `<>', `<>', `<>', -`<>', `>', `<>', `<>'. [tm_wday] +`<>', `<>', `<>', `<>'. [tm_wday] o %b The abbreviated month name according to the current locale. [tm_mon] diff --git a/newlib/libc/unix/Makefile.in b/newlib/libc/unix/Makefile.in index 1906f7668..7bbdb2e69 100644 --- a/newlib/libc/unix/Makefile.in +++ b/newlib/libc/unix/Makefile.in @@ -142,6 +142,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ diff --git a/newlib/libc/xdr/Makefile.in b/newlib/libc/xdr/Makefile.in index c387da9ab..5b383e102 100644 --- a/newlib/libc/xdr/Makefile.in +++ b/newlib/libc/xdr/Makefile.in @@ -135,6 +135,7 @@ LDFLAGS = @LDFLAGS@ LIBC_EXTRA_DEF = @LIBC_EXTRA_DEF@ LIBC_EXTRA_LIB = @LIBC_EXTRA_LIB@ LIBC_MACHINE_LIB = @LIBC_MACHINE_LIB@ +LIBC_POSIX_DEF = @LIBC_POSIX_DEF@ LIBC_POSIX_LIB = @LIBC_POSIX_LIB@ LIBC_SIGNAL_DEF = @LIBC_SIGNAL_DEF@ LIBC_SIGNAL_LIB = @LIBC_SIGNAL_LIB@ @@ -168,7 +169,6 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@ PACKAGE_NAME = @PACKAGE_NAME@ PACKAGE_STRING = @PACKAGE_STRING@ PACKAGE_TARNAME = @PACKAGE_TARNAME@ -PACKAGE_URL = @PACKAGE_URL@ PACKAGE_VERSION = @PACKAGE_VERSION@ PATH_SEPARATOR = @PATH_SEPARATOR@ RANLIB = @RANLIB@