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
AgeCommit message (Collapse)Author
2018-01-18Bump release to 3.0.0 for yearly snapshotnewlib-snapshot-20180118newlib-3.0.0Jeff Johnston
- major release required due to removal of K&R support
2018-01-18RISC-V: isatty: return 0 on errorChih-Mao Chen
2018-01-18RISC-V: Fix alignment issue in sigjmp_bufKito Cheng
2018-01-17ansification: remove ansidecl.h from makedocYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17ansification: fix makedoc for ANSI CYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17ansification: remove _HAVE_STDCYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17ansification: remove _EXFUN, _EXFUN_NOTHROWYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17ansification: remove _EXFNPTR, _EXPARMYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17ansification: remove _DEFUNYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17ansification: remove _VOLATILE, _SIGNEDYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17ansification: remove _VOIDYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17ansification: remove _DEFUN_VOIDYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17ansification: remove _CAST_VOIDYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17ansification: remove _PTRYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17ansification: remove _VOID_PTRYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17ansification: remove _PARAMSYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17ansification: remove _NOARGSYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17ansification: remove _DOTSYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17ansification: remove _CONSTYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17ansification: remove _ANDYaakov Selkowitz
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-17cygwin: add asm/bitsperlong.h, dummy asm/posix_types.h headersYaakov Selkowitz
These changes are necessary for cross-compiling the Linux kernel. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-16Make __always_inline macro compatible with glibcYaakov Selkowitz
For example, this is used when cross-compiling the Linux kernel on Cygwin. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-16cygwin: add LFS_CFLAGS etc. to confstr/getconfYaakov Selkowitz
These are used, for instance, when cross-compiling the Linux kernel. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
2018-01-09newlib: fvprintf: fix get_arg for !_MB_CAPABLEIvan Grokhotkov
Code path for _MB_CAPABLE scans for the '%' character and advances 'fmt' pointer past '%'. Code path for !_MB_CAPABLE leaved fmt pointing to '%', which caused the state machine to go from START to DONE state immediately.
2018-01-08fix incompatible pointer type for va_list in nano versions of printf and ↵Alexander Fedotov
scanf for target like PowerPC
2017-12-26RISC-V: Add gdb sim and newlib nano support. Fix a few misc minor bugs.Jim Wilson
2017-12-26RISC-V: Moved syscalls to separate files to fix aliasing problems.Jim Wilson
2017-12-26RISC-V: Updated syscall to take 6 argumentsJim Wilson
2017-12-26RISC-V: Add nanosleep functionalityJim Wilson
2017-12-26RISC-V: Fix libnosys build.Jim Wilson
2017-12-22cleanup winsup/doc/etc.{postinstall,preremove}.cygwin-doc.sh quote test ↵Brian Inglis
variables, correct utility paths, define site in preremove
2017-12-22winsup/doc/etc.postinstall.cygwin-doc.sh fix shell variable typoBrian Inglis
2017-12-19cygwin: block devices: fix file offset after short writesnewlib-snapshot-20171222Corinna Vinschen
When reading/writing block devices, Cygwin emulates Linux, providing a byte-exact file position, albeit the underlying device drivers don't. Unfortunately this only worked correctly for reading. The raw_write method failed to revalidate the buffer after the read-modify-write cycle in case len is not a multiple of the sector length. This in turn resulted in lseek reporting a wrong file pointer. Also, fix a condition for invalidating the buffer after writing from a remaining read buffer. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-12-18Cygwin: document sigtimedwait and ftell{o} patchCorinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-12-18newlib: ftello{64}: Handle appending stream without fflushingCorinna Vinschen
Neither upstream FreeBSD nor glibc ever call fflush from ftell and friends. In border cases it has the tendency to return wrong or unexpected values, for instance on block devices. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-12-18newlib: ftello{64}: Fix type of returned valueCorinna Vinschen
Especially don't just use -1L since _off_t/_off64_t are not guaranteed to be of type long. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-12-18newlib: Availability of _kill() in sys/signal.hMartin Aberg
Make prototype of _kill() always visible when _COMPILING_NEWLIB is defined. This makes <sys/signal.h> consistent with the use of _COMPILING_NEWLIB in <sys/unistd.h>, <sys/times.h>, etc.
2017-12-18Cygwin: rearrange sigwait functions, convert sigwait_common to inlineCorinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-12-18Cygwin: Implement sigtimedwaitMark Geisert
Abstract out common code from sigwait/sigwaitinfo/sigtimedwait to implement the latter.
2017-12-18winsup: Belatedly add Mark Geisert to CONTRIBUTORSCorinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-12-13newlib: Don't do double divide in powf.Jim Wilson
* Use 0.0f instead of 0.0 in divide.
2017-12-13Don't call double rint from float powf.Jim Wilson
Updated patch to use 0.0f in addition to calling rintf. Tested same way as before, with a testcase that triggers the code and make check. OK? newlib/ * libm/math/wf_pow.c (powf): Call rintf instead of rint. Use 0.0f for compare.
2017-12-12Update MAINTAINERS file email address.Jim Wilson
To update my email address to my current employer. Specifix died quite a while ago, and I've had two jobs in the interim. newlib/ * MAINTAINERS: Update my email address.
2017-12-10cygwin: add mmap fork fix to 2.10.0 release testCorinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-12-10cygwin: mmap: fix comment and formatting, drop unused codeCorinna Vinschen
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-12-10cygwin: mmap: fix a fork failure with private, anonymous mappingsCorinna Vinschen
Rounddown incoming addr on a page boundary. Without this, we may end up with a fork error for private, anonymous maps. The reason is, we use VirtualAlloc in this case which will potentially overcommit if addr is not on a page boundary. This isn't taken into account in bookkeeping, but fixup_mmaps_after_fork will eventually stumble over this when trying to reproduce the copy-on-write pages: VirtualQuery returns a region reaching beyond the supposedly allocated address range and from there it goes downhill. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2017-12-08cygwin: Improve discussion of linker library ordering in faq-programmingJon Turney
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
2017-12-08makedoc: warn about some obsolete and deprecated commandsJon Turney
To follow up the thread starting at [1], since all uses of TRAD_SYNOPSIS have been removed, and all uses of ANSI_SYNOPSIS have been renamed to SYNOPSIS, we can now warn about the use of these. [1] https://sourceware.org/ml/newlib/2017/msg01182.html Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
2017-12-07makedoc: exit with non-zero status on errorJon Turney
Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>
2017-12-07makedoc: make errors visibleJon Turney
Discard QUICKREF sections, rather than writing them to stderr Discard MATHREF sections, rather than discarding as an error Pass NOTES sections through to texinfo, rather than discarding as an error Don't redirect makedoc stderr to .ref file Remove makedoc output on error Remove .ref files from CLEANFILES Regenerate Makefile.ins Signed-off-by: Jon Turney <jon.turney@dronecode.org.uk>