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/winsup
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2016-03-29 18:39:17 +0300
committerCorinna Vinschen <corinna@vinschen.de>2016-03-29 18:39:17 +0300
commita638b8580b04ecaafb4150eff9101cc82e5b7042 (patch)
tree4aca2dbcdfe9ca1936abb6f824639f67f2b83538 /winsup
parent63e4f1291cc9a5237575d1c89577c477dbdf1ff8 (diff)
Add missing nanl
* Makefile.in (MATH_OFILES): Add nanl.o. * common.din (nanl): Export. * math/nanl.c: New file. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/Makefile.in1
-rw-r--r--winsup/cygwin/common.din1
-rw-r--r--winsup/cygwin/math/nanl.c5
3 files changed, 7 insertions, 0 deletions
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index bcfaa2f55..bd24a96a1 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -220,6 +220,7 @@ MATH_OFILES:= \
lrintl.o \
lroundl.o \
modfl.o \
+ nanl.o \
nearbyint.o \
nearbyintf.o \
nearbyintl.o \
diff --git a/winsup/cygwin/common.din b/winsup/cygwin/common.din
index c2f5f0fd4..2ae3c81d3 100644
--- a/winsup/cygwin/common.din
+++ b/winsup/cygwin/common.din
@@ -894,6 +894,7 @@ munlock SIGFE
munmap SIGFE
nan NOSIGFE
nanf NOSIGFE
+nanl NOSIGFE
nanosleep SIGFE
nearbyint NOSIGFE
nearbyintf NOSIGFE
diff --git a/winsup/cygwin/math/nanl.c b/winsup/cygwin/math/nanl.c
new file mode 100644
index 000000000..f936b31cd
--- /dev/null
+++ b/winsup/cygwin/math/nanl.c
@@ -0,0 +1,5 @@
+long double
+nanl (const char *tagp)
+{
+ return __builtin_nanl ("");
+}