Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
AgeCommit message (Collapse)Author
2013-09-132013-09-13 Joey Ye <joey.ye@arm.com>Jeff Johnston
* libc/stdlib/nano-mallocr.c (nano_allopt): Typo fixed to ... (nano_mallopt): ... this.
2013-09-132013-09-12 Sebastian Huber <sebastian.huber@embedded-brains.de>Jeff Johnston
* libc/include/sys/cdefs.h: Synchronize with latest FreeBSD version. * libc/include/stdatomic.h: Likewise.
2013-09-08* libc/include/search.h (__compar_fn_t): Add typedef.Yaakov Selkowitz
(tdelete, tfind, tsearch): Use it. * libc/include/stdlib.h (__compar_fn_t): Add typedef. (bsearch, qsort): Use it.
2013-08-19 * libc/stdlib/__atexit.c (__register_exitproc): NULL-ifyCorinna Vinschen
_on_exit_args_ptr when creating a new _atexit structure while _REENT_SMALL is defined.
2013-08-12 * libc/configure.in (--enable-newlib-wchar-orient): Remove.Corinna Vinschen
* libc/configure: Regenerated. * libc/stdio/Makefile.am (NEWLIB_WIDE_ORIENT): Remove. * libc/stdio/Makefile.in: Regenerated.
2013-08-12 * libc/sys/arm/crt0.S: Remove 'start'.Corinna Vinschen
2013-08-082013-08-08 Freddie Chopin <freddie_chopin@op.pl>Joel Sherrill
* libc/string/strncat.c: Fix typo in documentation.
2013-08-02 * libc/include/stdio_ext.h (__fbufsize): Define as inline function forCorinna Vinschen
gcc, as macro otherwise. (__freading): Ditto. (__fwriting): Ditto. (__freadable): Ditto. (__fwriteable): Ditto. (__flbf): Ditto. (__fpending): Ditto.
2013-07-23 * libc/sys/linux/include/netdb.h, libc/sys/linux/net/getaddrinfo.c,Corinna Vinschen
libc/sys/linux/net/getnameinfo.c: Add restrict keyword to getnameinfo() and getaddrinfo() to increase standards compliance and match glibc. * libc/include/string.h, libc/string/memccpy.c, libc/string/memcpy.c, libc/string/stpcpy.c, libc/string/stpncpy.c, libc/string/strcat.c, libc/string/strncat.c, libc/string/strncpy.c, libc/string/strtok.c, libc/string/strtok_r.c, libc/string/strxfrm.c libc/machine/microblaze/strcpy.c, libc/machine/xscale/memcpy.c, libc/machine/cris/memcpy.c: Add __restrict to prototype to increase standards compliance.
2013-07-19 * libc/sys/arm/syscalls.c (do_AngelSWI): Delete.Corinna Vinschen
* libc/sys/arm/libcfuncs.c (do_AngelSWI): Delete. * libc/sys/arm/swi.h: Copy over from libgloss.
2013-07-172013-07-17 Janis Johnson <janisjo@codesourcery.com>Jeff Johnston
* libc/machine/powerpc/configure.in: Remove extra_sources; fix extra_objs for powerpc*-*altivec. * libc/machine/powerpc/Makefile.am: Define EXTRA_lib_a_SOURCES. * libc/machine/powerpc/configure: Regenerated. * libc/machine/powerpc/Makefile.in: Regenerated.
2013-07-16 * configure.host: Change to microblaze*.Corinna Vinschen
* libc/include/machine/ieeefp.h: Add __MICROBLAZEEL__. * libc/machine/microblaze/mb_endian.h: New file. * newlib/libc/machine/microblaze/strcmp.c: Add little endian support. * newlib/libc/machine/microblaze/strcpy.c: Likewise. * newlib/libc/machine/microblaze/strlen.c: Likewise. * configure.in: Change to microblaze*. * configure: Regenerate. * microblaze/xilinx.ld: Remove OUTPUT_FORMAT.
2013-07-092013-07-09 Sabrina Ni <sabrina@andestech.com>Jeff Johnston
* libc/machine/nds32/Makefile.am (lib_a_SOURCES): Add abort.c, memcpy.S, memset.S, strcmp.S, and strcpy.S. * libc/machine/nds32/Makefile.in: Regenerated. * libc/machine/nds32/{abort.c, memcpy.S, memset.S, strcmp.S, strcpy.S}: New.
2013-07-092013-07-09 Sabrina Ni <sabrina@andestech.com>Jeff Johnston
* configure.host (machine_dir, syscall_dir, newlib_cflags): Add settings for nds32*. * libc/include/machine/ieeefp.h (IEEE_BIG_ENDIAN, IEEE_LITTLE_ENDIAN): Ditto. * libc/include/machine/setjmp.h (JBLEN): Ditto. * libc/machine/configure.in: Add nds32 subdir. * libc/machine/configure: Regenerated. * libc/machine/nds32/Makefile.am: New. * libc/machine/nds32/Makefile.in: New (autogenerated). * libc/machine/nds32/aclocal.m4: New (autogenerated). * libc/machine/nds32/configure.in: New. * libc/machine/nds32/configure: New (autogenerated). * libc/machine/nds32/setjmp.S: New.
2013-07-09 * libc/include/sys/config.h (__DYNAMIC_REENT__): Define for RTEMS.Corinna Vinschen
2013-07-09 * libc/stdio/fwalk.c (_fwalk): Remove redundant test.Corinna Vinschen
2013-07-06* libc/include/sys/types.h (u_char): Add redefinition guard.Yaakov Selkowitz
(u_short, u_int, u_long, caddr_t, daddr_t): Ditto.
2013-07-032013-07-02 Joey Ye <joey.ye@arm.com>Jeff Johnston
Lite exit support. * README: Add information about lite-exit. * acconfig.h (_LITE_EXIT): New macro. * configure.in (enable-lite-exit): New option. (_LITE_EXIT): Define new macro. * configure: Regenerated. * newlib.hin (_LITE_EXIT): New macro. * libc/stdlib/__atexit.c [_LITE_EXIT]: Add dummy explicit reference to __call_exitprocs. * libc/stdlib/cxa_atexit.c [_LITE_EXIT]: Make __register_exitproc a weak reference. * libc/stdlib/exit.c (exit)[_LITE_EXIT]: Remove TWS and weakly reference __call_exitprocs.
2013-07-022013-07-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/reent.h: Fix typo in comment.
2013-07-01memcpy-armv7a.S: Improve performance with misaligned buffers.Will Newton
Adjust the conditions for entering the aligned copy loop to improve performance on mutually misaligned buffer copies. 2013-07-01 Will Newton <will.newton@linaro.org> * libc/machine/arm/memcpy-armv7a.S: Adjust entry to aligned loop to improve misaligned copy performance.
2013-06-272013-06-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/stdio.h: Specify std streams always in terms of _REENT. * libc/include/wchar.h: Ditto. * libc/include/sys/reent.h: Remove _RENT_ONLY check around setting of _REENT macro.
2013-06-24* libc/include/string.h (rawmemchr): Declare.Yaakov Selkowitz
* libc/string/Makefile.am (ELIX_4_SOURCES): Add rawmemchr.c. (CHEWOUT_FILES): Add rawmemchr.def. * libc/string/Makefile.in: Regenerate. * libc/string/rawmemchr.c: New file.
2013-06-24 * libc/reent/reent.c (_reclaim_reent): Free also _misc andCorinna Vinschen
_signal_buf.
2013-06-24 * libc/include/sys/reent.h (_ATEXIT_INIT_PTR): Remove.Corinna Vinschen
(_REENT_INIT_ATEXIT_PTR): Remove. (_REENT_INIT_PTR): Reduce code size if _REENT_SMALL.
2013-06-21strlen-armv7.S: Import latest strlen cortex-strings code.Will Newton
Import the latest version of strlen from the Linaro cortex-strings package. This version is faster across a variety of block size and alignments on ARMv7. newlib/ChangeLog: 2013-06-21 Will Newton <will.newton@linaro.org> * libc/machine/arm/strlen-armv7.S: Import latest strlen code from Linaro cortex-strings.
2013-06-21newlib/MAINTAINERS: Add myself to Write After Approval.Will Newton
2013-06-21 Will Newton <will.newton@linaro.org> * MAINTAINERS: Add Will Newton to Write After Approval.
2013-06-19Fix ChangeLog entryCorinna Vinschen
2013-06-19 * acconfig.h (_UNBUF_STREAM_OPT): Undefine.Corinna Vinschen
* newlib.hin (_UNBUF_STREAM_OPT): Undefine. * configure.in (--enable-newlib-unbuf-stream-opt): New option. * configure: Regenerate. * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't do optimization on unbuffered stream files. * libc/stdio/vfwprintf.c (_VFWPRINTF_R): Likewise. * README: Add description about the option. * newlib.hin (_UNBUF_STREAM_OPT): Undefine. * configure.in (--enable-newlib-unbuf-stream-opt): New option. * configure: Regenerate. * libc/stdio/vfprintf.c (_VFPRINTF_R): Don't do optimization on unbuffered stream files. * libc/stdio/vfwprintf.c (_VFWPRINTF_R): Likewise. * README: Add description about the option.
2013-06-19 * libc/posix/readdir_r.c: Fix potential read past dirp->dd_buf.Corinna Vinschen
2013-06-13 * README: Add description for NEWLIB's feature customizingCorinna Vinschen
configuration options.
2013-06-10 * libc/stdlib/gdtoa-gethex.c (__hexdig): Constify.Corinna Vinschen
(hexdig_init): Remove. (__hexdig_fun): New function. hexdig_init, added __hexdig_fun (gethex): Call __get_hexdig macro rather than hexdig. * libc/stdlib/gdtoa-hexnan.c (hexnan): Constify fpi argument. Call __get_hexdig macro rather than hexdig. * libc/stdlib/ldtoa.c: Throughout constify functions arguments where required by constifying the following arrays. (ezero): Constify. (eone): Constify. (ermsg): Constify. (etens): Constify. (emtens): Constify. (nan113): Constify. (nan64): Constify. (nan53): Constify. (nan24): Constify. * libc/stdlib/mprec.h (__get_hexdig): Define. (gethex): Constify args in declaration where appropriate. (hexnan): Ditto. (hexdig_init): Remove declaration. (__hexdig_fun): Declare. * libc/stdlib/strtod.c (fpi): Constify. (fpinan): Constify.
2013-06-07Fix typosCorinna Vinschen
2013-06-07 * libc/include/cdefs.h (__has_extension): New define.Corinna Vinschen
(__has_feature): Likewise. (__has_include): Likewise. (__has_builtin): Likewise. * libc/include/stdatomic.h: New.
2013-06-05 * libc/machine/arm/strcmp.S: Use local labels.Corinna Vinschen
2013-06-032013-06-03 Joey Ye <joey.ye@arm.com>Richard Earnshaw
* libc/machine/arm/Makefile.am (MEMCPY_DEP): New define. ($(lpfx)memcpy.o, $(lpfx)memcpy.obj): Depend on MEMCPY_DEP. * libc/machine/arm/Makefile.in: Regenerated. * newlib/libc/machine/arm/memcpy-stub.c: Exclude armv7-m/armv7e-m. * newlib/libc/machine/arm/memcpy-armv7m.S: New. * newlib/libc/machine/arm/memcpy.S: Replace with wrapper code. Old code moved to ... * newlib/libc/machine/arm/memcpy-armv7a.S: ... here. Remove redundant architecture check.
2013-05-312013-05-30 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/machine/powerpc/times.c: Moved to libgloss/rs6000. * libc/machine/powerpc/Makefile.am: Remove times.c. * libc/machine/powerpc/Makefile.in: Regenerated.
2013-05-29 * configure.in (--enable-newlib-nano-malloc): New option.Corinna Vinschen
* configure: Regenerated. * libc/configure.in (--enable-newlib-nano-malloc): New option. * libc/configure: Regenerated. * libc/stdlib/Makefile.am (NEWLIB_NANO_MALLOC): Use. * libc/stdlib/Makefile.in: Regenerated. * libc/stdlib/nano-mallocr.c: New file, implementing nano version malloc family functions.
2013-05-28* libc/macine/arm/strcpy.S: Explicitly set build attributes whenRichard Earnshaw
building for thumb1 targets.
2013-05-23 * libc/ctype/isalnum.c: Correct domain of definition to SUSv4 wording.Corinna Vinschen
* libc/ctype/isalpha.c: Ditto. * libc/ctype/isblank.c: Ditto. * libc/ctype/iscntrl.c: Ditto. * libc/ctype/isdigit.c: Ditto. * libc/ctype/islower.c: Ditto. * libc/ctype/isprint.c: Ditto. * libc/ctype/ispunct.c: Ditto. * libc/ctype/isxdigit.c: Ditto.
2013-05-22 * libc/include/sys/cdefs.h (_Static_assert): Accommodate gcc >= 4.6.Corinna Vinschen
2013-05-16 * libc/reent/reent.c (_wrapup_reent): Remove.Corinna Vinschen
2013-05-14Missed MAINTAINERS entry from previous commit.DJ Delorie
2013-05-14[newlib]DJ Delorie
* configure.host (msp430): Add. * libc/include/machine/ieeefp.h: Add MSP430 support. * libc/include/machine/setjmp.h: Likewise. * libc/include/sys/config.h: Likewise. * libc/machine/configure.in (msp430): Add. * libc/machine/configure: Regenerate. * libc/machine/msp430: New directory. [libgloss] * configure.in (msp430*-*-elf): Add. * configure: Regenerate. * msp430: New directory.
2013-05-112013-05-10 Freddie Chopin <freddie_chopin@op.pl>Jeff Johnston
* configure.in: Fix help text for disable-newlib-atexit-dynamic-alloc option. * configure: Regenerated.
2013-05-092013-05-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Jeff Johnston
* libc/include/sys/config.h (_REENT_GLOBAL_ATEXIT): Define for RTEMS. * libc/include/sys/reent.h (_reent): Use _REENT_GLOBAL_ATEXIT. (_global_atexit): Declare if _REENT_GLOBAL_ATEXIT is defined. * libc/reent/reent.c (_reclaim_reent): Remove atexit cleanup if _REENT_GLOBAL_ATEXIT is defined. (_wrapup_reent): Remove atexit handling if _REENT_GLOBAL_ATEXIT is defined. * libc/stdlib/__atexit.c (_global_atexit0): Define if _REENT_GLOBAL_ATEXIT is defined. * libc/stdlib/__call_atexit.c (_global_atexit): Define if _REENT_GLOBAL_ATEXIT is defined.
2013-05-082013-05-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Jeff Johnston
* libc/include/sys/reent.h (_ATEXIT_INIT): Define. (_ATEXIT_INIT_PTR): Likewise. (_REENT_INIT_ATEXIT): Likewise. (_REENT_INIT_ATEXIT_PTR): Likewise. (_GLOBAL_ATEXIT): Likewise. * libc/stdlib/__atexit.c (_GLOBAL_ATEXIT0): Define. (__register_exitproc): Use _GLOBAL_ATEXIT and _GLOBAL_ATEXIT0. * libc/stdlib/__call_atexit.c (__call_exitprocs): Likewise. -
2013-05-072013-05-07 Sebastian Huber <sebastian.huber@embedded-brains.de>Jeff Johnston
* libc/stdlib/__atexit.c (__atexit_lock): Declare. * libc/stdlib/__call_atexit.c (__atexit_lock): Define.
2013-05-062013-05-06 Sandra Loosemore <sandra@codesourcery.com>Jeff Johnston
* configure.host (machine_dir, sys_dir, syscall_dir, newlib_cflags): Add settings for nios2*. * libc/include/machine/ieeefp.h (IEEE_BIG_ENDIAN, IEEE_LITTLE_ENDIAN): Likewise. * libc/include/machine/setjmp.h (JBLEN, JBTYPE): Likewise. * libc/machine/configure.in: Add nios2 subdir. * libc/machine/configure: Regenerated. * libc/machine/nios2/Makefile.am: New. * libc/machine/nios2/Makefile.in: New (autogenerated). * libc/machine/nios2/aclocal.m4: New (copied from mips version). * libc/machine/nios2/configure.in: New. * libc/machine/nios2/configure: New (autogenerated). * libc/machine/nios2/setjmp.s: New.
2013-04-302013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de>Jeff Johnston
* libc/stdio/local.h (CHECK_INIT): Evaluate argument only once. (CHECK_STD_INIT): Likewise. * libc/stdio/fgetc.c (fgetc): Use local variable for _REENT. * libc/stdio/fgetwc.c (fwgetc): Likewise. * libc/stdio/fgetws.c (fgetws): Likewise. * libc/stdio/fputc.c (fputc): Likewise. * libc/stdio/fputwc.c (fputwc): Likewise. * libc/stdio/fputws.c (fputws): Likewise. * libc/stdio/getc.c (getc): Likewise. * libc/stdio/getchar.c (_getchar_r): Likewise. * libc/stdio/putc.c (putc): Likewise. * libc/stdio/putchar.c (putchar): Likewise. * libc/stdio/scanf.c (scanf): Likewise. * libc/stdio/setvbuf.c (setvbuf): Likewise. * libc/stdio/ungetwc.c (ungetwc): Likewise. * libc/stdio/vfscanf.c (VFSCANF): Likewise. * libc/stdio/vfwscanf.c (VFWSCANF): Likewise. * libc/stdio/viprintf.c (viprintf): Likewise. * libc/stdio/viscanf.c (viscanf): Likewise. * libc/stdio/vprintf.c (vprintf): Likewise. * libc/stdio/vscanf.c (vscanf): Likewise. * libc/stdio/vwprintf.c (vwprintf): Likewise. * libc/stdio/vwscanf.c (vwscanf): Likewise. * libc/stdio/wscanf.c (wscanf): Likewise. * libc/stdlib/ecvtbuf.c (fcvtbuf): Likewise. (fcvtbuf): Likewise. (ecvtbuf): Likewise. (ecvtbuf): Likewise. * libc/stdlib/mblen.c (mblen): Likewise. * libc/stdlib/mbrlen.c (mbrlen): Likewise. * libc/stdlib/mbrtowc.c (mbrtowc): Likewise. * libc/stdlib/mbtowc.c (mbtowc): Likewise. * libc/stdlib/rand.c (srand): Likewise. (rand): Likewise. * libc/stdlib/wcrtomb.c (wcrtomb): Likewise. * libc/stdlib/wctob.c (wctob): Likewise. * libc/stdlib/wctomb.c (wctomb): Likewise. * libc/string/strtok.c (strtok): Likewise. * libc/time/asctime.c (asctime): Likewise. * libc/time/gmtime.c (gmtime): Likewise. * libc/time/lcltime.c (lcltime): Likewise.
2013-04-302013-04-29 Sebastian Huber <sebastian.huber@embedded-brains.de>Jeff Johnston
* libc/include/sys/reent.h (_REENT_INIT_PTR): Reduce code size.