OSDN Git Service

2006-12-04 Kazunori Asayama <asayama@sm.sony.co.jp>
[pf3gnuchains/pf3gnuchains4x.git] / newlib / ChangeLog
index 0e0572a..119c0a6 100644 (file)
@@ -1,3 +1,447 @@
+2006-12-04  Kazunori Asayama  <asayama@sm.sony.co.jp>
+
+       * testsuite/newlib.string/tstring.c: 
+
+2006-12-01  Kazunori Asayama  <asayama@sm.sony.co.jp>
+
+       * libc/machine/spu/strchr.c: Fix mask for misaligned string.
+       * libc/machine/spu/strrchr.c: Ditto.
+
+2006-11-30  Lev Bishop  <lev.bishop@gmail.com>
+
+       * libc/include/math.h: Allow C99 functions/macros to be
+       defined for C++ even when __STRICT_ANSI__.
+
+2006-11-29  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/stdio/makebuf.c (__smakebuf): If dealing with
+       an asprintf-family buffer, make the default initial size 64.
+
+2006-11-29  Eric Blake  <ebb9@byu.net>
+
+       * libc/stdio/fvwrite.c (__sfvwrite_r): Avoid off-by-one error in
+       asprintf, as well as quadratic realloc behavior.
+
+2006-11-29  Kazunori Asayama  <asayama@sm.sony.co.jpi
+
+       * libc/machine/spu/memset.c: Fix type of explicit cast.
+       * libc/machine/spu/strncmp.c: Add explicit cast.
+       * libc/machine/spu/strrchr.c: Ditto.
+       * libc/machine/spu/strspn.c: Ditto.
+
+2006-11-22  Luca Barbato  <lu_zero@gentoo.org>
+
+       * libc/machine/spu/memcpy.c: Use spu_splats, explicit cast.
+       * libc/machine/spu/memmove.c: Use spu_splats, explicit cast.
+       * libc/machine/spu/memset.c: Use spu_splats, remove apple-cast.
+       * libc/machine/spu/strchr.c: Use spu_splats, remove apple-cast.
+       * libc/machine/spu/strncat.c: Explicit cast.
+       * libc/machine/spu/strncmp.c: Use spu_splats.
+       * libc/machine/spu/strncpy.c: Explicit cast.
+       * libc/machine/spu/strrchr.c: Use spu_splats.
+       * libc/machine/spu/strspn.c: Use spu_splats.
+
+2006-11-15  Till Straumann  <strauman@slac.stanford.edu>
+
+       * libc/time/tzset_r.c (_tzset_r): Initialize local variable.
+
+2006-11-14  Eric Blake  <ebb9@byu.net>
+
+       * libc/stdio/vfprintf.c (_vfprintf_r): Support ' flag.
+       (chclass): ' is a flag.  j, t, and z are modifiers.
+
+2006-11-08  Jie Zhang  <jie.zhang@analog.com>
+
+       * configure.host: Add support for bfin.
+       * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for bfin.
+       * libc/include/machine/setjmp.h: Define _JBLEN for bfin.
+       * libc/machine/bfin/aclocal.m4: Generate.
+       * libc/machine/bfin/configure.in: New.
+       * libc/machine/bfin/configure: Generate.
+       * libc/machine/bfin/Makefile.am: New.
+       * libc/machine/bfin/Makefile.in: Generate.
+       * libc/machine/bfin/setjmp.S: New.
+       * libc/machine/bfin/longjmp.S: New.
+       * libc/machine/configure.in: Add bfin support.
+       * libc/machine/configure: Generate.
+
+2006-11-07  Corinna Vinschen  <corinna@vinschen.de>
+
+       * libc/include/sys/unistd.h (_SC_STREAM_MAX): Define on Cygwin.
+       (_PC_FILESIZEBITS): Add definition.
+       (_PC_2_SYMLINKS): Ditto.
+       (_PC_SYMLINK_MAX): Ditto.
+
+2006-10-27  Joel Schopp  <jschopp@austin.ibm.com>
+
+       * libc/machine/spu/memcpy.c: Override generic function with vectorized
+       version optimized for the cell spu.
+       * libc/machine/spu/memmove.c: Ditto.
+       * libc/machine/spu/memset.c: Ditto.
+       * libc/machine/spu/strcat.c: Ditto.
+       * libc/machine/spu/strchr.c: Ditto.
+       * libc/machine/spu/strcmp.c: Ditto.
+       * libc/machine/spu/strcpy.c: Ditto.
+       * libc/machine/spu/strcspn.c: Ditto.
+       * libc/machine/spu/strlen.c: Ditto.
+       * libc/machine/spu/strncat.c: Ditto.
+       * libc/machine/spu/strncmp.c: Ditto.
+       * libc/machine/spu/strncpy.c: Ditto.
+       * libc/machine/spu/strpbrk.c: Ditto.
+       * libc/machine/spu/strrchr.c: Ditto.
+       * libc/machine/spu/strspn.c: Ditto.
+       * libc/machine/spu/strxfrm.c: Ditto.
+       * libc/machine/spu/vec_literal.h: Add abstraction of vector literals, 
+       removing altivec style initializers.
+       * libc/machine/spu/Makefile.am: Add new files to list so they build
+       * libc/machine/spu/Makefile.in: Regenerate from new Makefile.am
+
+2006-10-27  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * README: Add a brief section on how to regenerate
+       configuration files in newlib.
+
+2006-10-25  Vladimir Prus  <vladimir@codesourcery.com>
+
+       * libc/include/math.h: (exception): Add a comment
+       telling fixincludes that we handle C vs. C++ issue.
+
+2006-10-11  Yang Tse  <yangsita@gmail.com>
+
+       * libc/include/machine/setjmp.h: Use __extension__ keyword for gcc's
+       braced-groups.
+
+2006-10-11  Corinna Vinschen  <corinna@vinschen.de>
+
+       * libc/reent/reeent.c (_reclaim_reent): Free _REENT_MP_RESULT.
+
+2006-09-26  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/include/stdio.h[_REENT_SMALL]: Do not allow macros
+       for clearerr, feof, or fileno.
+       * libc/include/sys/reent.h[_REENT_SMALL](struct _reent): Change 
+       the dummy std stream scheme to use pointers to const external 
+       fake files, one for each standard stream.
+       * libc/stdio/local.h (CHECK_INIT): Change to take a file pointer
+       argument.  For _REENT_SMALL, reset the file pointer if it
+       matches one of the fake std stream pointers.
+       * libc/stdio/clearerr.c: Fix CHECK_INIT macro to add file pointer
+       argument.
+       * libc/stdio/fclose.c: Ditto.
+       * libc/stdio/feof.c: Ditto.
+       * libc/stdio/ferror.c: Ditto.
+       * libc/stdio/fflush.c: Ditto.
+       * libc/stdio/fgetc.c: Ditto.
+       * libc/stdio/fgets.c: Ditto.
+       * libc/stdio/fileno.c: Ditto.
+       * libc/stdio/findfp.c: Ditto.
+       * libc/stdio/fputc.c: Ditto.
+       * libc/stdio/fputs.c: Ditto.
+       * libc/stdio/fread.c: Ditto.
+       * libc/stdio/freopen.c: Ditto.
+       * libc/stdio/fseek.c: Ditto.
+       * libc/stdio/ftell.c: Ditto.
+       * libc/stdio/fwrite.c: Ditto.
+       * libc/stdio/getc.c: Ditto.
+       * libc/stdio/getdelim.c: Ditto.
+       * libc/stdio/putc.c: Ditto.
+       * libc/stdio/refill.c: Ditto.
+       * libc/stdio/setvbuf.c: Ditto.
+       * libc/stdio/ungetc.c: Ditto.
+       * libc/stdio/vfprintf.c: Ditto.
+       * libc/stdio/vfscanf.c: Ditto.
+       * libc/stdio/wbuf.c: Ditto.: Ditto.
+       * libc/stdio/wsetup.c: Ditto.
+       * libc/stdio64/freopen64.c: Ditto.
+       * libc/stdio64/fseeko64.c: Ditto.
+       * libc/stdio64/ftello64.c: Ditto.
+       * libc/machine/powerpc/vfprintf.c: Ditto.
+       * libc/machine/powerpc/vfscanf.c: Ditto.
+
+2006-09-22  Paul Brook  <paul@codesourcery.com>
+
+       * libc/include/sys/reent.h: Define and use __reent_assert.
+
+2006-09-13  Joel Sherrill <joel@oarcorp.com>
+
+       * libc/include/pthread.h: Add pthread barriers,
+       rwlocks, and spinlocks.  Change const to
+       _CONST and prefix parameter names with
+       an underscore.
+       * libc/include/sys/types.h: Add id and attribute
+       types for barriers, wrlocks, and spinlocks.
+       * libc/include/sys/features.h: Enable barriers,
+       wrlocks, and spinlocks for RTEMS.
+
+2006-09-13  Patrick Mansfield <patmans@us.ibm.com>
+
+       * libc/include/math.h: Remove _CONST from _LIB_VERSION, as it is
+       supposed to be writable.
+       * libm/common/s_lib_ver.c: Ditto.
+
+2006-09-12  Paul Brook  <paul@codesourcery.com>
+
+       * libc/stdlib/rand.c (srand): Add _REENT_CHECK_RAND48.
+
+2006-09-07  Masaki Muranaka  <monaka@monami-software.com>
+
+
+       * libc/machine/xstormy16/Makefile.am:
+       Add $(lpfx) prefix to LIBADD objects.
+       lib_a_DEPENDENCIES uses the value of lib_a_LIBADD.
+       * libc/machine/xstormy16/Makefile.in: Regenerated.
+
+2006-09-06  Eric Blake  <ebb9@byu.net>
+
+       * libc/stdio/vfprintf.c (_vfprintf_r, get_arg): Add 'hh', 'j',
+       't', and 'z' modifiers.
+
+2006-09-01  Kazu Hirata  <kazu@codesourcery.com>
+
+       Merge from newlib-csl-20060320-branch:
+       2006-05-22  Sandra Loosemore <sandra@codesourcery.com>
+
+       * configure.host: Tell it we have _rename and _system when
+       building m68k-unknown-elf.
+
+2006-08-29  Paul Brook  <paul@codesourcery.com>
+
+       * libc/include/sys/config.h: Define _REENT_SMALL for Thumb-2.
+
+2006-08-27  Joel Sherrill <joel.sherrill@OARcorp.com>
+
+       * libc/sys/rtems/machine/sys/param.h: Conditionalize definition of
+       BLKDEV_IOSIZE and MAXPHYS so it will fit into small memory targets.
+       This is needed to build all AVR and H8300 RTEMS multilib variants.
+
+2006-08-23  Kazunori Asayama  <asayama@sm.sony.co.jp>
+
+       * libc/machine/configure.in: Add configuration for SPU.
+       * libc/machine/configure: Regenerated.
+       * libc/machine/spu/memcpy.c: Include string.h.
+
+2006-08-22  Eric Blake  <ebb9@byu.net>
+
+       * libc/posix/popen.c (popen): Don't close output end of pipe in
+       child if stdout was closed on entry.
+       [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
+
+2006-08-19  Ramana Radhakrishnan  <ramana.r@gmail.com>
+
+       * sys/types.h: Correct syntax error caused by missing '\' on #ifdef
+       line.
+
+2006-08-17  Brian Ford  <Brian.Ford@FlightSafety.com>
+
+       * libc/time/gmtime.c: Correct man page; clock is not a
+       local time and no conversion occurs.
+
+2006-08-16  Joel Schopp  <jschopp@austin.ibm.com>
+
+        * configure.host (newlib_cflags) [spu]: Add special compiler
+        options to reduce size.
+
+2006-08-16  Joel Schopp  <jschopp@austin.ibm.com>
+
+       * configure.host: Add spu support.
+       * libc/include/stdint.h: Ditto.
+       * libc/include/machine/ieeefp.h: Ditto.
+       * libc/include/machine/setjmp.h: Ditto.
+       * libc/include/sys/config.h: Ditto.
+       * libc/include/sys/types.h: Ditto.
+       * libc/machine/spu/Makefile.am: New file.
+       * libc/machine/spu/Makefile.in: Ditto.
+       * libc/machine/spu/aclocal.m4: Ditto.
+       * libc/machine/spu/configure: Ditto.
+       * libc/machine/spu/configure.in: Ditto.
+       * libc/machine/spu/memcpy.c: Ditto.
+       * libc/machine/spu/setjmp.S: Ditto.
+
+2006-08-03  J"orn Rennecke  <joern.rennecke@st.com>
+
+       * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case
+       properly.
+
+2006-08-01  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/Makefile.am: Add libc_TEXINFOS dependency on
+       generated .texi files.
+       * libm/Makefile.am: Add libm_TEXINFOS dependency on
+       generated .texi files.
+       * libc/Makefile.in: Regenerated.
+       * libm/Makefile.in: Ditto.
+
+2006-08-01  Thiemo Seufer  <ths@mips.com>
+            Nigel Stephens  <nigel@mips.com>
+
+       * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS
+       define this to force _impure_ptr to live in the .sdata section.
+
+2006-07-31  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * acinclude.m4: Check for readelf tool.
+       * configure.in: Use ${READELF} instead of hard-coding.
+       * Regenerate all aclocal.m4, Makefile.in, and configure files.
+
+2006-07-31  Jeff Johnston  <jjohnstn@redhat.com>       
+
+       * libc/sys/linux/mmap.c: Remove include of sys/mman.h
+       to avoid conflict with newer glibc's revision of mremap.
+
+2006-07-05  Jeff Johnston  <jjohnstn@redhat.com>       
+
+       * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS]: Turn off C99 hex 
+       floating-point format support.  Also redefine
+       dword0 and dword1 macros.
+       * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
+       to prevent setting dword1 which is an rvalue only.
+
+2006-06-22  Jeff Johnston  <jjohnstn@redhat.com>       
+
+       * libc/stdlib/Makefile.am: Add new gdtoa routines.
+       * libc/stdlib/Makefile.in: Regenerated.
+       * libc/stdlib/gd_qnan.h: New file.
+       * libc/stdlib/gdtoa-gethex.c: Ditto.
+       * libc/stdlib/gdtoa-hexnan.c: Ditto.
+       * libc/stdlib/gdtoa.h: Ditto.
+       * libc/stdlib/mprec.c: Add new helper routines needed by
+       the new gdtoa code.
+       * libc/stdlib/mprec.h: Integrate some defines and prototypes
+       used by gdtoa routines here.
+       * libc/stdlib/strtod.c: Rebased on David M. Gay's gdtoa-strtod.c
+       which adds C99 support such as nan, inf, and hexadecimal input
+       format.
+
+2006-06-15  Corinna Vinschen  <corinna@vinschen.de>
+
+       * libc/include/stdio.h (__sgetc_r): Fix typo.
+       * libc/stdio/fread.c (_fread_r): Convert crlf calls to crlf_r.
+       * libc/stdio/rget.c (__srbuf): Reinstantiate.
+       * libc/stdio/wbuf.c (__swbuf): Ditto.
+
+2006-06-14  Jeff Johnston  <jjohnstn@redhat.com>       
+
+       * libc/include/stdio.h: Add new reentrant I/O prototypes for
+       read/write functions.  Change getc/putc macros to have reentrant underlying 
+       macros/functions.  This includes __sgetc_raw_r, __sgetc_r, and __sputc_r.
+       * libc/stdio/fgetc.c: Fix and/or add reentrant version to call
+       new reentrant I/O functions/macros for reading/writing.
+       * libc/stdio/fgets.c: Ditto.
+       * libc/stdio/fputc.c: Ditto.
+       * libc/stdio/fputs.c: Ditto.
+       * libc/stdio/fread.c: Ditto.
+       * libc/stdio/fseek.c: Ditto.
+       * libc/stdio64/fseeko64.c: Ditto.
+       * libc/stdio/fwrite.c: Ditto.
+       * libc/stdio/getc.c: Ditto.
+       * libc/stdio/getc_u.c: Ditto.
+       * libc/stdio/getchar.c: Ditto.
+       * libc/stdio/getchar_u.c: Ditto.
+       * libc/stdio/putc.c: Ditto.
+       * libc/stdio/putc_u.c: Ditto.
+       * libc/stdio/putchar.c: Ditto.
+       * libc/stdio/puts.c: Ditto.
+       * libc/stdio/vfprintf.c: Ditto.
+       * libc/stdio/vfscanf.c: Ditto.
+       * libc/stdio/fvwrite.c: Change __sfvwrite into reentrant __sfvwrite_r.
+       Change all previous callers of __sfvwrite.  Set errno to EBADF and
+       set error flag on if attempt is made to write to file that does not
+       allow writing.
+       * libc/stdio/fvwrite.h: Fix new reentrant prototypes.
+       * libc/stdio/local.h: Ditto.
+       * libc/stdio/refill.c: Turn __srefill into reentrant __srefill_r.
+       Set errno to EBADF and the error flag on if attempt is made to
+       read unreadable file.  Change all previous callers of __srefill.
+       * libc/stdio/rget.c
+       * libc/stdio/wbuf.c: Turn __swbuf into reentrant __swbuf_r.  Change
+       all previous callers of __swbuf.
+       * libc/sys/linux/machine/i386/huge_val.h: Ifdef out file contents since
+       huge value macros are already defined correctly for i386 by <math.h>.
+
+2006-06-13  Sandra Loosemore <sandra@codesourcery.com>
+
+       * /libc/sys/arm/syscalls.c (_unlink, isatty, _system, _rename):
+       Make them do something useful in the ARM_RDI_MONITOR case.
+
+2006-06-07  Fred Fish  <fnf@specifix.com>
+
+       * libc/search/hash_bigkey.c (MIN,MAX): Remove
+       defines that are already supplied by <sys/param.h>.
+
+2006-06-07  Fred Fish  <fnf@specifix.com>
+
+       * configure.host: Remove references to HAVE_GETTIMEOFDAY.
+
+2006-06-05  Shaun Jackman  <sjackman@gmail.com>
+
+       * libc/posix/Makefile.am (GENERAL_SOURCES): Add sleep.c and
+       usleep.c.
+       * libc/posix/Makefile.in: Regenerate.
+       * libc/posix/sleep.c: New file.
+       * libc/posix/usleep.c: Ditto.
+
+2006-06-05  Shaun Jackman  <sjackman@gmail.com>
+
+       * configure.host (newlib_cflags) [arm, thumb, xscale]:  Remove
+       -DABORT_PROVIDED flag.
+       * newlib/libc/sys/arm/syscalls.c (kill, exit): Sync with libgloss.
+       * newlib/libc/sys/arm/libcfunc.c (abort): Ditto.
+
+2006-06-05  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * Makefile.am (AM_MAKEFLAGS): Pass CCASFLAGS.
+       * Makefile.in: Regenerated.
+       * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Remove
+       extraneous CFLAGS reference now that CCASFLAGS are being extended
+       properly via multilib.
+       * libc/machine/sh/Makefile.in: Regenerated.
+
+2006-06-02  Shaun Jackman  <sjackman@gmail.com>
+
+       * libc/unix/sigset.c: Undefine sigfillset, sigdelset, and
+       sigismember.
+
+2006-05-23  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/misc/dprintf.c: Removed.
+       * libc/misc/__dprintf.c: Renamed from dprintf.c.
+       * libc/misc/Makefile.am: Changed appropriately for rename.
+       * libc/misc/Makefile.in: Regenerated.
+
+2006-05-23  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/include/stdio.h: Protect dprintf prototype
+       with #ifndef dprintf so as to not interfere with
+       historical code defining their own dprintf macro.
+
+2006-05-18  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/include/stdio.h: Add prototypes for fiscanf,
+       iscanf, and siscanf.
+
+2006-05-11  J"orn Rennecke <joern.rennecke@st.com>
+
+       * acinclude.m4 (_NEWLIB_VERSION): Rename to:
+       (DEF_NEWLIB_VERSION).
+       * configure.in (_NEWLIB_VERSION): Use NEWLIB_VERSION.
+       * configure: Regenerate.
+
+2006-05-09  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/ctype/Makefile.am: Add $(ELIX_SOURCES) to
+       lib_a_SOURCES.
+       * libc/ctype/Makefile.in: Regenerated.
+
+2006-05-09  Kazu Hirata  <kazu@codesourcery.com>
+
+       * libc/machine/arm/Makefile.am: Fix a typo.
+       * libc/machine/arm/Makefile.in: Regenerated.
+
+2006-05-08  J"orn Rennecke <joern.rennecke@st.com>
+
+       * libc/machine/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
+       * libc/machine/sh/Makefile.in: Regenerate.
+
 2006-05-03  J"orn Rennecke <joern.rennecke@st.com>
 
        * libc/sys/sh/Makefile.am (AM_CCASFLAGS): Add $(CFLAGS).
@@ -4943,7 +5387,7 @@ Thu Apr  3 14:01:16 2003  J"orn Rennecke <joern.rennecke@superh.com>
         * libc/include/limits.h: New file.
         * libc/sys/linux/include/limits.h: Ditto.
         * doc/aclocal.m4 doc/configure libc/aclocal.m4
-          libc/configure libc/include/%redact libc/machine/aclocal.m4
+          libc/configure libc/machine/aclocal.m4
           libc/machine/configure libc/machine/a29k/aclocal.m4
           libc/machine/a29k/configure libc/machine/arm/aclocal.m4
           libc/machine/arm/configure libc/machine/d10v/aclocal.m4
@@ -4985,7 +5429,7 @@ Thu Apr  3 14:01:16 2003  J"orn Rennecke <joern.rennecke@superh.com>
           libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
           libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
           libc/sys/idt/configure libc/sys/linux/aclocal.m4
-          libc/sys/linux/configure libc/sys/linux/include/%redact
+          libc/sys/linux/configure
           libc/sys/linux/machine/aclocal.m4
           libc/sys/linux/machine/configure
           libc/sys/linux/machine/i386/aclocal.m4