summaryrefslogtreecommitdiffstats
path: root/newlib/libc
Commit message (Collapse)AuthorAgeFilesLines
* * libc/include/sys/types.h (ulong): Add typedef.Corinna Vinschen2011-01-151-0/+1
|
* * libc/include/linux/sys/signal.h (sig_t): Move from here...Corinna Vinschen2011-01-122-1/+1
| | | | * libc/include/signal.h (sig_t): ...to here.
* * libc/machine/mips/strlen.c (strlen): Add delay slot for R3000.Corinna Vinschen2011-01-101-0/+3
|
* * libc/include/string.h: Make strsignal() available unconditionally.Corinna Vinschen2011-01-101-1/+1
|
* 2011-01-07 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-071-2/+2
| | | | | * 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-051-0/+2
| | | | | * 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-051-2/+2
| | | | * libc/xdr/xdr.c: Fix typos in #errors.
* 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2011-01-052-0/+2
| | | | | * 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-052-4/+2
| | | | | * 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-052-36/+3
| | | | | * libc/configure.in: Remove redundant posix_dir processing. * libc/configure: Regenerate.
* cygwin:Christopher Faylor2010-12-261-0/+2
| | | | | | | | | | | | * 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-16259-108814/+78871
| | | | | | | | | | | | | | | | | | | | * 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
* * include/sys/types.h: Add #if defined(__rtems__) aroundCorinna Vinschen2010-12-082-2/+13
| | | | | | | | 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-081-1/+0
|
* strings.h: avoid namespace pollutionEric Blake2010-12-081-1/+1
| | | | | * libc/include/strings.h: Don't declare removed functions when requesting POSIX 2008 compliance.
* 2010-12-07 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2010-12-071-14/+22
| | | | | * 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-071-0/+36
| | | | * libc/include/strings.h: New (split-out from string.h).
* * libc/include/math.h: Missing from previous checkin.Corinna Vinschen2010-12-031-5/+5
|
* 2010-12-02 Jayant Sonar jayant.sonar@kpitcummins.comJeff Johnston2010-12-0215-2/+7122
| | | | | | | | | | | | | | | | | | | | | 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
* * libc/locale/locale.c (loadlocale): Recognise the "cjknarrow"Corinna Vinschen2010-11-191-11/+20
| | | | modifier on "C.<charset>" locales too.
* * libc/locale/locale.c (loadlocale): Fix width of CJK ambigousCorinna Vinschen2010-11-181-18/+19
| | | | | characters to 1 for singlebyte charsets and 2 for non-Unicode multibyte charsets. Change documentation accordingly.
* * libc/machine/i386/setjmp.S (longjmp): Per POSIX, return 1 if secondCorinna Vinschen2010-11-161-0/+4
| | | | argument is 0.
* * libc/include/sys/types.h: Add _mode_t for __rtems__.Corinna Vinschen2010-11-162-1/+28
| | | | | | * 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.
* 2010-10-27 Maurice Baijens <maurice.baijens@ellips.nl>Jeff Johnston2010-10-274-8/+8
| | | | | | | | * 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-14 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2010-10-141-2/+0
| | | | | * 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-0910-2/+6537
| | | | | | | | | | | | | | 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-081-2/+2
|
* * libc/include/complex.h: New complex header.Corinna Vinschen2010-10-081-0/+124
| | | | | | | | | * libm/common/fdlibm.h: Added ifdef _COMPLEX_H. * libm/complex/*: New complex functions imported from NetBSD. * libm/Makefile.am: Added complex subdir. * libm/Makefile.in: Regenerate. * libm/configure.in: Added complex subdir. * libm/configure: Regenerate.
* * lib/str-two-way.h (two_way_long_needle): Avoid bug with longCorinna Vinschen2010-10-061-2/+2
| | | | | periodic needle having false positive. Affects memmem, strstr, strcasestr.
* 2010-09-21 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2010-09-224-30/+26
| | | | | | | | * libc/string/memcpy.c: Do not assign size_t parameter to int. Use parameter directly, instead. * libc/string/memccpy.c: Likewise. * libc/string/mempcpy.c: Likewise. * libc/string/memmove.c: Likewise.
* * libc/sys/sysnecv850/Makefile.am (lib_a_SOURCES): Provide anKevin Buettner2010-09-092-9/+6
| | | | | empty definition. * libc/sys/sysnecv850/Makefile: Regenerate.
* * libc/posix/opendir.c (opendir): Fix potential memory leak.Corinna Vinschen2010-08-251-0/+1
|
* * libc/include/sys/dir.h: New BSD-compatibility header.Yaakov Selkowitz2010-08-111-0/+10
|
* * libc/include/sys/features.h: Define _POSIX_MONOTONIC_CLOCK for Cygwin.Corinna Vinschen2010-08-091-1/+1
|
* * libc/include/sys/stat.h: Move all POSIX-defined symbolic constantsCorinna Vinschen2010-08-061-2/+2
| | | | out of `#ifndef _POSIX_SOURCE' guard.
* Add moxie-rtems support.Anthony Green2010-07-301-1/+1
|
* 2010-07-23 Naveen.H.S <naveenh1@kpitcummins.com>Jeff Johnston2010-07-232-20/+57
| | | | | | | | | | Gina Verlekar <gina.verlekar@kpitcummins.com> * configure.host: Compact v850* support and add check for newlib_may_supply_syscalls. * libc/sys/sysnecv850/Makefile.am: Add support for '--disable-newlib-supplied-syscalls' option. * libc/sys/sysnecv850/Makefile.in: Regenerated.
* Add mkostemp and mkostemps.Eric Blake2010-07-192-27/+103
| | | | | | | | | * libc/stdio/mktemp.c (_gettemp): Add parameter, all callers changed. (mkostemp, _mkostemp_r, mkostemps, _mkostemps_r): New interfaces, for ELIX level 4. * libc/include/stdlib.h (mktemp): Avoid namespace issues. (mkostemp, mkostemps): Declare.
* * libc/include/signal.h (sighandler_t): Only define if _POSIX_SOURCECorinna Vinschen2010-07-131-0/+2
| | | | is undefined.
* * libc/posix/rewinddir.c (rewinddir): Remove incorrect cast to off_t.Corinna Vinschen2010-07-063-2/+6
| | | | | | * libc/sys/rtems/sys/dirent.h (_seekdir): Add prototype. * libc/sys/linux/sys/dirent.h (_seekdir): Fix prototype to use long rather than off_t.
* * libc/include/signal.h (sighandler_t): Add typedef.Corinna Vinschen2010-07-011-0/+1
|
* 2010-06-29 Antony King <antony.king@sr.com>Corinna Vinschen2010-07-012-0/+38
| | | | | | | | | | * libc/ctype/ctype_.c (__ctype_ptr): Reinstate definition (guarded by _NEED_OLD_CTYPE_PTR_DEFINITION) for backwards compatibility with newlib 1.16.0 and earlier. 2010-06-28 Yaakov Selkowitz <yselkowitz@users.sourceforge.net> * libc/include/sys/stat.h: Add ACCESSPERMS, ALLPERMS, and DEFFILEMODE.
* 2010-06-18 Pavel Pisa <ppisa4lists@pikron.com>Jeff Johnston2010-06-182-6/+2
| | | | | | | | * libc/include/machine/ieeefp.h[__arm__][!__VFP_FP__]: Set to __IEEE_BIG_ENDIAN and set __IEEE_BYTES_LITTLE_ENDIAN appropriately based on __ARMEL flag. * libc/include/machine/endian.h: To set byte order to LITTLE_ENDIAN, check for __IEEE_LITTLE_ENDIAN or __IEEE_BYTES_LITTLE_ENDIAN.
* * libc/include/sys/reent.h (_reent): Adjust _REENT_SMALL to beKazu Hirata2010-06-091-5/+6
| | | | | binary compatible with normal layout. (_REENT_INIT): Adjust to match struct layout.
* 2010-06-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2010-06-081-1/+9
| | | | * libc/include/wordexp.h: Add __cplusplus wrapper.
* 2010-06-08 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2010-06-081-0/+4
| | | | | | | | | | * configure.in: Add test for enable-newlib-register-fini to set the _WANT_REGISTER_FINI flag. * configure: Regenerated. * Makefile.in: Ditto. * newlib.hin: Add _WANT_REGISTER_FINI flag. * libc/stdlib/__call_atexit.c: Add test for _WANT_REGISTER_FINI to enable the register_fini function.
* 2010-06-04 Mark Mitchell <mark@codesourcery.com>Jeff Johnston2010-06-045-21/+81
| | | | | | | | | | * libc/stdlib/__call_atexit.c (__libc_fini): Declare. (register_fini): New function. * libc/misc/init.c (_fini): Remove. (__libc_fini_array): Likewise. * libc/misc/fini.c: New file. * libc/misc/Makefile.am (LIB_SOURCES): Add fini.c. * libc/misc/Makefile.in: Regenerate.
* 2010-05-31 Kazu Hirata <kazu@codesourcery.com>Jeff Johnston2010-05-311-2/+10
| | | | | * libc/stdlib/mallocr.c (malloc_extend_top): Backport the difference between versions 2.6.4 and 2.6.5.
* * libc/string/strsignal.c (strsignal): Avoid duplicate case statement whereChristopher Faylor2010-05-181-1/+1
| | | | SIGPWR == SIGLOST.
* 2010-05-11 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2010-05-111-1/+1
| | | | | * libc/stdlib/__call_atexit.c: Fix lock to be of type _LOCK_RECURSIVE_T as recursive usage is needed.