summaryrefslogtreecommitdiffstats
path: root/newlib
Commit message (Collapse)AuthorAgeFilesLines
* Fix path in ChangeLog entryCorinna Vinschen2011-02-071-1/+1
|
* Fix spelling of Ralf Corsepius' name in ChangeLog.Jeff Johnston2011-02-031-6/+6
|
* * libc/stdio/fclose.c: Only use sfp lock to guard non-atomicCorinna Vinschen2011-01-2819-132/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | changes of flags and fp lock. * libc/stdio/freopen.c: Ditto. * libc/stdio/freopen64.c: Ditto. * libc/stdio/fgetc.c: Revert change from 2009-04-24, remove sfp locks which guard entire function to avoid potential deadlocks when using stdio functions in multiple thraeds. * libc/stdio/fgets.c: Ditto. * libc/stdio/fgetwc.c: Ditto. * libc/stdio/fgetws.c: Ditto. * libc/stdio/fread.c: Ditto. * libc/stdio/fseek.c: Ditto. * libc/stdio/getc.c: Ditto. * libc/stdio/getdelim.c: Ditto. * libc/stdio/gets.c: Ditto. * libc/stdio/vfscanf.c: Ditto. * libc/stdio/vfwscanf.c: Ditto. * libc/stdio/fflush.c (_fflush_r): Split out core functionality into new function __sflush_r. Just lock file and call __sflush_r from here. * libc/stdio/fwalk.c (_fwalk): Remove static helper function and move functionality back into main function. Don't walk a file with flags value of 1. Add comment. (_fwalk_reent): Ditto. * libc/stdio/local.h (__sflush_r): Declare. * libc/stdio/refill.c (__srefill): Before calling fwalk, set flags value to 1 so this file pointer isn't walked. Revert flags afterwards and call __sflush_r for this fp if necessary. Add comments.
* * libc/include/sys/features.h: Define __STDC_ISO_10646__ for Cygwin.Corinna Vinschen2011-01-273-0/+14
| | | | * libc/include/wchar.h: Include features.h.
* * libc/include/sys/types.h (ulong): Add typedef.Corinna Vinschen2011-01-152-0/+5
|
* Fix ChangeLog entryCorinna Vinschen2011-01-131-1/+1
|
* 2011-01-12 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-123-0/+23
| | | | | * libm/math/w_tgamma.c: Only build ifndef _DOUBLE_IS_32BITS. * libm/math/wf_tgamma.c: Map tgamma to tgammaf, ifdef _DOUBLE_IS_32BITS.
* 2011-01-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2011-01-126-2/+37
| | | | | | | | | | * configure.host: Add noinclude variable to allow specification of header files to remove from installation. * acinclude.m4: Provide NO_INCLUDE_LIST variable based on noinclude variable in configure.host. * configure: Regenerated. * Makefile.am: Remove all header files in NO_INCLUDE_LIST. * Makefile.in: Regenerated.
* * libc/include/linux/sys/signal.h (sig_t): Move from here...Corinna Vinschen2011-01-123-1/+6
| | | | * libc/include/signal.h (sig_t): ...to here.
* * libc/machine/mips/strlen.c (strlen): Add delay slot for R3000.Corinna Vinschen2011-01-102-0/+7
|
* Fix dateCorinna Vinschen2011-01-101-1/+1
|
* * libc/include/string.h: Make strsignal() available unconditionally.Corinna Vinschen2011-01-102-1/+5
|
* 2011-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-072-2/+7
| | | | | * libc/sys/rtems/crt0.c: Adjust free() and calloc() to match their public decls.
* 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-053-5/+16
| | | | | * Makefile.am: Move cleaning targ-include to clean-local. * Makefile.in: Regenerate.
* 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-052-0/+7
| | | | | * libc/stdio/open_memstream.c (internal_open_memstream_r): Don't limit c->max to 64*1024 on targets with SIZE_MAX < 64*1024.
* 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-052-2/+6
| | | | * libc/xdr/xdr.c: Fix typos in #errors.
* 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-053-0/+7
| | | | | * libc/xdr/xdr_private.h: Include <stdint.h> * libc/xdr/xdr_rec.c: Include limits.h
* 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-053-4/+7
| | | | | * libc/Makefile.am (SUBDEFS): Remove redundant posix/stmp-def. * libc/Makefile.in: Regenerate.
* 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-053-38/+10
| | | | | * libc/configure.in: Remove redundant posix_dir processing. * libc/configure: Regenerate.
* fix typo in Corinna Vinschen's e-mail addressMichael Frysinger2010-12-312-1/+5
|
* cygwin:Christopher Faylor2010-12-262-0/+7
| | | | | | | | | | | | * cygwin.din: Export program_invocation_name and program_invocation_short_name. * dcrt0.cc: Set program_invocation*name to correct values, based on argv[0]. * globals.cc (program_invocation_name): Define. (program_invocation_short_name): Ditto newlib: * libc/include/sys/errno.h (program_invocation_name): Declare. (program_invocation_short_name): Ditto.
* 2010-12-16 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2010-12-16289-125614/+89954
| | | | | | | | | | | | | | | | | | | | * NEWS: Update with 1.19.0 info. * README: Ditto. * MAINTAINERS: Update. * acinclude.m4: Change version number to 1.19.0. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.am: Fix stmp-targ-include target. * Makefile.in: Regenerated. * doc/aclocal.m4: Ditto. * doc/configure: Ditto. * libc/*/aclocal.m4: Ditto. * libc/*/configure: Ditto. * libc/libc.texinfo: Ditto. * libm/*/aclocal.m4: Ditto. * libm/*/configure: Ditto. * libm/libm.texinfo: Ditto. * libc/sys/linux/shared.ld: Add VERS_1.19
* 2010-12-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2010-12-143-0/+36
| | | | | | * Makefile.am: Add support to copy all sub-directories of the sys/SYS_DIR/include directory, if they contain header files. * Makefile.in: Regenerated.
* 2010-12-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2010-12-082-1/+5
| | | | * libm/mathfp/sf_logarithm.c: Change isfinitef reference to isfinite.
* * include/sys/types.h: Add #if defined(__rtems__) aroundCorinna Vinschen2010-12-083-2/+24
| | | | | | | | pthread_attr_t.guardsize. * include/pthread.h: Add pthread_attr_setstack, pthread_attr_getstack, pthread_attr_getguardsize, pthread_attr_setguardsize. * include/sys/types.h (pthread_attr_t): Add guardsize.
* * libc/include/strings.h: Don't include locale.h.Corinna Vinschen2010-12-082-1/+4
|
* strings.h: avoid namespace pollutionEric Blake2010-12-082-1/+6
| | | | | * libc/include/strings.h: Don't declare removed functions when requesting POSIX 2008 compliance.
* Fix formatting.Jeff Johnston2010-12-071-1/+1
|
* 2010-12-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2010-12-072-14/+27
| | | | | * libc/stdlib/strtod.c(_strtod_r): Fix code to handle case whereby _DOUBLE_IS_32BITS is set and DBL_DIGS is 6 instead of 15.
* 2010-12-07 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2010-12-072-0/+40
| | | | * libc/include/strings.h: New (split-out from string.h).
* * libc/include/math.h: Missing from previous checkin.Corinna Vinschen2010-12-032-5/+9
|
* 2010-12-02 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2010-12-023-4/+12
| | | | | | | | * libm/common/s_log2.c: Change from using M_LOG2_E to M_LN2 define (from math.h--the latter is POSIX, the former non-standard). * libm/common/sf_log2.c: Ditto. Change cast for M_LN2 from float to float_t (in case all math not done in float). * libc/include/math.h: Ditto (same 2 things as sf_log2.c).
* 2010-12-02 Jayant Sonar jayant.sonar@kpitcummins.comJeff Johnston2010-12-0217-2/+7151
| | | | | | | | | | | | | | | | | | | | | Kaushik Phatak kaushik.phatak@kpitcummins.com * configure.host: Add CR16 support. * libc/include/machine/ieeefp.h: Ditto. * libc/include/machine/setjmp.h: Ditto. * libc/include/sys/config.h: Ditto. * libc/machine/configure.in: Ditto * libc/machine/configure: Regenerated * libc/machine/cr16/aclocal.m4: New. * libc/machine/cr16/configure.in: New * libc/machine/cr16/configure: New * libc/machine/cr16/getenv.c: New * libc/machine/cr16/Makefile.am: New * libc/machine/cr16/Makefile.in: New * libc/machine/cr16/setjmp.S: New * libc/machine/cr16/sys/asm.h: New * libc/machine/cr16/sys/libh.h: New * libc/machine/cr16/sys/syscall.h: New
* * libm/complex/catan.c, libm/complex/catanf.c,Corinna Vinschen2010-11-295-12/+10
| | | | | libm/complex/ctan.c, libm/complex/ctanf.c: Use HUGE_VAL instead of MAXNUM.
* * libm/complex/cargf.c: Use crealf instead of creal.Corinna Vinschen2010-11-262-1/+5
|
* * libc/locale/locale.c (loadlocale): Recognise the "cjknarrow"Corinna Vinschen2010-11-192-11/+25
| | | | modifier on "C.<charset>" locales too.
* * libc/locale/locale.c (loadlocale): Fix width of CJK ambigousCorinna Vinschen2010-11-182-18/+25
| | | | | characters to 1 for singlebyte charsets and 2 for non-Unicode multibyte charsets. Change documentation accordingly.
* 2010-11-17 Bernd Schmidt <bernds@codesourcery.com>Jeff Johnston2010-11-172-0/+5
| | | | * configure.host (newlib_cflags): For tic6x, add -DCLOCK_PROVIDED.
* * libc/machine/i386/setjmp.S (longjmp): Per POSIX, return 1 if secondCorinna Vinschen2010-11-162-0/+9
| | | | argument is 0.
* * libc/include/sys/types.h: Add _mode_t for __rtems__.Corinna Vinschen2010-11-163-1/+35
| | | | | | * libc/sys/rtems/machine/_types.h: Provide _mode_t, _fpos_t, _off_t. Add _ssize_t for 64bit sparc. Let arm, i386, m68k, mips, PPC, sparc use 64bit _off_t, _fpos_t.
* * configure.host: Add -D_COMPILING_NEWLIB to newlib_cflags.Corinna Vinschen2010-11-162-0/+5
|
* 2010-11-04 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2010-11-042-1/+7
| | | | | * libm/complex/cacos.c: Reorder function calls to work around ICE in arm/thumb-gcc.
* 2010-10-27 Maurice Baijens <maurice.baijens@ellips.nl>Jeff Johnston2010-10-275-8/+16
| | | | | | | | * libc/stdlib/strtol.c: Make sure signed characters are not sign-extended when converted to int and passed to ctype macros. * libc/stdlib/strtoul.c: Ditto. * libc/stdlib/strtoll_r.c: Ditto. * libc/stdlib/strtoull_r.c: Ditto.
* 2010-10-18 Marco Atzeri <marco_atzeri@yahoo.it>Jeff Johnston2010-10-1829-5/+928
| | | | | | | | | | | | | * libm/Makefile.am: added complex functions documentation * libm/libm.texinfo: ditto * libm/complex/Makefile.am: Ditto * libm/complex/complex.tex: Ditto * libm/complex/(cabs.c, cacos.c, cacosh.c, carg.c, casin.c, casinh.c, catan.c, catanh.c, ccos.c, ccosh.c, cexp.c, cimag.c, clog.c, conj.c, cpow.c, cproj.c, creal.c, csin.c, csinh.c, csqrt.c, ctan.c, ctanh.c): Ditto * libm/Makefile.in: Regenerate * libm/complex/Makefile.in: Ditto
* 2010-10-14 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2010-10-142-2/+5
| | | | | * libc/include/math.h: Delete cabs() and cabs() prototypes (c.f. 2010-10-08 change by Corinna).
* 2010-10-08 Bernd Schmidt <bernds@codesourcery.com>Jeff Johnston2010-10-0912-2/+6560
| | | | | | | | | | | | | | Joseph Myers <joseph@codesourcery.com> * configure.host: Handle tic6x targets. * libc/include/machine/ieeefp.h: Define endianness for C6X. * libc/include/machine/setjmp.h: Add __TMS320C6X__ case. * libc/machine/configure.in: Handle tic6x targets. * libc/machine/configure: Regenerate. * libc/machine/tic6x/Makefile.am, libc/machine/tic6x/configure.in, libc/machine/tic6x/setjmp.S: New. * libc/machine/tic6x/Makefile.in, libc/machine/tic6x/aclocal.m4, libc/machine/tic6x/configure: New (generated).
* * libc/include/sys/unistd.h: Declare getsid, setegid, seteuid for RTEMS.Corinna Vinschen2010-10-082-2/+6
|
* * libm/common/sf_llrint.c, libm/common/sf_round.c: Add explicit castsCorinna Vinschen2010-10-083-2/+7
| | | | to __uint32_t to avoid overflows on implicit casts.
* * libm/complex/complex.tex: Add empty stub.Corinna Vinschen2010-10-082-0/+5
|
* * libm/math/w_cabs.c: Delete.Corinna Vinschen2010-10-085-60/+16
| | | | | | | * libm/math/wf_cabs.c: Delete. * libm/math/Makefile.am (src): Remove w_cabs.c. (fsrc): Remove wf_cabs.c. * libm/math/Makefile.in: Regenerate.