summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Cygwin: bindresvport_sa: Ignore incoming port numberCorinna Vinschen2018-02-051-12/+4
| | | | | | | Ignore port number just like glibc, otherwise suffer EADDRINUSE in subsequent connect calls. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
* Cygwin: Use SO_EXCLUSIVEADDRUSECorinna Vinschen2018-02-051-1/+1
| | | | | | | We're still using ~SO_REUSEADDR because SO_EXCLUSIVEADDRUSE wasn't defined in Mingw. But it is in Mingw-w64, so fix it. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
* Cygwin: bump version to 2.10.1Corinna Vinschen2018-02-021-1/+1
| | | | Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
* newlib: drop Cygwin license from sys/select.hcygwin-2_10_0-releaseCorinna Vinschen2018-02-021-11/+0
| | | | | | This license was accidentally retained when moving the file from Cygwin to newlib. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
* Fix vprintf and vfscanf for GCC PR 14577Jon Beniston2018-02-012-33/+24
|
* epiphany: Additional setjmp() and longjmp() symsSebastian Huber2018-01-311-0/+4
| | | | | | | At least with Binutils 2.30 and GCC 7.3 we need symbol definitions without the leading underscore. Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
* ssp: do not use __ssp_protected_ symbol prefixesYaakov Selkowitz2018-01-261-1/+0
| | | | | | | | | This is a NetBSD-specific detail which does not apply to Newlib, causing linking issues in certain scenarios: https://cygwin.com/ml/cygwin/2018-01/msg00189.html Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* Disable powf/log2?f/exp2?f optimization for single-precision Arm FPUThomas Preudhomme2018-01-251-1/+3
| | | | | | | | | | | | | | | | New optimized powf, logf, log2f, expf and exp2f yield worse performance on Arm targets with only single precision instructions because the double precision arithmetic is then implemented via softfloat routines. This patch uses the old implementation when double precision instructions are not available on Arm targets. Testing: Built newlib with GCC's rmprofile Arm multilibs and compared before/after -> only the above functions are changed and calls to them (name change from logf to __ieee754_logf and similar). Testing the changed function on a panel of values yields the same result before the original patches to improve them and after this one. Double checking the performance by looping the same panel of values being tested on Arm Cortex-M4 does show the performance regression is fixed.
* Define internal function mythreadname() -- revisedMark Geisert2018-01-245-4/+21
| | | | | | This new function returns the name of the calling thread; works for both cygthreads and pthreads. All calls to cygthread::name(/*void*/) replaced by calls to mythreadname(/*void*/).
* cygwin: 2.10.0 release text: fix formattingCorinna Vinschen2018-01-221-11/+11
| | | | Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
* cygwin: Declare pthread_rwlock_timedrdlock, pthread_rwlock_timedwrlockYaakov Selkowitz2018-01-221-0/+4
| | | | | | | These were added in commit 8128f5482f2b1889e2336488e9d45a33c9972d11 but without their public declarations. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* cygwin: update docs for 2.10.0Yaakov Selkowitz2018-01-193-4/+56
| | | | Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* cygwin: add gencat toolYaakov Selkowitz2018-01-192-1/+697
| | | | | | This is needed for compiling catalog files used in catgets(3) calls. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* cygwin: add catopen, catgets, catcloseYaakov Selkowitz2018-01-195-1/+584
| | | | | | The implementation is taken from FreeBSD with #ifdef __CYGWIN__ modifications. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* Guard langinfo.h nl_item from multiple typedefsYaakov Selkowitz2018-01-191-0/+3
| | | | | | This is a prerequisite of adding nl_types.h support to Cygwin. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* Fix syntax error in exit.cOrlando Arias2018-01-191-1/+1
| | | | | | This patch fixes a syntax error in exit.c that was introduced during the ANSI-fication of newlib. The patch fixes a compile-time issue that arises when newlib is configured with the --enable-lite-exit feature.
* cygwin: make <sys/socket.h> completely visible from <netinet/in.h>Yaakov Selkowitz2018-01-191-1/+1
| | | | | | | | | While POSIX mandates that certain socket types shall be defined by the inclusing of <netinet/in.h>, it also says that this header may also make visible all <sys/socket.h> symbols. Glibc does this, and without out it, some packages end up requiring an additional #include <sys/socket.h>. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* cygwin: remove inclusion of <sys/time.h> from <sys/socket.h>Yaakov Selkowitz2018-01-191-1/+0
| | | | | | | | POSIX does not mention the inclusion of <sys/time.h> in <sys/socket.h> or <netinet/in.h>, nor is there anything in the latter two that would require the former. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* Bump release to 3.0.0 for yearly snapshotnewlib-snapshot-20180118newlib-3.0.0Jeff Johnston2018-01-18108-1156/+1153
| | | | - major release required due to removal of K&R support
* RISC-V: isatty: return 0 on errorChih-Mao Chen2018-01-181-1/+1
|
* RISC-V: Fix alignment issue in sigjmp_bufKito Cheng2018-01-181-1/+3
|
* ansification: remove ansidecl.h from makedocYaakov Selkowitz2018-01-172-176/+51
| | | | Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* ansification: fix makedoc for ANSI CYaakov Selkowitz2018-01-171-2/+2
| | | | Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* ansification: remove _HAVE_STDCYaakov Selkowitz2018-01-1737-444/+1
| | | | Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* ansification: remove _EXFUN, _EXFUN_NOTHROWYaakov Selkowitz2018-01-1798-1825/+1767
| | | | Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* ansification: remove _EXFNPTR, _EXPARMYaakov Selkowitz2018-01-1713-81/+77
| | | | Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* ansification: remove _DEFUNYaakov Selkowitz2018-01-17729-2605/+1338
| | | | Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* ansification: remove _VOLATILE, _SIGNEDYaakov Selkowitz2018-01-171-4/+0
| | | | Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* ansification: remove _VOIDYaakov Selkowitz2018-01-1741-106/+104
| | | | Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* ansification: remove _DEFUN_VOIDYaakov Selkowitz2018-01-1747-96/+94
| | | | Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* ansification: remove _CAST_VOIDYaakov Selkowitz2018-01-1717-38/+36
| | | | Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* ansification: remove _PTRYaakov Selkowitz2018-01-1772-230/+228
| | | | Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* ansification: remove _VOID_PTRYaakov Selkowitz2018-01-1718-148/+145
| | | | Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* ansification: remove _PARAMSYaakov Selkowitz2018-01-1741-457/+451
| | | | Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* ansification: remove _NOARGSYaakov Selkowitz2018-01-174-6/+4
| | | | Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* ansification: remove _DOTSYaakov Selkowitz2018-01-1725-45/+43
| | | | Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* ansification: remove _CONSTYaakov Selkowitz2018-01-17322-1147/+1145
| | | | Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* ansification: remove _ANDYaakov Selkowitz2018-01-17517-1773/+1771
| | | | Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* cygwin: add asm/bitsperlong.h, dummy asm/posix_types.h headersYaakov Selkowitz2018-01-173-0/+34
| | | | | | These changes are necessary for cross-compiling the Linux kernel. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* Make __always_inline macro compatible with glibcYaakov Selkowitz2018-01-161-1/+1
| | | | | | For example, this is used when cross-compiling the Linux kernel on Cygwin. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* cygwin: add LFS_CFLAGS etc. to confstr/getconfYaakov Selkowitz2018-01-163-1/+13
| | | | | | These are used, for instance, when cross-compiling the Linux kernel. Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
* newlib: fvprintf: fix get_arg for !_MB_CAPABLEIvan Grokhotkov2018-01-091-0/+2
| | | | | | | 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.
* fix incompatible pointer type for va_list in nano versions of printf and ↵Alexander Fedotov2018-01-082-5/+24
| | | | scanf for target like PowerPC
* RISC-V: Add gdb sim and newlib nano support. Fix a few misc minor bugs.Jim Wilson2017-12-264-6/+111
|
* RISC-V: Moved syscalls to separate files to fix aliasing problems.Jim Wilson2017-12-2637-450/+513
|
* RISC-V: Updated syscall to take 6 argumentsJim Wilson2017-12-262-22/+26
|
* RISC-V: Add nanosleep functionalityJim Wilson2017-12-263-1/+14
|
* RISC-V: Fix libnosys build.Jim Wilson2017-12-262-0/+4
|
* cleanup winsup/doc/etc.{postinstall,preremove}.cygwin-doc.sh quote test ↵Brian Inglis2017-12-222-7/+8
| | | | variables, correct utility paths, define site in preremove
* winsup/doc/etc.postinstall.cygwin-doc.sh fix shell variable typoBrian Inglis2017-12-221-1/+1
|