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
2014-11-242014-11-23 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libc/include/sys/resource.h: Add prototype for getrusage() to <sys/resource.h>
2014-11-21 PR target/63901Nick Clifton
* configure.host (msp430): Add -mhwmult=none to newlib_cflags.
2014-11-20 * libc/stdio/nano-vfprintf_i.c (_printf_i): Use LONGINT when void* isCorinna Vinschen
larger than an int.
2014-11-20 * libc/sys/rtems/sys/syslimits.h (NGROUPS_MAX): Adjust value soCorinna Vinschen
that NGROUPS is even.
2014-11-12 * libc/stdlib/strtod.c (sulp): Cast to int32_t to avoid overflow.Corinna Vinschen
* libc/time/gmtime_r.c (DAYS_PER_*_YEARS): Convert to long constants to avoid overflow.
2014-11-10 * libc/machine/aarch64/strcpy.S: New file.Richard Earnshaw
* libc/machine/aarch64/strcpy-stub.S: New file. * libc/machine/aarch64/Makefile.am (lib_a_SOURCES): Add new files. * libc/machine/aarch64/Makefile.in: Regenerate.
2014-11-062014-11-06 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston
* configure.in: Add autoconf test to determine size of uintptr_t. * newlib.hin: Add new autoconf feature variables. * libc/include/inttypes.h: Use new feature variables. * configure: Regenerate.
2014-11-06 * libc/stdio/nano-vfprintf_i.c (_printf_i): Use Newlib approach toCorinna Vinschen
handle string that might be not nul-terminated. * testsuite/newlib.stdio/nulprintf.c: New test.
2014-10-302014-10-29 Jon Turney <jon.turney@dronecode.org.uk>Jon TURNEY
* libc/include/string.h: Correct guard for strcasecmp().
2014-10-29Remove accidentally added Change Log entryCorinna Vinschen
2014-10-29 * libc/stdio/vfprintf.c (_VFPRINTF_R): Remove unnecessary comparison.Corinna Vinschen
2014-10-27 * libc/include/sys/unistd.h (sethostname): Declare ifCorinna Vinschen
requested.
2014-10-20 * libc/time/gmtime_r.c (gmtime_r): Remove dead code.Corinna Vinschen
2014-10-16 * libc/unix/getcwd.c (getcwd): Close directory also in case of an error.Corinna Vinschen
2014-10-10 * libc/include/_ansi.h: _LONG_LONG_TYPE definition removed.Corinna Vinschen
* libc/include/math.h: _LONG_LONG_TYPE replaced by "long long". Guards for C99 and C++11 functions fixed. * libc/include/stdlib.h: Guards for C99 and C++11 functions fixed.
2014-10-092014-10-09 Sebastian Huber <sebastian.huber@embedded-brains.de>Jeff Johnston
* libc/include/stdint.h: Include <sys/_intsup.h>. (__STDINT_EXP): Delete. (__have_long32): Likewise. (__have_long64): Likewise. (__have_longlong64): Likewise. * libc/include/sys/_intsup.h: New file. (__STDINT_EXP): Move from libc/include/stdint.h. (__have_long32): Likewise. (__have_long64): Likewise. (__have_longlong64): Likewise. * libc/include/inttypes.h: Include <sys/_intsup.h>. (__INTTYPES_EXP): Delete and use __STDINT_EXP() instead.
2014-10-09 * libc/string/memccpy.c (memccpy): Fix warning about signed-unsignedCorinna Vinschen
comparison * libc/string/memchr.c (memchr): Ditto. * libc/string/memrchr.c (memrchr): Ditto. * libc/string/memset.c: (memset): Ditto. * libc/string/rawmemchr.c (rawmemchr): Ditto. * libc/string/local.h (__locale_cjk_lang): Fix "function declaration isn't a prototype" warning. * libc/string/strcasestr.c (strcasestr): Ditto. * libc/string/u_strerr.c (_user_strerror): Fix "unused parameter" warnings. * libc/string/rawmemchr.c (rawmemchr): Fix comment type "// ..." -> "/* ... */".
2014-10-092014-10-08 Steve Ellcey <sellcey@mips.com>Steve Ellcey
* newlib/libc/machine/mips/strcmp.c: Remove. * newlib/libc/machine/mips/strcmp.S: New. * newlib/libc/machine/mips/Makefile.am (lib_a_SOURCES): Replace strcmp.c with strcmp.S * newlib/libc/machine/mips/Makefile.in: Regenerate.
2014-10-09 * libc/include/string.h (ffsl): Declare as GNU function.Corinna Vinschen
(ffsll): Ditto.
2014-09-182014-09-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/features.h: Add __NEWLIB__ and __NEWLIB_MINOR__ macros.
2014-09-162014-09-17 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston
Thomas Uhle <thomas.uhle@eas.iis.fraunhofer.de> * libc/include/string.h: Correct guard for strnlen().
2014-09-152014-09-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/time/month_lengths.c: Fix to define __month_lengths.
2014-09-132014-09-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/time/tzcalc_limits.c: Fix __months_lengths reference.
2014-09-122014-09-12 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/time/month_lengths.c: Actually add file this time. * libc/time/tzcalc_limits.c: Ditto.
2014-09-122014-09-11 Freddie Chopin <freddie_chopin@op.pl>Jeff Johnston
* libc/time/month_lengths.c: New file with __month_lengths array (previously mon_lengths array in mktm_r.c) * libc/time/tzcalc_limits.c: New file with __tzcalc_limits() from mktm_r.c * libc/time/lcltime_r.c (localtime_r): Simplify by changing call to _mktm_r() with call to gmtime_r() and code moved from _mktm_r() which was used to do time zone adjustments * libc/time/gmtime_r.c (gmtime_r): Simplify by moving all relevant code from _mktm_r(), breaking all dependencies on time zone related functions * libc/time/mktm_r.c: Delete file * libc/time/local.h: Update accordingly - remove declaration of _mktm_r(), add declaration of __month_lengths[] * libc/time/Makefile.am: Modify accordingly. * libc/time/Makefile.in: Regenerate.
2014-09-082014-09-08 Freddie Chopin <freddie_chopin@op.pl>Jeff Johnston
* libc/machine/arm/Makefile.am: Fix typo. * libc/machine/arm/Makefile.in: Regenerated.
2014-09-052014-09-05 Hale Wang <hale.wang@arm.com>Jeff Johnston
* libc/machine/arm/memchr.S: Clean up the wrapper. * libc/machine/arm/memcpy.S: Likewise. * libc/machine/arm/memchr-stub.c: Delete this redundant file. * libc/machine/arm/memcpy-stub.c: Likewise. * libc/machine/arm/strcmp.S: Add speed-preferred wrapper. * libc/machine/arm/strlen.S: Likewise. * libc/machine/arm/Makefile.am: Add dependencies. * libc/machine/arm/Makefile.in: Regenerated. * libc/machine/arm/configure.in: Add dependencies. * libc/machine/arm/configure: Regenerated.
2014-09-05 * libc/stdio/findfp.c (_cleanup_r): Call _fflush_r when configurationCorinna Vinschen
option "--enable-lite-exit" is in effect. Refactor the code.
2014-09-05 * libc/stdio/fwalk.c (_fwalk_reent): Remove redundant test.Corinna Vinschen
2014-09-05Add missing libc/machine/arm/aeabi_memcpy.c fileCorinna Vinschen
2014-09-04 * libc/time/mktm_r.c (_mktm_r): Optimize speed.Corinna Vinschen
2014-09-04Add missing libc/machine/arm/aeabi_memcpy-armv7a.S fileCorinna Vinschen
2014-09-04 * libc/time/clock.c (clock): Fix warnings about signed-unsignedCorinna Vinschen
comparisons. * libc/time/strftime.c (strftime): Likewise. * libc/time/strptime.c (match_string): Fix warning about discarding 'restrict' qualifier from pointer target type.
2014-09-04 * libc/machine/arm/aeabi_memcpy.c: New file.Corinna Vinschen
* libc/machine/arm/aeabi_memcpy-armv7a.S: New file. * libc/machine/arm/Makefile.am: Add dependencies. * libc/machine/arm/Makefile.in: Regenerated.
2014-08-27* libc/include/math.h (frexpl): Remove parameter name.DJ Delorie
2014-08-19 * libc/machine/aarch64/memchr.S: Add check for zero-sized buffer.Richard Earnshaw
2014-08-18 * libc/include/sys/signal.h: Declare sigaltstack for RTEMS only.Corinna Vinschen
2014-08-182014-08-18 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/config.h[__m68k__]: Set _READ_WRITE_RETURN_TYPE to _ssize_t to match underlying code in libgloss.
2014-08-182014-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libc/include/string.h: Improve language and OS standard guards.
2014-08-182014-08-18 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libc/include/sys/signal.h: Add sigaltstack() support.
2014-08-14 * libc/stdio/findfp.c (std): Don't inline when optimizing for code size.Corinna Vinschen
2014-08-05 * libc/include/math.h: Also define M_PI etc. if _XOPEN_SOURCE isJon TURNEY
defined appropriately.
2014-08-01headers: properly decorate attributesEric Blake
Found by: find -name '*.h' |xargs grep -i 'attribute.*(([a-z]' For an example of the type of bugs this causes, try compiling this valid C11 program (it's valid because 'noreturn' is reserved for use in the user namespace unless you include <stdnoreturn.h>): $ cat foo.c #define noreturn __attribute__((noreturn)) #include <stdlib.h> $ gcc -c -o foo.o -Wall foo.c In file included from /usr/include/stdlib.h:11:0, from foo.c:2: foo.c:1:18: error: expected ')' before '__attribute__' #define noreturn __attribute__((noreturn)) ^ /usr/include/stdlib.h:66:28: error: expected ',' or ';' before ')' token _VOID _EXFUN(abort,(_VOID) _ATTRIBUTE ((noreturn))); ^ * libc/machine/spu/spu_timer_internal.h: Decorate attribute names with __, for namespace safety. * libc/machine/xscale/machine/profile.h: Likewise. * libc/include/stdlib.h: Likewise. * libc/include/_ansi.h: Likewise. * libc/include/sys/unistd.h: Likewise. * libc/sys/linux/linuxthreads/libc-symbols.h: Likewise. * libc/sys/linux/linuxthreads/internals.h: Likewise. * libc/sys/linux/machine/i386/weakalias.h: Likewise. * libc/sys/linux/machine/i386/dl-procinfo.h: Likewise. * libc/sys/linux/machine/i386/dl-machine.h: Likewise. * libc/sys/linux/libc-symbols.h: Likewise. * libc/sys/linux/iconv/gconv_charset.h: Likewise. * libc/sys/linux/include/resolv.h: Likewise. * libc/sys/linux/sys/unistd.h: Likewise. * libc/sys/linux/dl/atomicity.h: Likewise. * libc/sys/linux/dl/dynamic-link.h: Likewise. * libc/sys/linux/dl/ldsodefs.h: Likewise.
2014-07-30 * libc/string/strerror.c: Fix documentation so makedoc doesn'tCorinna Vinschen
stumble over a sole EAGAIN.
2014-07-27Add moxiebox support.Anthony Green
2014-07-222014-07-22 Joel Sherrill <joel.sherrill@oarcorp.com>Joel Sherrill
* libc/include/sys/time.h: Add prototype for adjtime() and wrap it and settimeofday() prototype with __BSD_VISIBLE.
2014-07-17Fix missing generated filesCorinna Vinschen
2014-07-17 * configure.host: Remove or16 and or32 targets and add or1k.Corinna Vinschen
* libc/include/machine/ieeefp.h: Replace or32 with or1k. * libc/machine/configure.in: Add or1k subdirectory. * libc/machine/or1k/configure.in: New file. * libc/machine/or1k/Makefile.am: New file. * libc/machine/or1k/setjmp.S: New file.
2014-07-14 * libc/include/sys/errno.h: Fix comments.Corinna Vinschen
* libc/string/strerror.c: Fix documentation. (_strerror_r): Handle ENETRESET, EILSEQ, ENODATA, ECONNRESET, EADDRNOTAVAIL, EOVERFLOW. Fix strings for EMFILE and EDOM.
2014-07-11[aarch64] Add memchr.Richard Earnshaw
2014-07-11 K�vin Petit <kevin.petit@arm.com> * libc/machine/aarch64/memchr.S: New file. * libc/machine/aarch64/memchr-stub.c: New file. * libc/machine/aarch64/Makefile.am: Add the new files. * libc/machine/aarch64/Makefile.in: Regenerated.