summaryrefslogtreecommitdiffstats
path: root/newlib
Commit message (Collapse)AuthorAgeFilesLines
* 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".
* 2005-04-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-04-086-1/+90
| | | | | | | | | | | * 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-072-0/+5
| | | | * libc/sys/linux/inode.c (lchown): New function.
* 2005-04-07 Shaun Jackman <sjackman@gmail.com>Jeff Johnston2005-04-073-3/+7
| | | | | | * 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-052-2/+24
| | | | | * 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-012-3/+7
|
* Fix whitespace with crx entry.Jeff Johnston2005-03-231-1/+1
|
* * configure.host: For cygwin, redefine CC with cygwin include directory firstChristopher Faylor2005-03-232-1/+8
| | | | | to mimic the behavior of the top-level configury. Move include directory out of newlib_cflags.
* 2005-03-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-03-223-7/+17
| | | | | | * 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-222-1/+6
| | | | spurious warning from gcc.
* 2005-03-21 Nicholas Wourms <nwourms@netscape.net>Jeff Johnston2005-03-212-2/+7
| | | | | | * 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-182-12/+19
| | | | | | | | 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-182-0/+29
| | | | | evaluate first parameter only once. (siglongjmp): Ditto.
* 2005-03-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2005-03-177-20/+106
| | | | | | | | | | | | * 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.
* * configure.host (newlib_cflags) <cris-*-*, crisv32-*-*>: AddHans-Peter Nilsson2005-03-172-1/+6
| | | | -DCOMPACT_CTYPE.
* 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>Jeff Johnston2005-03-063-0/+575
| | | | | * 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-062-2/+6
| | | | * libc/string/memcmp.c: Fix to avoid pointer signedness warning.
* 2005-03-06 Ralf Corsepious <ralf.corsepius@rtems.org>Jeff Johnston2005-03-063-22/+11
| | | | | | | | | * libc/include/machine/_types.h: New file. * libc/include/sys/types.h: Do not check for __rtems__ when including <machine/_types.h>. Remove some redundant declarations now that <machine/_types.h> is included. * libc/sys/rtems/machine/_types.h: Removed. Replaced with shared header file.
* 2005-02-25 Ralf Corsepious <ralf.corsepius@rtems.org>Jeff Johnston2005-02-252-2/+7
| | | | | * libm/common/fdlibm.h (FLT_UWORD_MAX, FLT_UWORD_HALF_MAX): Add L qualifier for these long constants.
* 2005-02-25 Eric Blake <ebb9@byu.net>Jeff Johnston2005-02-257-22/+42
| | | | | | | | | | | * libc/include/time.h (__tzrule_struct): Make offset long, since a 16-bit int overflows on a 12-hour offset. * libc/sys/linux/include/time.h: Ditto. * libc/time/mktime.c (mktime): Use new type of __tzrule.offset. * libc/time/mktm_r.c: Ditto. * libc/time/gettzinfo.c: Ditto. * libc/time/strftime.c (strftime): Fix '%x' to deal with negative years. Fix '%z' to use long, not int.
* Add (int) cast.Jeff Johnston2005-02-241-1/+1
|
* 2005-02-24 Ralf Corsepious <ralf.corsepius@rtems.org>Jeff Johnston2005-02-243-3/+9
| | | | | | * libm/common/s_fpclassify.c: Use __uint32_t instead of int to manipulate float values in integer form. * libm/common/sf_round.c: Ditto.