+2008-03-07 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/include/getopt.h: Hide newlib extensions under
+ the __need_getopt_newlib flag.
+ * libc/stdlib/getopt.c: #define __need_getopt_newlib before including
+ getopt.h. Put entire code under !HAVE_GETOPT to support platforms
+ with their own getopt implementation.
+ * configure.host: Specify HAVE_GETOPT for x86-linux.
+
+2008-03-07 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/include/sys/reent.h(_REENT_SMALL_CHECK_INIT): Specify
+ this macro completely instead of referring to CHECK_STD_INIT which
+ is only found in libc/stdio/local.h.
+ * libc/stdio/dprintf.c: Add include of local.h.
+ * libc/stdio/vdprintf.c: Ditto.
+ * libc/stdio/vdiprintf.c: Ditto.
+
+2008-03-04 Eric Blake <ebb9@byu.net>
+
+ Fix strtod("nan()", ptr).
+ * libc/stdlib/gdtoa-hexnan.c (hexnan): When the optional
+ n-char-sequence is omitted, still parse the ().
+
+2008-03-03 Eric Blake <ebb9@byu.net>
+
+ Fix ftell bug after ungetc.
+ * libc/stdio/ftell.c (_ftell_r): Don't flush ungetc buffer on
+ ftell.
+ * libc/stdio64/ftello64.c (_ftello64_r): Likewise.
+ * libc/stdio/fflush.c (_fflush_r): Clear unget buffer when
+ repositioning underlying fd offset.
+
+2008-03-02 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/include/getopt.h (no_argument): Added for glibc compatibility.
+ (required_argument, optional_argument): Ditto.
+
+2008-02-29 Gregory Pietsch <gpietsch@comcast.net>
+
+ * libc/stdlib/getopt.c (getopt_internal): Rewrite to accept
+ data area so as to support reentrant calls. Change all callers
+ to fill in data area with global values and restore any changes
+ to the global values after call.
+ (__getopt_r, __getopt_long_r, __getopt_long_only_r): New routines
+ to support reentrancy that add a data area argument.
+ * libc/include/getopt.h: Add new _r routines and provide macros
+ so they can be called with using double-underscores.
+
+2008-02-21 Eric Blake <ebb9@byu.net>
+
+ Fix strtod("-0x", NULL).
+ * libc/stdlib/strtod.c (_strtod_r): Fall back to 0 if hex parse
+ fails.
+
+2008-02-12 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/machine/powerpc/vfprintf.c (_VFPRINTF_R): Prepare
+ for user specifying --disable-newlib-io-long-long on configure.
+ Call _fflush_r instead of fflush. For _mbtowc_r, pass the
+ reentrant pointer passed in rather than _REENT.
+
+2008-02-12 Peter Rosin <peda@lysator.liu.se>
+
+ * libc/stdlib/getopt.c (getopt_internal): Handle optional
+ arguments better for long options and short options not
+ appearing as the first option in a sequence.
+
+2008-02-11 Patrick Mansfield <patmans@us.ibm.com>
+
+ * libc/machine/spu/straddr.h: New file, supplies _straddr.
+ * libc/machine/spu/strcat.c: Use _straddr and _strcpy.
+ * libc/machine/spu/strcpy.c: Use _strcpy.
+ * libc/machine/spu/strcpy.h: Supply _strcpy for optimized SPU
+ str[n]cpy and str[n]cat.
+ * libc/machine/spu/strncat.c: Use _straddr and _strcpy.
+ * libc/machine/spu/strncpy.c: Use _strcpy.
+
+2008-02-11 Patrick Mansfield <patmans@us.ibm.com>
+
+ * libc/machine/spu/strlen.c: Remove the len variable and unneeded
+ calculation of its value.
+
+2008-01-25 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * libc/sys/mmixware/isatty.c (_isatty): Renamed from isatty.
+ Make ISO C.
+
+2008-01-21 DJ Delorie <dj@redhat.com>
+
+ * libc/sys/sh/syscalls.c (_isatty): New.
+
+2008-01-21 Neal H. Walfield <neal@gnu.org>
+
+ * Makefile.am (crt1.o): Use correct source.
+ * Makefile.in: Regenerated.
+
+2008-01-15 Eric Blake <ebb9@byu.net>
+
+ * libc/string/Makefile.am (ELIX_2_SOURCES): Fix definition.
+ * libc/string/Makefile: Regenerate.
+
+2008-01-15 Corinna Vinschen <corinna@vinschen.de>
+
+ * libc/include/machine/setjmp.h (__SIGMASK_FUNC): Define as
+ pthread_sigmask or sigprocmask depending on _POSIX_THREADS.
+ (sigsetjmp): Use __SIGMASK_FUNC.
+ (siglongjmp): Ditto.
+ (_setjmp): Define as macro.
+ (_longjmp): Ditto.
+
+2008-01-11 Eric Blake <ebb9@byu.net>
+
+ Make strstr and strcasestr O(n), not O(n^2); add memmem.
+ * libc/string/str-two-way.h: New file.
+ * libc/string/memmem.c (memmem): New file.
+ * libc/include/string.h (memmem): Declare for all platforms.
+ * libc/string/strstr.c (strstr): Provide O(n) implementation when
+ not optimizing for space.
+ * libc/string/strcasestr.c (strcasestr): Likewise.
+ * libc/string/Makefile.am (ELIX_SOURCES): Rename to...
+ (ELIX_2_SOURCES): ...this.
+ (ELIX_4_SOURCES): New category, for memmem.
+ (lib_a_SOURCES, libstring_la_SOURCES): Build new file.
+ (CHEWOUT_FILES): Build documentation for memmem.
+ * libc/string/strings.tex: Include new docs.
+
+2008-01-08 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/machine/m68k/memcpy.S: Remove % from register references
+ as this is already handled by m68kasm.h.
+ * libc/machine/m68k/memset.S: Ditto.
+
+2008-01-07 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/machine/m68k/m68kasm.h: New file.
+ * libc/machine/m68k/setjmp.S: Remove common definitions and
+ place in m68kasm.h. Include "m68kasm.h".
+ * libc/machine/m68k/memcpy.S: Include "m68kasm.h" and use
+ SYM() macro when referencing function name.
+ * libc/machine/m68k/memset.S: Ditto.
+
+2008-01-03 Jeff Johnston <jjohnstn@redhat.com>
+
+ Make isatty syscall handling consistent with other newlib syscalls.
+
+ * libc/include/_syslist.h: Add _isatty.
+ * libc/include/reent.h: Add _isatty_r.
+ * libc/include/sys/unistd.h: Add _isatty.
+ * libc/posix/Makefile.am: Add new _isatty.c file.
+ * libc/posix/Makefile.in: Regenerated.
+ * libc/posix/_isatty.c: New file.
+ * libc/posix/isatty.c: Changed to call _isatty().
+ * libc/reent/Makefile.am: Add new isattyr.c file.
+ * libc/reent/Makefile.in: Regenerated.
+ * libc/reent/isattyr.c: New file.
+ * libc/stdio/freopen.c: Changed to call _isatty_r().
+ * libc/stdio/makebuf.c: Ditto.
+ * libc/sys/a29khif/_isatty.S: Change isatty to _isatty.
+ * libc/sys/arc/isatty.c: Ditto.
+ * libc/sys/arm/syscalls.c: Ditto.
+ * libc/sys/d10v/syscalls.c: Ditto.
+ * libc/sys/h8300hms/syscalls.c: Ditto.
+ * libc/sys/h8500hms/syscalls.c: Ditto.
+ * libc/sys/linux/Makefile.am: Add new isatty.c file.
+ * libc/sys/linux/Makefile.in: Regenerated.
+ * libc/sys/linux/isatty.c: New file.
+ * libc/syscalls/Makefile.am: Add new sysisatty.c file.
+ * libc/syscalls/Makefile.in: Regenerated.
+ * libc/syscalls/sysisatty.c: New file.
+
+2008-01-02 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/syscalls/sysclose.c: Always call reentrant version of the
+ underlying syscall since one is guaranteed to exist in libc/reent.
+ * libc/syscalls/sysexecve.c: Ditto.
+ * libc/syscalls/sysfcntl.c: Ditto.
+ * libc/syscalls/sysfork.c: Ditto.
+ * libc/syscalls/sysfstat.c: Ditto.
+ * libc/syscalls/sysgetpid.c: Ditto.
+ * libc/syscalls/sysgettod.c: Ditto.
+ * libc/syscalls/syskill.c: Ditto.
+ * libc/syscalls/syslink.c: Ditto.
+ * libc/syscalls/syslseek.c: Ditto.
+ * libc/syscalls/sysopen.c: Ditto.
+ * libc/syscalls/sysread.c: Ditto.
+ * libc/syscalls/syssbrk.c: Ditto.
+ * libc/syscalls/sysstat.c: Ditto.
+ * libc/syscalls/systimes.c: Ditto.
+ * libc/syscalls/sysunlink.c: Ditto.
+ * libc/syscalls/syswait.c: Ditto.
+ * libc/syscalls/syswrite.c: Ditto.
+
+2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
+
+ * NEWS: Update with 1.16.0 info.
+ * README: Ditto.
+ * acinclude.m4: Change version number to 1.16.0.
+ * aclocal.m4: Regenerated.
+ * configure: Ditto.
+ * doc/aclocal.m4: Ditto.
+ * doc/configure: Ditto.
+ * libc/*/aclocal.m4: Ditto.
+ * libc/*/configure: Ditto.
+ * libc/libc.texinfo: Ditto.
+ * libm/*/aclocal.m4: Ditto.
+ * libm/*/configure: Ditto.
+ * libm/libm.texinfo: Ditto.
+ * libc/sys/linux/shared.ld: Add VERS_1.16.
+
+2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/string/strcasestr.c: Remove id macro.
+ * libc/sys/linux/linuxthreads/attr.c: Fix up sched_priority
+ field reference to be __sched_priority.
+ * libc/sys/linux/linuxthreads/joinrace.c: Ditto.
+ * libc/sys/linux/linuxthreads/manager.c: Ditto.
+ * libc/sys/linux/stdlib/collate.c: Remove id macro.
+ * libc/sys/linux/stdlib/collcmp.c: Ditto.
+ * libc/sys/linux/stdlib/engine.c: Ditto.
+ * libc/sys/linux/stdlib/fnmatch.c: Ditto.
+ * libc/sys/linux/stdlib/glob.c: Ditto.
+ * libc/sys/linux/stdlib/reallocf.c: Ditto.
+ * libc/sys/linux/stdlib/regcomp.c: Ditto.
+ * libc/sys/linux/stdlib/regerror.c: Ditto.
+ * libc/sys/linux/stdlib/regexec.c: Ditto.
+ * libc/sys/linux/stdlib/regfree.c: Ditto.
+ * libc/sys/linux/sys/cdefs.h: Replace with latest version.
+ * libc/sys/linux/include/argp.h: Ditto.
+ * libc/sys/linux/sys/libc-lock.h: New file.
+ * libc/sys/linux/sys/stdint.h: Ditto.
+ * libc/sys/linux/include/sched.h: New file.
+
+2007-12-19 Dave Korn <dave.korn@artimi.com>
+ Jeff Johnston <jjohnstn@redhhat.com>
+
+ * libc/include/_ansi.h: Add _LONG_LONG definition.
+ * libc/include/math.h (llrint, llrintf, rintl, lrintl, llrintl): Add
+ prototypes.
+ * libc/machine/i386/machine/fastmath.h: Add support for new i386
+ fast math versions of rint, lrint, and llrint family functions.
+ * libm/machine/i386/Makefile.am: Add new files.
+ * libm/machine/i386/Makefile.in: Regenerated.
+ * libm/machine/i386/f_llrint.c, libm/machine/i386/f_lrint.c,
+ libm/machine/i386/f_rint.c, libm/machine/i386/f_llrintf.c,
+ libm/machine/i386/f_lrintf.c, libm/machine/i386/f_rintf.c,
+ libm/machine/i386/f_llrintl.c, libm/machine/i386/f_lrintl.c,
+ libm/machine/i386/f_rintl.c: New files with fast math implementations.
+
+2007-12-19 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/include/sys/features.h: Add checks for C90 compilers using
+ -ansi.
+
+2007-12-19 Corinna Vinschen <corinna@vinschen.de>
+
+ * libc/include/wchar.h: Add prototypes for wcpcpy and wcpncpy.
+ * libc/string/Makefile.am (ELIX_SOURCES): Add wcpcpy.c and
+ wcpncpy.c.
+ (CHEWOUT_FILES): Add wcpcpy.def and wcpncpy.def.
+ * libc/string/Makefile.in: Regenerate.
+ * libc/string/wcpcpy.c: New file.
+ * libc/string/wcpncpy.c: New file.
+ * libc/string/wcstrings.tex: Add wcpcpy and wcpncpy.
+
+2007-12-19 Corinna Vinschen <corinna@vinschen.de>
+
+ * libc/stdio/vfprintf.c (_VFPRINTF_R): Use correct pointer in call to
+ _wcsrtombs_r.
+
+2007-11-19 Nick Clifton <nickc@redhat.com>
+
+ * libc/machine/mn10300/Makefile.am (CCASFLAGS): Add -Wa,--gdwarf-2.
+ * libc/machine/mn10300/Makefile.in: Regenerate.
+ * libc/machine/mn10300/memchar.S: Remove redundant labels. Add
+ .debug_frame section.
+ * libc/machine/mn10300/memcmp.S: Likewise.
+ * libc/machine/mn10300/memcpy.S: Likewise.
+ * libc/machine/mn10300/memset.S: Likewise.
+ * libc/machine/mn10300/strchr.S: Likewise.
+ * libc/machine/mn10300/strcmp.S: Likewise.
+ * libc/machine/mn10300/strcpy.S: Likewise.
+ * libc/machine/mn10300/strlen.S: Likewise.
+
+2007-11-15 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/include/sys/_default_fcntl.h: New header file that
+ is the default version of sys/fcntl.h.
+ * libc/include/sys/fcntl.h: Changed to simply include
+ sys/_default_fcntl.h.
+ * libc/sys/arm/sys/fcntl.h: New file that includes
+ sys/_default_fcntl.h and defines O_BINARY.
+
+2007-11-08 Corinna Vinschen <corinna@vinschen.de>
+
+ * libc/include/sys/unistd.h: Remove Cygwin definition of MAXPATHLEN.
+
+2007-11-07 Dave Brolley <brolley@redhat.com>
+
+ * libc/machine/configure: Regenerated to pick up mep-elf changes.
+
+ * Contribute mep-elf from Red Hat
+ 2006-10-27 DJ Delorie <dj@redhat.com>
+
+ * libc/include/machine/setjmp.h: Add MeP support.
+
+ 2003-04-17 DJ Delorie <dj@redhat.com>
+
+ * configure.host (mep-*-*): Support "long long" type.
+
+ 2001-06-06 DJ Delorie <dj@redhat.com>
+
+ * libc/include/machine/ieeefp.h (mep): Support little endian too.
+
+ 2001-05-14 DJ Delorie <dj@redhat.com>
+
+ * configure.host: Add mep's machine_dir.
+ * libc/include/setjmp.h: Add mep support.
+ * libc/machine/mep: New.
+ * libc/machine/mep/setjmp.S: New, support mep's setjmp/longjmp.
+
+ 2001-05-04 DJ Delorie <dj@redhat.com>
+
+ * configure.host: Add mep.
+ * libc/include/machine/ieeefp.h: Ditto.
+
+2007-10-31 DJ Delorie <dj@redhat.com>
+
+ * libc/signal/signal.c (_raise_r): Don't attempt to initialize the
+ signal table, just use a default, in case initialization cause
+ recursion.
+
+2007-10-23 Jeff Johnston <jjohnstn@redhat.com>
+
+ * libc/stdlib/wcstombs_r.c: Add SUSV2 support for calculating
+ size if output buffer is NULL.
+
2007-10-17 Jeff Johnston <jjohnstn@redhat.com>
* libm/mathfp/s_logarithm.c: Fix error introduced by previous