libc/newlib/libc
Corinna Vinschen 792e51b721 Add missing long double functions to Cygwin
This patch adds the long double functions missing in newlib to Cygwin.
Apart from some self-written additions (exp10l, finite{f,l}, isinf{f,l},
isnan{f,l}, pow10l) the files are taken from the Mingw-w64 math lib.
Minor changes were required, e.g. substitue _WIN64 with __x86_64__ and
fixing __FLT_RPT_DOMAIN/__FLT_RPT_ERANGE for Cygwin.

Cygwin:
	* math: New subdir with math functions.
	* Makefile.in (VPATH): Add math subdir.
	(MATH_OFILES): List of object files collected from building files in
	math subdir.
	(DLL_OFILES): Add $(MATH_OFILES).
	${CURDIR}/libm.a: Add $(MATH_OFILES) to build.
	* common.din: Add new functions from math subdir.
	* i686.din: Align to new math subdir.  Remove functions now commonly
	available.
	* x86_64.din: Ditto.
	* math.h: math.h wrapper to define mingw structs used in some files in
	math subdir.
	* include/cygwin/version.h: Bump API minor version.

newlib:
	* libc/include/complex.h: Add prototypes for complex long double
	functions.  Only define for Cygwin.
	* libc/include/math.h: Additionally enable prototypes of long double
	functions for Cygwin.  Add Cygwin-only prototypes for dreml, sincosl,
	exp10l and pow10l.  Explain why we don't add them to newlib.
	* libc/include/tgmath.h: Enable long double handling on Cygwin.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2016-03-29 14:43:55 +02:00
..
argz Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
ctype Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
errno Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
iconv Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
include Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
locale Fix coverity CID 143502: Null pointer dereference 2016-03-24 10:06:50 +01:00
machine Add simple versions of random() and srandom() 2016-03-28 22:39:50 -05:00
misc Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
posix Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
reent Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
search Feature test macros overhaul: stdlib.h 2016-03-17 21:09:06 -05:00
signal Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
stdio Feature test macros overhaul: stdio.h 2016-03-17 21:09:04 -05:00
stdio64 Fix compile with GCC 5 -Werror 2016-02-12 10:16:06 -06:00
stdlib Add simple versions of random() and srandom() 2016-03-28 22:39:50 -05:00
string Add timingsafe_memcmp() 2016-03-18 12:33:40 +01:00
sys sparc64: move struct timeval to <sys/_timeval.h> 2016-03-18 15:29:13 -05:00
syscalls Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
time Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
unix Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
xdr Move duplicated documentation rules to Makefile.shared 2015-11-02 18:02:39 -05:00
Makefile.am 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org> 2011-01-05 17:18:16 +00:00
Makefile.in 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
aclocal.m4 Fix up errors in regenerated files for 2.3.0 release. 2016-01-04 12:57:31 -05:00
configure Fix up errors in regenerated files for 2.3.0 release. 2016-01-04 12:57:31 -05:00
configure.in 2014-07-04 Bin Cheng <bin.cheng@arm.com> 2014-07-04 17:21:45 +00:00
libc.texinfo Fix newlib texinfo source so 'info libc' and 'info libm' work 2015-03-16 15:02:22 +00:00
saber import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00
sys.tex Don't include stdio64 functions in reentrant syscalls menu when not bulding stdio64. 2015-08-03 09:54:33 +01:00