summaryrefslogtreecommitdiffstats
path: root/newlib/libc
Commit message (Collapse)AuthorAgeFilesLines
* * libc/locale/locale.c (__mb_cur_max): On Cygwin, align default valueCorinna Vinschen2012-03-291-0/+4
| | | | with default UTF-8 charset.
* * libc/stdio/findfp.c (__sinit): Set __sdidinit last.Corinna Vinschen2012-03-261-1/+2
|
* 2012-03-09 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2012-03-097-7/+7
| | | | | | | | | | | * libc/include/machine/setjmp-dj.h: Modify license to include modification in clause as permitted by DJ Delorie. * libc/machine/arm/access.c: Ditto. * libc/machine/i386/setjmp.S: Ditto. * libc/sys/h8300hms/sys/file.h: Ditto. * libc/sys/linux/machine/i386/setjmp.S: Ditto. * libc/sys/sysmec/access.c: Ditto. * libc/sys/sysnecv850/access.c: Ditto.
* 2012-03-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2012-03-021-1/+1
| | | | | * libc/posix/readdir_r.c: Fix return code when end of directory is reached.
* 2012-02-21 Jeremy Bennett <jeremy.bennett@embecosm.com>Jeff Johnston2012-02-2119-4/+12746
| | | | | | | | | | | | | Alan Lehotsky <apl@alum.mit.edu> Joern Rennecke <joern.rennecke@embecosm.com> * configure.host: Add Epiphany support. * libc/include/machine/ieeefp.h: Likewise. * libc/include/machine/setjmp.h: Likewise. * libc/machine/configure.in, libc/sys/configure.in: Likewise. * libc/machine/configure, libc/sys/configure: Regenerate. * libc/machine/epiphany, libc/sys/epiphany: New directories. * NEWS: Mention addition of Epiphany.
* * libc/include/_ansi.h (_ELIDABLE_INLINE): Fix C99 mode.Eric Blake2012-02-091-10/+13
|
* * libc/sys/rtems/sys/utime.h: Include <sys/types.h> to provide aCorinna Vinschen2012-02-091-0/+2
| | | | definition of time_h.
* * libc/machine/arm/strcmp.S: New File.Corinna Vinschen2012-02-094-453/+785
| | | | | | | * libc/machine/arm/strcmp.c: Deleted. * libc/machine/arm/Makefile.am: Replaces strcmp.c with strcmp.S * libc/machine/arm/Makefile.in: Regenerated. * testsuite/newlib.string/strcmp-1.c: New file.
* * libc/include/inttypes.h: Redefine pointer type macros.Corinna Vinschen2012-02-071-8/+8
|
* * libc/stdio/sprintf.c: Document 'm' conversion specifier.Yaakov Selkowitz2012-01-134-3/+35
| | | | | | | * libc/stdio/swprintf.c: Ditto. * libc/stdio/vfprintf.c (_VFPRINTF_R) [_GLIBC_EXTENSION]: Handle 'm' conversion specifier. * libc/stdio/vfwprintf.c (_VFWPRINTF_R) [_GLIBC_EXTENSION]: Ditto.
* * libc/include/tgmath.h: New header.Yaakov Selkowitz2012-01-121-0/+185
|
* * libc/include/sys/unistd.h [__CYGWIN__] (get_current_dir_name):Yaakov Selkowitz2012-01-091-0/+3
| | | | Declare.
* * libc/include/complex.h: Fix "/*" within comment warning.Yaakov Selkowitz2012-01-091-1/+1
|
* * libc/include/process.h: Remove Cygwin-only header.Corinna Vinschen2012-01-091-37/+0
|
* 2012-01-03 Viachaslau Kulakouski <Viachaslau.Kulakouski@oracle.com>Jeff Johnston2012-01-031-1/+1
| | | | * libc/stdlib/__atexit.c: Refer to __atexit_lock instead of lock.
* * fvwrite.c (__sfvwrite_r): Set __SMBF flag to avoid double free inCorinna Vinschen2011-12-201-1/+3
| | | | fclose. Enhance comment.
* 2011-12-19 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2011-12-19259-15501/+19360
| | | | | | | | | | | | | | | | | | * NEWS: Update with 1.20.0 info. * README: Ditto. * acinclude.m4: Change version number to 1.20.0. * aclocal.m4: Regenerated. * configure: Ditto. * 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.20
* 2011-12-13 Richard Earnshaw <rearnsha@arm.com>Jeff Johnston2011-12-131-8/+36
| | | | | | | | | Thomas Klein <th.r.klein@web.de> * libc/sys/arm/crt0.S: Manually set the target architecture when compiling for Thumb1 on EABI targets. Don't use SWI on M-profile cores. Avoid v6-only Thumb-1 MOV instruction.
* * libc/time/strftime.c (get_era_info): Fix off-by-one error in monthCorinna Vinschen2011-12-121-3/+3
| | | | calculation.
* * libc/iconv/Makefile.am (stmp-def): Use $(MAKE) rather than make.Corinna Vinschen2011-12-062-2/+2
| | | | * libc/iconv/Makefile.in: Regenerate.
* [libgloss]DJ Delorie2011-11-2910-2/+6348
| | | | | | | | | | | | | * configure.in: Add rl78. * configure: Regenerate. * rl78: New directory [newlib] * configure.host: Add rl78. * libc/include/machine/ieeefp.h: Add rl78 support. * libc/include/machine/setjmp.h: Add rl78 support. * libc/machine/configure.in: Add rl78. * libc/machine/rl78: New directory.
* * libc/iconv/ccs/Makefile.am: Add missing backslash.Corinna Vinschen2011-11-082-8/+19
| | | | * libc/iconv/ccs/Makefile.in: Regenerate.
* * libc/machine/arm/Makefile.am (lib_a_SOURCES): Add memchr-stub.c,Nick Clifton2011-10-187-3/+382
| | | | | | | | | | | | | | | | memchr.S. * libc/machine/arm/arm_asm.h: Add ifdef to allow it to be included in .S files. * libc/machine/arm/memchr-stub.c: New file - just selects what to compile. * libc/machine/arm/memchr.S: New file - ARMv6t2/v7 version. * libc/machine/arm/Makefile.am (lib_a_SOURCES): Add strlen-armv7.S. * libc/machine/arm/strlen-armv7.S: New file. * libc/machine/arm/strlen.c: Add ifdef optimised code so it isn't for v7 or 6t2. * libc/machine/arm/Makefile.in: Regenerate.
* * libc/time/mktm_r.c: (__tzcalc_limits) Fix Julian day calculation.Corinna Vinschen2011-10-112-13/+34
| | | | | * libc/time/mktime.c: (mktime) Fix tm_yday, tm_mday updating when timezone causes roll over.
* oops - fix typo in previous delta.Nick Clifton2011-10-111-11/+390
|
* oops - omitted from previous delta.Nick Clifton2011-10-111-248/+31
|
* * libc/sys/arm/crt0.S: Synchronise with libgloss version.Nick Clifton2011-10-101-0/+62
| | | | * libc/sys/arm/arm.h: Imported from libgloss.
* * libc/machine/arm/memcpy.S: Fix unaligned access copying.Nick Clifton2011-10-041-4/+10
|
* * libc/machine/arm/memcpy.S: New file. Contains a hand codedNick Clifton2011-09-294-3/+472
| | | | | | | | memcpy function optimized for the cortex-a15. * libc/machine/arm/memcpy-stub.c: New file. * libc/machine/arm/Makefile.am (lib_a_SOURCES): Add memcpy-stub.c, memcpy.S. * libc/machine/arm/Makefile.in: Regenerate.
* * libc/time/mktm_r.c (_mktm_r): Fix previous fix.Corinna Vinschen2011-08-261-2/+1
|
* * libc/time/mktm_r.c (_mktm_r): Fix computing tm_year.Corinna Vinschen2011-08-241-1/+1
|
* 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-08-232-2/+2
| | | | | * libc/stdlib/putenv_r.c: Use "strchr" instead of obsolete "index". * libc/stdlib/setenv_r.c: Use "memcpy" instead of obsolete "bcopy".
* 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-08-238-12/+14
| | | | | | | * libc/misc/ffs.c, libc/string/bcmp.c, libc/string/bcopy.c, libc/string/bzero.c, libc/string/index.c, libc/string/rindex.c, libc/string/strcasecmp.c, libc/string/strncasecmp.c: Let synopsis reference "#include <strings.h>".
* 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-08-233-0/+7
| | | | | | | * libc/posix/regexec.c: Define "nope" only #ifndef NDEBUG. * libc/stdio/vfscanf.c: Define "state" only #ifdef _MB_CAPABLE. * libc/string/wcwidth.c: Include <wctypes.h> for "iswprint" and "iswcntrl".
* 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-08-231-0/+6
| | | | | * libc/sys/rtems/include/limits.h: Compute SSIZE_MAX based on __SIZE_MAX__, __SIZEOF_SIZE_T__ and __CHAR_BIT__.
* 2011-08-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-08-226-4/+6
| | | | | | | | | | | | | * libc/string/index.c: Include <strings.h> for "index". * libc/string/rindex.c: Include <strings.h> for "rindex". * libc/string/strcasecmp.c: Include <strings.h> for "strcasecmp". Don't include <string.h>. * libc/string/strncasecmp.c: Include <strings.h> for "strncasecmp". Don't include <string.h>. * libc/string/bzero.c: Include <strings.h> for "bzero". Don't include <string.h> * libc/misc/ffs.c: Include <strings.h> for "ffs". Don't include <_ansi.h>.
* 2011-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-08-201-95/+64
| | | | | | | | * libc/sys/rtems/crt0.c: Rework RTEMS_STUB macro. Include <unistd.h>. Remove C++-style comments. Remove hppa, a29k. Add clock_gettime, gettimeofday, sched_yield.
* 2011-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-08-196-0/+12
| | | | | | | | | * libc/stdio/vasiprintf.c: Include "local.h" for "_svfiprintf_r". * libc/stdio/vasprintf.c Include "local.h" for "_svfprintf_r". * libc/stdio/vsiprintf.c: Include "local.h" for "_svfiprintf_r". * libc/stdio/vsniprintf.c: Include "local.h" for "_svfiprintf_r". * libc/stdio/vsnprintf.c: Include "local.h" for "_svfprintf_r" * libc/stdio/vsprintf.c: Include "local.h" for "_svfprintf_r"
* 2011-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-08-194-0/+4
| | | | | | | * libc/string/bcmp.c: Include <strings.h> for "bcmp". * libc/string/bcopy.c: Include <strings.h> for "bcopy". * libc/string/strcasestr.c: Include <strings.h> for "strncasecmp". * libc/time/strptime.c: Include <strings.h> for "strncasecmp".
* * libc/include/process.h: Remove exec family function declarations.Corinna Vinschen2011-08-192-10/+6
| | | | | Add comment. * libc/include/sys/unistd.h (execlpe): Declare for Cygwin.
* * libc/time/mktime.c (validate_structure): Account for tm_mon possiblyCorinna Vinschen2011-08-191-6/+7
| | | | | being given as negative. (mktime): Set tm_isdst=0 when !daylight.
* 2011-08-01 Sebastian Huber <sebastian.huber@embedded-brains.de>Joel Sherrill2011-08-011-34/+38
| | | | | | * libc/include/sys/types.h: XML and RTEMS define _UNIX98_THREAD_MUTEX_ATTRIBUTES and can use the standard definitions. This avoids redefinition warnings.
* 2011-07-26 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-07-261-1/+1
| | | | | * libc/sys/rtems/sys/dirent.h (scandir): Add const to "select" parameter.
* 2011-07-25 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-07-251-3/+3
| | | | | * libc/iconv/iconv.tex: Rename node "Introduction" into "Introduction to iconv".
* * libc/include/time.h [_POSIX_CLOCK_SELECTION] (clock_nanosleep):Yaakov Selkowitz2011-07-202-1/+17
| | | | | | Declare. * libc/include/sys/features.h [__CYGWIN__] (_POSIX_CLOCK_SELECTION): Define.
* * libc/include/sys/unistd.h (_CS_XBS5_WIDTH_RESTRICTED_ENVS): Define.Yaakov Selkowitz2011-07-201-1/+2
| | | | (_CS_V6_ENV): Fix definition.
* * libc/locale/lmessages.c (_C_messages_locale):Corinna Vinschen2011-07-191-3/+3
| | | | Move __HAVE_LOCALE_INFO_EXTENDED__ before codeset.
* * libc/reent/sbrkr.c: Define _sbrk_r independently of the definitionCorinna Vinschen2011-07-191-3/+1
| | | | of MALLOC_PROVIDED.
* 2011-07-15 Yufeng Zhang <yufeng.zhang@arm.com>Jeff Johnston2011-07-151-9/+30
| | | | | | | | | | | | | * libc/stdio/vfwprintf.c (wcvt): Add a new parameter len of type int. *length is set to the value of (rev - digits) regardless of whether _MB_CAPABLE is defined or not. Replace BUF with len in calling _mbsnrtowcs_r and also in the loop where _MB_CAPABLE is not defined. (_VFWPRINTF_R): Call wcvt with an extra argument. Call wcvt again with allocated new buffer if buf is not large enough for the conversion. * testsuite/newlib.stdio/stdio.exp: New. * testsuite/newlib.stdio/swprintf.c: Likewise.
* * libc/stdio/fscanf.c (fscanf): Call _vfscanf_r instead of __svfscanf_rCorinna Vinschen2011-07-154-8/+8
| | | | | | | | | | | | to make sure CHECK_INIT is called. (_fscanf_r): Ditto. * /libc/stdio/scanf.c (scanf): Ditto. (_scanf_r): Ditto. * libc/stdio/fwscanf.c (fwscanf): Call _vfwscanf_r instead of __svfwscanf_r to make sure CHECK_INIT is called. (_fwscanf_r): Ditto. * libc/stdio/wscanf.c (wscanf): Ditto. (_wscanf_r): Ditto.