summaryrefslogtreecommitdiffstats
path: root/newlib
Commit message (Collapse)AuthorAgeFilesLines
* 2005-10-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-1411-108/+146
| | | | | | | | | | | | | | * 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-142-9/+14
| | | | | * 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-142-2/+13
| | | | | * 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-142-0/+5
| | | | * libc/sys/linux/sys/types.h (int8_t): Add type.
* 2005-10-14 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-10-146-14/+74
| | | | | | | | * libm/common/Makefile.am (doc): Do not append to $(TARGETDOC). * libm/common/Makefile.in: Regenerate. * libm/common/common.tex: Delete file. * libm/math/math.tex: Include .def files from common/. * libm/mathfp/mathfp.tex: Likewise.
* 2005-10-14 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-10-142-4/+30
| | | | | | | * 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-145-5/+13
| | | | | | | | * 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-117-40/+238
| | | | | | | | | | | * 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-112-2/+15
| | | | | | * 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-072-0/+17
| | | | | * 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-062-0/+95
| | | | * libc/include/stdint.h: Add [u]int_fast<N>_t types.
* 2005-10-04 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2005-10-042-14/+26
| | | | | | * 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-042-5/+8
| | | | | * libc/include/sys/dirent.h (_DIRENT_H_): Delete #include_next. Add #error.
* 2005-10-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-10-032-5/+23
| | | | | * 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-032-6/+24
| | | | | | | * 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-272-2/+9
| | | | | * libc/include/stdint.h: Correct __STDINT_EXP macro incorrectly handling GCC >= 4.
* 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-09-202-11/+250
| | | | | * 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-203-30/+52
| | | | | | | | | | * 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-202-12/+17
| | | | | * libc/include/stdint.h: Fix typo in names of LEAST macros.
* 2005-09-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-09-202-0/+5
| | | | | * libc/sys/rtems/include/inttypes.h: Moved to... * libc/include/inttypes.h: ...here.
* 2005-09-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-09-192-0/+5
| | | | | * libc/sys/rtems/include/stdint.h: Moved to... * libc/include/stdint.h: ...here.
* 2005-09-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-09-0826-116/+1181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-082-2/+7
| | | | | * libc/argz/argz_insert.c (argz_insert): Don't die with EINVAL when before is NULL.
* 2005-09-08 Brian Dessent <brian@dessent.net>Jeff Johnston2005-09-083-2/+9
| | | | | | * sf_lrint.c (lrintf): Mask 'i0' correctly when extracting mantissa. * s_lrint.c: Ditto.
* 2005-09-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-09-022-0/+5
| | | | * libc/include/stdio.h: Add prototype for viprintf.
* 2005-09-01 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-09-013-4/+12
| | | | | | * libm/mathfp/s_pow.c: (pow): Change code so 0 raised to any positive power results in 0. * libm/mathfp/sf_pow.c (powf): Ditto.
* 2005-08-31 Paul Brook <paul@codesourcery.com>Jeff Johnston2005-08-3111-22/+62
| | | | | | | | | | | | | | | | * 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-262-4/+4
|
* * libc/include/string.h: For Cygwin, Define strerror_r as per ISO C.Christopher Faylor2005-08-252-0/+8
|
* 2005-08-22 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-08-222-3/+19
| | | | | | | * 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.
* * MAINTAINERS (CPU Ports): Add CPU port maintainer section.DJ Delorie2005-08-102-0/+11
|
* 2005-08-10 Stephen Huw Clarke <stephen.clarke@st.com>Jeff Johnston2005-08-105-8/+15
| | | | | | | * libm/common/sf_fmax.c: Fix to properly handle NaNs. * libm/common/s_max.c: Ditto. * libm/common/sf_fmin.c: Ditto. * libm/common/s_min.c: Ditto.
* 2005-08-10 DJ Delorie <dj@redhat.com>Jeff Johnston2005-08-1011-3/+2782
| | | | | | | | | | | | | | * 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.
* 2005-08-02 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-08-022-1/+6
| | | | | * libm/math/ef_hypot.c (__ieee754_hypotf): Add missing exponent bias to the value for 2^126.
* * libc/machine/cris/libcdtor.c (defaultors): Mark artificially asHans-Peter Nilsson2005-07-262-3/+11
| | | | used.
* 2005-07-20 Bob Wilson <bob.wilson@acm.org>Jeff Johnston2005-07-202-2/+7
| | | | | | Darin Petkov <darin@tensilica.com> * libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
* 2005-07-19 Paul Brook <paul@codesourcery.com>Jeff Johnston2005-07-192-0/+11
| | | | * libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
* 2005-07-18 Joseph S. Myers <joseph@codesourcery.com>Jeff Johnston2005-07-183-5/+17
| | | | | | | * testsuite/lib/checkoutput.exp (newlib_check_output): Use test names after PASS and FAIL which do not depend on source directory name or on whether test passed or failed. * testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
* 2005-07-08 Ola Hugosson <Ola.Hugosson@anoto.com>Jeff Johnston2005-07-082-1/+6
| | | | * libc/string/wcsspn.c (wcsspn): Add missing increment of q.
* Fix date of last entry.Jeff Johnston2005-07-071-1/+1
|
* *** empty log message ***Jeff Johnston2005-07-072-5/+9
|
* * configure.host: Added entry for ms1*.Aldy Hernandez2005-07-0610-0/+2719
| | | | | | | | | | | * 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-07-04 Mark Mitchell <mark@codesourcery.com>Jeff Johnston2005-07-057-8/+51
| | | | | | | | | | | | | * Makefile.am (site.exp): Set tmpdir. * Makefile.in: Regenerated. * testsuite/lib/checkoutput.exp (newlib_check_output): Put executables in $tmpdir. * testsuite/lib/flags.exp (libgloss_link_flags): Use the original libgloss version if not running in the build directory. * testsuite/lib/newlib.exp (newlib_init): Put testglue.o in $tmpdir. * testsuite/lib/passfail.exp (newlib_pass_fail): Put executables in $tmpdir.
* 2005-06-28 Dave Korn <dave.korn@artimi.com>Jeff Johnston2005-06-283-2/+24
| | | | | | * libm/common/s_lrint.c (lrint): Fix signed-vs-unsigned comparison and miscalculation caused by fp representation of zero. * libm/common/sf_lrint.c (lrintf): Likewise.
* 2005-06-16 Christopher Faylor <cgf@timesys.com>Jeff Johnston2005-06-163-14/+37
| | | | | | | | | * 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-032-1/+12
| | | | | * libc/stdlib/mallocr.c (MALLOC_COPY): Switch to use memmove instead of memcpy.
* 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-05-122-0/+5
| | | | * configure.host (mn10300-*): Add long long I/O support by default.
* 2005-05-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-05-126-27/+42
| | | | | | | | | | * 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-282-1/+7
| | | | | * libc/stdio/vfscanf.c (__svfscanf_r): Fix code thinko when checking for multiple flags.
* * configure.host <cris-*-* | crisv32-*-*>: SetHans-Peter Nilsson2005-04-182-0/+6
| | | | default_newlib_io_long_long="yes".