summaryrefslogtreecommitdiffstats
path: root/newlib/libc
Commit message (Collapse)AuthorAgeFilesLines
* 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-141-0/+16
| | | | | | | | | | | | | | * libc/include/math.h (HUGE_VALF, HUGE_VALL): New. * libm/common/Makefile.am: Add s_infconst.c support. * libm/common/Makefile.in: Regenerated. * libm/common/s_infconst.c: New file with float and long double infinity support added. * libm/math/Makefile.am: Remove s_infconst.c support. * libm/math/Makefile.in: Regenerated. * libm/math/s_infconst.c: Moved to common directory. * libm/mathfp/Makefile.am: Remove s_infconst.c support. * libm/mathfp/Makefile.in: Regenerated. * libm/mathfp/s_infconst.c: Moved to common directory.
* 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-141-9/+9
| | | | | * libc/sys/linux/net/gethostbydns.c (dprintf): Rename to dbgprintf to prevent conflict with new dprintf function.
* 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-141-2/+8
| | | | | * libc/stdio/vfprintf.c (_VFPRINTF_R): Fix up "inf" and "nan" processing for systems that have long double support.
* 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-141-0/+1
| | | | * libc/sys/linux/sys/types.h (int8_t): Add type.
* 2005-10-14 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-10-141-4/+23
| | | | | | | * libc/libc.texinfo (Top): Surround this node with @ifnottex instead of @ifinfo. Update menu to add Introduction and match SUBDIRS order. (Introduction): New section.
* 2005-10-14 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-10-142-3/+3
| | | | | | | | * libc/reent/reent.tex (Reentrancy): Replace "Cygnus C Library" with "Red Hat newlib C Library". * libc/sys.tex (Stubs): Likewise. * libm/math/math.tex (Math): Likewise. * libm/mathfp/mathfp.tex (Math): Likewise.
* 2005-10-11 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-10-116-40/+227
| | | | | | | | | | | * libc/include/stdio.h (dprintf): New declaration. (vdprintf): Ditto. * libc/stdio/Makefile.am (GENERAL_SOURCES): Add dprintf.c and vdprintf.c. * libc/stdio/Makefile.in: Regenerate. * libc/stdio/dprintf.c: New file. * libc/stdio/vdprintf.c: New file. * libc/stdio/stdio.tex (dprintf): New entry.
* 2005-10-11 David Weatherford <weath@tensilica.com>Jeff Johnston2005-10-111-2/+9
| | | | | | * libc/stdio/vfprintf.c (_VFPRINTF_R): Recognize 'F' format. Print "inf" and "nan" in lowercase for e/f/g formats and in uppercase for E/F/G formats.
* 2005-10-07 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-10-071-0/+12
| | | | | * libc/stdlib/mallocr.c (mALLOc, rEALLOCc, mEMALIGn): Set errno to ENOMEM on failure.
* 2005-10-06 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2005-10-061-0/+91
| | | | * libc/include/stdint.h: Add [u]int_fast<N>_t types.
* 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2005-10-041-14/+20
| | | | | | * libc/include/stdint.h: Move magic to set __have_long* to the beginning. Use #if __have* instead of #if defined(__have*). Minor typo fixes.
* 2005-10-04 James E Wilson <wilson@specifix.com>Jeff Johnston2005-10-041-5/+3
| | | | | * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add #error.
* 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-031-5/+18
| | | | | * libc/sys/linux/include/stdint.h: Include <sys/types.h> and incorporate Ralf's change below.
* 2005-10-03 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2005-10-031-6/+17
| | | | | | | * libc/include/stdint.h: Use __INTMAX_TYPE__ to derive intmax_t. Use __UINTMAX_TYPE__ to derive uintmax_t. Fix minor typo.
* 2005-09-27 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2005-09-271-2/+4
| | | | | * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly handling GCC >= 4.
* 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-09-201-11/+245
| | | | | * libc/sys/linux/include/stdint.h: Update to match functionality of generic newlib stdint.h.
* 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-09-202-30/+42
| | | | | | | | | | * libc/include/stdint.h (__EXP): Rename to __STDINT_EXP and do not #undef the macro after it is used. Fix typos. Also change 64-bit constants to use the __have_long64 and __have_longlong64 flags to determine if long or long long constants should be used. * libc/include/inttypes.h: Include stddef.h to get wchar_t type defined.
* 2005-09-20 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-09-201-12/+12
| | | | | * libc/include/stdint.h: Fix typo in names of LEAST macros.
* 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-09-201-0/+0
| | | | | * libc/sys/rtems/include/inttypes.h: Moved to... * libc/include/inttypes.h: ...here.
* 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-09-191-0/+0
| | | | | * libc/sys/rtems/include/stdint.h: Moved to... * libc/include/stdint.h: ...here.
* 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-09-0822-107/+1136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: Add include files under bits sub-directory. * Makefile.in: Regenerated. * libc/sys/linux/argp/argp-fs-xinl.c: Set __OPTIMIZE__ to actual value of 1 to be compatible with newer glibc headers. * libc/sys/linux/sys/cdefs.h: Fix to be compatible with newer glibc headers. * libc/sys/linux/sys/dirent.h: Ditto. * libc/sys/linux/argp/argp-xinl.c: Ditto. * libc/sys/linux/dl/dl-runtime.c: Make sure fixup and profile_fixup routines are marked used so they won't be optimized away. * libc/sys/linux/dl/dl-cache.c: Don't use weak_extern macro to mark functions as weak. * libc/sys/linux/dl/dl-open.c: Ditto. * libc/sys/linux/iconv/gconv_open.c: Fix to obey new gcc4 rules about lvalues. * libc/sys/linux/iconv/gconv_simple.c: Ditto. * libc/sys/linux/linuxthreads/bits/libc-lock.h: Don't use weak_extern macro to mark functions as weak. Instead always use #pragma weak. * iconvdata/jis0208.h: Fix to work with gcc4. * libc/sys/linux/dl/dl-load.c: Ditto. * libc/sys/linux/dl/dl-reloc.c: Ditto. * libc/sys/linux/dl/do-rel.h: Ditto. * libc/sys/linux/dl/dynamic-link.h: Ditto. * libc/sys/linux/include/ltdl.h: Ditto. * libc/sys/linux/machine/i386/dl-machine.h: Ditto. * libc/sys/linux/machine/i386/weakalias.h: Ditto. * libc/sys/linux/net/ns_ntoa.c: Ditto. * libc/sys/linux/bits/initspin.h: New file. * libc/sys/linux/bits/libc-lock.h: Ditto. * libc/sys/linux/bits/pthreadtypes.h: Ditto. * libc/sys/linux/bits/typesizes.h: Ditto.
* 2005-09-08 Eric Blake <ebb9@byu.net>Jeff Johnston2005-09-081-2/+2
| | | | | * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when before is NULL.
* 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-09-021-0/+1
| | | | * libc/include/stdio.h: Add prototype for viprintf.
* 2005-08-31 Paul Brook <paul@codesourcery.com>Jeff Johnston2005-08-317-10/+22
| | | | | | | | | | | | | | | | * configure.host: Set have_crt0 to no for Arm targts when not providing syscalls. Set sys_dir=arm unconditionally. Default have_crt0 based on sys_dir. * configure.in: Use have_crt0. * libc/configure.in: Ditto. * libc/sys/configure.in: Ditto. * configure: Regenerate. * libc/configure: Regenerate. * libc/sys/configure: Regenerate. * libc/sys/arm/Makefile.am (lib_a_SOURCES): Add aeabi_atexit.c. Only build other files when providing syscalls. * libc/sys/arm/Makefile.in: Regenerate. * libc/sys/arm/aeabi_atexit.c: New file.
* * libc/include/string.h: Revert previous change.Christopher Faylor2005-08-261-4/+0
|
* * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.Christopher Faylor2005-08-251-0/+4
|
* 2005-08-22 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-08-221-3/+12
| | | | | | | * libc/include/_syslist.h: If HAVE_OPENDIR is not defined, define _opendir as opendir, _readdir as readdir, and _closedir as closedir so that the implementations in libc/posix will be used.
* 2005-08-10 DJ Delorie <dj@redhat.com>Jeff Johnston2005-08-109-0/+2760
| | | | | | | | | | | | | | * configure.host: Add m32c support. * libc/include/machine/ieeefp.h: Likewise. * libc/include/machine/setjmp.h: Likewise. * libc/include/sys/config.h: Likewise. * libc/machine/m32c: New directory, Renesas R8C/M16C/M32C support. * libc/machine/m32c/aclocal.m4: New file. * libc/machine/m32c/configure: Ditto. * libc/machine/m32c/configure.in: Ditto. * libc/machine/m32c/Makefile.am: Ditto. * libc/machine/m32c/Makefile.in: Ditto. * libc/machine/m32c/setjmp.S: Ditto.
* * libc/machine/cris/libcdtor.c (defaultors): Mark artificially asHans-Peter Nilsson2005-07-261-3/+6
| | | | used.
* 2005-07-19 Paul Brook <paul@codesourcery.com>Jeff Johnston2005-07-191-0/+7
| | | | * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
* 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>Jeff Johnston2005-07-081-0/+1
| | | | * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
* *** empty log message ***Jeff Johnston2005-07-071-5/+3
|
* * configure.host: Added entry for ms1*.Aldy Hernandez2005-07-068-0/+2704
| | | | | | | | | | | * libc/include/machine/ieeefp.h: Handle ms1. * libc/include/machine/setjmp.h (_JBLEN): Define for ms1. * libc/machine/ms1/aclocal.m4: New. * libc/machine/ms1/configure: New. * libc/machine/ms1/configure.in: New. * libc/machine/ms1/Makefile.am: New. * libc/machine/ms1/Makefile.in: New. * libc/machine/ms1/setjmp.S: New.
* 2005-06-16 Christopher Faylor <cgf@timesys.com>Jeff Johnston2005-06-162-14/+28
| | | | | | | | | * libc/stdio/vfprintf.c (cvt): Don't rely on pointer aliasing to determine characteristics of long double. Use a union instead. * ldtoa.c (_ldtoa_r): Ditto. (_ldcheck): Ditto. (_strtold): Ditto. (union uconv): New union.
* 2005-06-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-06-031-1/+7
| | | | | * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove instead of memcpy.
* 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-05-125-27/+32
| | | | | | | | | | * libc/sys/linux/getpwuid.c: Removed. * libc/sys/linux/getpwnam.c: Removed. * libc/sys/linux/getpwent.c: New file containing logic from files removed above. This allows overriding of file in libc/unix. * libc/sys/linux/Makefile.am: Support changes above. * libc/sys/linux/Makefile.in: Regenerated.
* 2005-04-28 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-04-281-1/+2
| | | | | * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko when checking for multiple flags.
* 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-04-085-1/+79
| | | | | | | | | | | * libc/include/libgen.h: New file. 2005-04-08 Shaun Jackman <sjackman@gmail.com> * libc/unix/Makefile.am: Add support for basename and dirname. * libc/unix/Makefile.in: Regenerated. * libc/unix/basename.c: New file. * libc/unix/dirname.c: New file.
* 2005-04-07 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-04-071-0/+1
| | | | * libc/sys/linux/inode.c (lchown): New function.
* 2005-04-07 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-04-072-3/+1
| | | | | | * libc/unix/Makefile.am (LIB_OBJS): Include all the ELIX objects if no ELIX level is defined. * libc/unix/Makefile.in: Regenerated.
* 2005-04-05 Dave Korn <dave.korn@artimi.com>Jeff Johnston2005-04-051-2/+19
| | | | | * libc/stdio/vfscanf.c (__svfscanf_r): If an error occurs processing something that looks like a "NaN", put back the characters processed.
* * libc/stdlib/strtod.c (_strtod_r): Never change s00.Corinna Vinschen2005-04-011-3/+3
|
* 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-03-221-7/+8
| | | | | | * configure.host: For arc, set -DREENTRANT_SYSCALLS_PROVIDED flag on. * libc/sys/arc/syscalls.c: Change functions to use __errno_r rather than errno.
* * libc/include/machine/_types.h: Make trivial change to comment to avoid aChristopher Faylor2005-03-221-1/+1
| | | | spurious warning from gcc.
* 2005-03-21 Nicholas Wourms <nwourms@netscape.net>Jeff Johnston2005-03-211-2/+1
| | | | | | * libc/stdio/vfprintf.c: Move newlib.h before _WANT_IO_POS_ARGS test, since _WANT_IO_POS_ARGS is now defined in there. Remove duplicate reent.h include.
* 2005-03-18 Hans-Peter Nilsson <hp@axis.com>Jeff Johnston2005-03-181-12/+12
| | | | | | | | Corinna Vinschen <corinna@vinschen.de> * libc/include/ctype.h: Remove invalid +1 offset from ctype macro references to __ctype_ptr. (_ctype_): Move declaration outside #ifndef __cplusplus.
* * libc/include/machine/setjmp.h (sigsetjmp): Use GCC extension toCorinna Vinschen2005-03-181-0/+23
| | | | | evaluate first parameter only once. (siglongjmp): Ditto.
* 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-03-172-20/+42
| | | | | | | | | | | | * configure.in: Add new check to see if compiler supports aliasing of arrays and define _HAVE_ARRAY_ALIASING if true. * configure: Regenerated. * Makefile.in: Ditto. * newlib.hin: Add _HAVE_ARRAY_ALIASING. * libc/ctype/ctype_.c: Check for _HAVE_ARRAY_ALIASING before aliasing the _ctype_ array to _ctype_b. * libc/include/ctype.h: Change macros to use __ctype_ptr. Mark _ctype_ as deprecated.
* 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>Jeff Johnston2005-03-062-0/+570
| | | | | * libc/sys/rtems/include/inttypes.h: New file. * libc/sys/rtems/include/stdint.h: Ditto.
* 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>Jeff Johnston2005-03-061-2/+2
| | | | * libc/string/memcmp.c: Fix to avoid pointer signedness warning.