newlib/winsup/cygwin/include
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
..
acl Implement POSIX.1e ACL functions 2016-03-08 13:56:40 +01:00
arpa Remove spurious execute permissions from some Cygwin source and text files 2015-10-27 16:10:37 +00:00
asm Fix FIONBIO comments 2016-03-24 16:12:28 +01:00
attr * fhandler_disk_file.cc (fhandler_disk_file::fgetxattr): Remove unused 2008-02-11 19:03:36 +00:00
bits * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
cygwin Add missing long double functions to Cygwin 2016-03-29 14:43:55 +02:00
machine Allow machine-dependent arc4 locking 2016-03-20 21:30:08 +01:00
net Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
netinet Drop usage of old-age BSD types in generically used Cygwin headers 2016-03-24 15:55:25 +01:00
sys Fix FIONBIO comments 2016-03-24 16:12:28 +01:00
a.out.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
byteswap.h Cygwin: define byteswap.h inlines as macros 2016-03-17 21:09:23 -05:00
dlfcn.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
elf.h * include/elf.h: Update from FreeBSD. 2012-06-06 04:45:48 +00:00
endian.h Feature test macros overhaul: Cygwin headers 2016-03-17 21:09:22 -05:00
err.h * include/err.h: Fix loss of semicolons in previous patch. 2011-02-02 15:14:46 +00:00
error.h * include/error.h (error_message_count): Declare as dllimport. 2013-02-21 03:15:47 +00:00
fcntl.h * include/fcntl.h: Move all open flags (except O_NDELAY) to newlib's 2014-11-25 11:42:20 +00:00
features.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
fenv.h Feature test macros overhaul: Cygwin headers 2016-03-17 21:09:22 -05:00
fnmatch.h Feature test macros overhaul: fnmatch.h 2016-03-17 21:08:54 -05:00
fts.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
ftw.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
getopt.h * include/getopt.h (getopt_long_only): Declare. 2006-01-09 12:41:54 +00:00
glob.h Feature test macros overhaul: Cygwin headers 2016-03-17 21:09:22 -05:00
icmp.h
ifaddrs.h getifaddrs: Return pointer to extended interface info in ifa_data member 2016-03-10 18:00:00 +01:00
io.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
lastlog.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
limits.h Feature test macros overhaul: limits.h 2016-03-17 21:08:57 -05:00
mapi.h
memory.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
mntent.h * Merge in cygwin-64bit-branch. 2013-04-23 09:44:36 +00:00
monetary.h * Makefile.in (DLL_OFILES): Add nlsfunc.o and strfmon.o. 2010-01-22 22:31:31 +00:00
mqueue.h * posix_ipc.cc (mq_open): Avoid compiler warning. Initialize mqhdr 2007-02-15 17:49:25 +00:00
netdb.h Drop usage of old-age BSD types in generically used Cygwin headers 2016-03-24 15:55:25 +01:00
paths.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
poll.h
process.h * include/process.h: Move here from include/cygwin subdir. 2012-02-07 17:15:07 +00:00
pthread.h POSIX barrier implementation, take 3 2016-02-13 16:03:15 +01:00
pty.h Make pty.h match recent glibc. 2009-12-26 06:20:56 +00:00
regex.h * include/regex.h: Include _ansi.h to avoid missing out on preprocessor 2010-04-27 15:18:14 +00:00
resolv.h Remove spurious execute permissions from some Cygwin source and text files 2015-10-27 16:10:37 +00:00
search.h * include/search.h: Reinstate node_t definition. 2007-06-17 00:31:27 +00:00
semaphore.h * cygwin.din (sem_unlink): Export. 2007-02-20 15:48:04 +00:00
sysexits.h
syslog.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
termio.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
tzfile.h Throughout, update copyrights to reflect dates which correspond to main-branch 2013-01-21 04:38:31 +00:00
ucontext.h Implement getcontext, setcontext, makecontext, swapcontext 2015-07-17 14:31:12 +02:00
utmpx.h Convert utmp{x}name to int, return useful value. Define _PATH_UTMPX 2016-01-07 15:40:40 +01:00
wait.h * include/wait.h: New file. 2008-04-24 08:46:41 +00:00