OSDN Git Service

2002-08-19 Jeff Johnston <jjohnstn@redhat.com>
[pf3gnuchains/pf3gnuchains4x.git] / newlib / ChangeLog
index 68c311e..afe225f 100644 (file)
@@ -1,3 +1,317 @@
+2002-08-19  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/include/sys/types.h: Support __need_inttypes macro
+       that only sets the __intxx and __uintxx types.  
+       * libc/machine/powerpc/Makefile.am: Add stdlib to include directories
+       to get mprec.h.
+       * libc/machine/powerpc/Makefile.in: Regenerated.
+       * libc/machine/powerpc/vfprintf.c: Fix state variable type.
+       * libc/machine/powerpc/vfscanf.c: Fix state variable type.  Remove
+       redundant fixed-point conversion prototypes.
+       * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Include <sys/types.h>
+       after setting __need_inttypes.
+
+2002-08-18  Christopher Faylor  <cgf@redhat.com>
+
+       * libc/include/sys/unistd.h: Add getsid declaration for cygwin.
+
+2002-08-17  Jeff Johnston  <jjohnstn@redhat.com>
+
+        * libc/include/sys/config.h[__PPC__][__SPE__]: Set
+        _LONG_DOUBLE to double.
+
+2002-08-17  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * configure.host: Add powerpc*-*-eabispe* configuration.
+       * libc/machine/powerpc/atosfix16.c: New fixed-point conversion file.
+       * libc/machine/powerpc/atosfix32.c: Ditto.
+       * libc/machine/powerpc/atosfix64.c: Ditto.
+       * libc/machine/powerpc/atoufix16.c: Ditto.
+       * libc/machine/powerpc/atoufix32.c: Ditto.
+       * libc/machine/powerpc/atoufix64.c: Ditto.
+       * libc/machine/powerpc/fix64.h: Ditto.
+       * libc/machine/powerpc/simdldtoa.c: Ditto.
+       * libc/machine/powerpc/strtosfix16.c: Ditto.
+       * libc/machine/powerpc/strtosfix32.c: Ditto.
+       * libc/machine/powerpc/strtosfix64.c: Ditto.
+       * libc/machine/powerpc/strtoufix16.c: Ditto.
+       * libc/machine/powerpc/strtoufix32.c: Ditto.
+       * libc/machine/powerpc/strtoufix64.c: Ditto.
+       * libc/machine/powerpc/ufix64toa.c: Ditto.
+       * libc/machine/powerpc/configure.in: Add check for
+       powerpc*-eabispe and add fixed-point conversion functions.
+       * libc/machine/powerpc/configure: Regenerated.
+       * libc/machine/powerpc/vfprintf.c[__SPE__]: Add support for
+       %r and %R format specifiers which handle fixed-point data.
+       * libc/machine/powerpc/vfscanf.c[__SPE__]: Ditto.
+       * libc/machine/powerpc/machine/stdlib.h[__SPE__]: Add fixed-point
+       function prototypes.
+
+2002-08-17  Jeff Johnston  <jjohnstn@redhat.com>
+
+       *  Makefile.am: Move cmath stuff into libc/sys/linux.
+       *  Makefile.in: Regenerated.
+       *  configure.host: Default -DMB_CAPABLE for x86-linux.
+       *  libc/include/reent.h: Define _sbrk to take signed int argument.
+       *  libc/include/sys/unistd.h: Ditto for _sbrk_r and sbrk.
+       *  libc/locale/locale.c[MB_CAPABLE]: Add LC_MESSAGES support and 
+       make locale name checking more efficient.  Also allow "C-ISO-8859-1" 
+       locale for LC_CTYPE and LC_MESSAGES.
+       *  libc/reent/sbrkr.c: Change prototype to take ptrdiff_t.
+       *  libc/sys/linux/brk.c: Change sbrk prototype.
+       *  libc/sys/linux/include/time.h: Remove Cygwin stuff and
+       include <sys/features.h>.
+       (CLOCK_THREAD_CPUTIME): Renamed to CLOCK_THREAD_CPUTIME_ID.
+       (CLOCK_PROCESS_CPUTIME): Renamed to CLOCK_PROCESS_CPUTIME_ID.
+       *  libc/sys/linux/sys/cdefs.h: Replace with glibc sys/cdefs.h
+       with a few local additions.
+       *  libc/sys/linux/sys/features.h: New file.
+       *  libc/sys/linux/sys/unistd.h: Change _sbrk_r and sbrk prototypes
+       to take signed argument.
+       *  libc/syscalls/syssbrk.c: Change sbrk, _sbrk_r, and _sbrk
+       prototypes to take signed size argument.
+
+2002-08-16  Thomas Fitzsimmons  <fitzsim@redhat.com>
+
+       * libc/sys/linux/cmath: New directory.
+       * libc/sys/linux/include/cmathcalls.h: New file.
+       * libc/sys/linux/include/complex.h: New file.
+       * libc/sys/linux/machine/i386/huge_val.h: New file
+       * libm/math/w_sincos.c: New file
+       * libm/math/wf_sincos.c: New file
+       * libm/mathfp/s_sincos.c: New file
+       * libm/mathfp/sf_sincos.c: New file
+       * Makefile.am (LIBC_OBJECTLISTS): Add cmath/objectlist.awk.in.
+       * libc/include/math.h: Add sincos and sincosf declarations.
+       * libc/sys/linux/Makefile.am (SUBDIRS): Add cmath.
+       (SUBLIBS): Likewise.
+       * libc/sys/linux/configure.in (AC_OUTPUT): Add cmath.
+       * libm/math/Makefile.am (src): Add w_sincos.c.
+       (fsrc): Add wf_sincos.c.
+       * libm/mathfp/Makefile.am (src): Add s_sincos.c
+       (fsrc): Add sf_sincos.c.
+
+2002-08-12  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/sys/linux/machine/i386/crt0.c (__bss_start,_end):
+       Declare as extern chars and use the address operator to
+       properly use values set in linker script.
+
+2002-08-09  Jason Tishler  <jason@tishler.net>
+
+       * libc/stdlib/mallocr.c: Include <limits.h>.
+       (request2size): Change macro to do
+       unsigned long comparisons and avoid signed overflow.
+       (mALLOc): Add overflow check for the number of bytes to allocate.
+       (rEALLOc): Ditto.
+
+2002-08-09  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * configure.host: Add check for --enable-newlib-io-pos-args
+       and define WANT_IO_POS_ARGS flag if enabled.  Define
+       the flag by default for x86-linux configurations.
+       * configure.in: Add support for --enable-newlib-io-pos-args.
+       * libc/configure.in: Ditto.
+       * configure: Regenerated.
+       * libc/configure: Ditto.
+       * libc/stdio/Makefile.am: Specify -fshort-enums for compiling
+       vfprintf.c and vfiprintf.c.
+       * libc/stdio/Makefile.in: Regenerated.
+       * libc/stdio/vfprintf.c: Add positional argument support that
+       is enabled by compiling with -DWANT_IO_POS_ARGS.
+
+2002-08-07  Richard Sandiford  <rsandifo@redhat.com>
+
+       * libc/include/machine/setjmp.h: For mips, define _JBLEN based
+       based on __mips_soft_float rather than __mips64.
+       * libc/machine/mips/setjmp.S: Provide hard and soft float versions
+       of both 32-bit and 64-bit code.
+
+2002-08-04  Christopher Faylor  <cgf@redhat.com>
+
+       * libc/stdio/popen.c (popen): Allow "rb", "rt", "wb", and "wt"
+       arguments for popen to match similar functionality in fopen.
+
+2002-07-29  Pierre Humblet  <pierre.humblet@ieee.org>
+
+       * libc/include/sys/unistd.h: Add setgroups prototype for Cygwin.
+
+2002-07-29  Jeff Johnston  <jjohnstn@redhat.com>
+
+        * libc/sys/linux/Makefile.am: Add aio64.c. 
+        * libc/sys/linux/Makefile.in: Regenerated.
+        * libc/sys/linux/aio.c (aio_init): ENOSYS stub added.
+        * libc/sys/linux/aio64.c: New file.
+
+2002-07-26  Jeff Johnston  <jjohnstn@redhat.com>
+
+       *  libc/include/sys/param.h (MAX, MIN): Added macros.
+       *  libc/sys/linux/Makefile.am: Add new files.
+       *  libc/sys/linux/Makefile.in: Regenerated.
+       *  libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
+       *  libc/sys/linux/inode.c (fchdir): Added syscall.
+       *  libc/sys/linux/ftw.c: New file.
+       *  libc/sys/linux/ftw64.c: Ditto.
+       *  libc/sys/linux/getwd.c: Ditto.
+       *  libc/sys/linux/scandir64.c: Ditto.
+       *  libc/sys/linux/strverscmp.c: Ditto.
+       *  libc/sys/linux/versionsort.c: Ditto.
+       *  libc/sys/linux/versionsort64.c: Ditto.
+
+2002-07-26  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/string/strings.tex: Fix typo for memccpy.
+
+2002-07-25  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/sys/linux/io64.c (truncate64, ftruncate64): Added.
+       * libc/sys/linux/sys/types.h (off64_t): Definition added.
+
+2002-07-25  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/sys/linux/Makefile.am: Add fclean.c.
+       * libc/sys/linux/Makefile.in: Regenerated.
+       * libc/sys/linux/fclean.c: New file.
+
+2002-07-25  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/sys/linux/Makefile.am: Add confstr.c.
+       * libc/sys/linux/Makefile.in: Regenerated.
+       * libc/sys/linux/confstr.c: New file.
+       * libc/sys/linux/confstr.h: Ditto.
+       * libc/sys/linux/sys/unistd.h: Include <features.h> and
+       <bits/environments.h>.
+
+2002-07-25  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/sys/linux/config.h (__set_errno): Macro definition removed.
+       * libc/sys/linux/fpathconf.c (__set_errno): Ditto.
+       * libc/sys/linux/libc-internal.h (__set_errno): Ditto.
+       * libc/sys/linux/pathconf.c (__set_errno): Ditto.
+       * libc/sys/linux/ttyname_r.c (__set_errno): Ditto.
+       * libc/sys/linux/sys/errno.h (__set_errno): Macro definition added.
+
+2002-07-24  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/sys/linux/Makefile.am: Add new files.
+       * libc/sys/linux/Makefile.in: Regenerated.
+       * libc/sys/linux/fstab.c: New file.
+       * libc/sys/linux/fstatvfs.c: Ditto.
+       * libc/sys/linux/fstatvfs64.c: Ditto.
+       * libc/sys/linux/internal_statvfs.c: Ditto.
+       * libc/sys/linux/mntent.c: Ditto.
+       * libc/sys/linux/mntent_r.c: Ditto.
+       * libc/sys/linux/statvfs.c: Ditto.
+       * libc/sys/linux/statvfs64.c: Ditto.
+       * libc/sys/linux/include/paths.h: Ditto.
+       * libc/sys/linux/inode.c (statfs, fstatfs): New syscalls
+       with double-underscore weak-aliases.
+       * libc/sys/linux/sys/stat.h: Add *stat64 prototypes.
+
+2002-07-24  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/include/signal.h (SIG_IGN, SIG_DFL, SIG_ERR): Change
+       to use _sig_func_ptr type casted constants.
+       (_sig_func_ptr): Typedef moved to sys/signal.h.
+       * libc/include/sys/signal.h (_sig_func_ptr): Typedef added.
+       For __rtems, use POSIX definition, otherwise default to ANSI.
+       * libc/sys/linux/sys/signal.h (_sig_func_ptr): Typedef added.
+
+2002-07-24  Stephane Carrez  <stcarrez@nerim.fr>
+
+        * configure.host: Recognize m6811-elf and m6812-elf targets.
+        * libc/include/machine/setjmp.h (_JBLEN): Define for 68hc11/68hc12.
+        * libc/include/machine/ieeefp.h (__IEEE_BIG_ENDIAN): Define for 68HC11.
+        (_DOUBLE_IS_32BITS): Define when compiling with -fshort-double.
+        * libc/include/sys/config.h (INT_MAX, UINT_MAX): Define
+        according to __INT_MAX__.
+        (_POINTER_INT): Define to short.
+        * libc/machine/m68hc11/Makefile.am: New file.
+        * libc/machine/m68hc11/Makefile.in: New file.
+        * libc/machine/m68hc11/configure.in: New file.
+        * libc/machine/m68hc11/configure: New file.
+        * libc/machine/m68hc11/aclocal.m4: New file.
+        * libc/machine/m68hc11/setjmp.S: New file.
+
+2002-07-23  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/include/string.h: Add mempcpy, strndup, and _strndup_r
+       prototypes.
+       * libc/stdlib/Makefile.am: Remove strdup.c and strdup_r.c.
+       * libc/stdlib/Makefile.in: Regenerated.
+       * libc/stdlib/strdup.c: Removed.
+       * libc/stdlib/strdup_r.c: Removed.
+       * libc/string/Makefile.am: Add strdup.c, strdup_r.c, memccpy.c,
+       mempcpy.c, strndup.c, and strndup_r.c.
+       * libc/string/Makefile.in: Regenerated.
+       * libc/string/memccpy.c: New file.
+       * libc/string/mempcpy.c: Ditto.
+       * libc/string/strndup.c: Ditto.
+       * libc/string/strndup_r.c: Ditto.
+       * libc/string/strdup.c: New file moved from stdlib.
+       * libc/string/strdup_r.c: Ditto.
+       * libc/string/strings.tex: Add memccpy and mempcpy documentation.
+
+2002-07-23  Jeff Johnston  <jjohnstn@redhat.com>
+
+        * libc/include/stdio.h: Move fcloseall prototype within
+        #ifndef _REENT_ONLY section.
+        * libc/sys/linux/Makefile.am: Add new files.
+        * libc/sys/linux/Makefile.in: Regenerated.
+        * libc/sys/linux/sys/stdio.h: Add ctermid prototype.
+        * libc/sys/linux/sys/unistd.h: Add ttyname_r prototype.
+       * libc/sys/linux/sys/types.h: Add ino64_t type.
+        * libc/sys/linux/ctermid.c: New file.
+        * libc/sys/linux/ttyname_r.c: Ditto.
+       * libc/sys/linux/readdir64.c: Ditto.
+
+2002-07-22  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/include/stdio.h (fcloseall, _fcloseall_r): Added prototypes.
+       * libc/stdio/Makefile.am: Added fcloseall.c support.
+       * libc/stdio/Makefile.in: Regenerated.
+       * libc/stdio/fcloseall.c: New file.
+       * libc/stdio64/Makefile.am: Remove missing .def references.
+       * libc/stdio64/Makefile.in: Regenerated.
+
+2002-07-22  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/machine/powerpc/time.c: Removed..renamed to times.c.
+       * libc/machine/powerpc/times.c: New file.
+       * libc/machine/powerpc/Makefile.am: Change time.c to times.c.
+       * libc/machine/powerpc/Makefile.in: Regenerated.
+
+2002-07-22  Aldy Hernandez  <aldyh@redhat.com>
+
+        * libc/machine/powerpc/time.c: New file.
+        * libc/machine/powerpc/Makefile.am (lib_a_SOURCES): Add
+        time.c.
+       * libc/machine/powerpc/Makefile.in: Regenerated.
+
+2002-07-22  Thomas Fitzsimmons  <fitzsim@redhat.com>
+
+       * libc/libc.texinfo: Change copyright notices to Red Hat from
+       Cygnus.
+       * libm/libm.texinfo: Likewise.
+       * README: Change docs URL to
+       http://sources.redhat.com/newlib/docs.html.
+
+2002-07-19  Jeff Johnston  <jjohnstn@redhat.com>
+
+        * libc/sys/linux/Makefile.am: Add pathconf.c and fpathconf.c.
+        * libc/sys/linux/Makefile.in: Regenerated.
+        * libc/sys/linux/inode.c: Add chmod, fchmod, and chown syscalls.
+        * libc/sys/linux/io.c: Add ftruncate syscall.
+        * libc/sys/linux/fpathconf.c: New file.
+        * libc/sys/linux/pathconf.c: Ditto.
+       * libc/sys/linux/linux_fsinfo.h: Ditto.
+        * libc/sys/linux/sys/unistd.h: Ditto.
+
+2002-07-19  Jeff Johnston  <jjohnstn@redhat.com>
+
+       * libc/stdio64/Makefile.am: Remove missing files.
+       * libc/stdio64/Makefile.in: Regenerated.
+
 2002-07-19  Jeff Johnston  <jjohnstn@redhat.com>
 
         * libc/include/sys/config.h[__i386__][__linux__]: Define