softmath: Add acosl
diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am
index d3db6f0..c1e3532 100644
--- a/mingw-w64-crt/Makefile.am
+++ b/mingw-w64-crt/Makefile.am
@@ -227,7 +227,6 @@
   math/nearbyint.S      math/nearbyintf.S  math/nearbyintl.S     \
   math/remquo.S         math/remquof.S     math/remquol.S        \
   math/sinl_internal.S  math/tanl.S        math/trunc.S          math/truncf.S        \
-  math/acosl.c          \
   math/atan2l.c         \
   math/atanl.c          math/cbrt.c        \
   math/cbrtf.c          math/cbrtl.c       math/cephes_emath.c   math/copysign.c      math/copysignf.c     \
@@ -296,45 +295,46 @@
 
 # these only go into the 64 bit version:
 src_libmingwex64=\
-  math/acosf.c              math/acosh.c              math/acoshf.c             math/acoshl.c             math/asinf.c              \
-  math/asinh.c              math/asinl.c              math/asinhf.c             math/asinhl.c             math/atan2f.c             \
-  math/atanf.c              math/atanh.c              math/atanhf.c             math/atanhl.c             math/cos.c                \
-  math/cosf.c               math/cossin.c             math/exp.c                math/expl.c               math/exp2.S               \
-  math/exp2f.S              math/exp2l.S              math/expm1.c              math/expm1f.c             math/expm1l.c             \
-  math/fmod.c               math/fmodf.c              math/fmodl.c              math/ilogb.S              math/ilogbf.S             \
-  math/ilogbl.S             math/ldexp.c              math/ldexpl.c             math/log1p.S              math/log1pf.S             \
-  math/log1pl.S             math/log2.S               math/log2f.S              math/log2l.S              math/logb.c               \
-  math/logbf.c              math/logbl.c              math/pow.c                math/powl.c               math/remainder.S          \
-  math/remainderf.S         math/remainderl.S         math/scalbn.S             math/scalbnf.S            math/scalbnl.S            \
-  math/sin.c                math/sinf.c               math/tanf.c
+  math/acosf.c              math/acosh.c              math/acosl.c              math/acoshf.c             math/acoshl.c             \
+  math/asinf.c              math/asinh.c              math/asinl.c              math/asinhf.c             math/asinhl.c             \
+  math/atan2f.c             math/atanf.c              math/atanh.c              math/atanhf.c             math/atanhl.c             \
+  math/cos.c                math/cosf.c               math/cossin.c             math/exp.c                math/expl.c               \
+  math/exp2.S               math/exp2f.S              math/exp2l.S              math/expm1.c              math/expm1f.c             \
+  math/expm1l.c             math/fmod.c               math/fmodf.c              math/fmodl.c              math/ilogb.S              \
+  math/ilogbf.S             math/ilogbl.S             math/ldexp.c              math/ldexpl.c             math/log1p.S              \
+  math/log1pf.S             math/log1pl.S             math/log2.S               math/log2f.S              math/log2l.S              \
+  math/logb.c               math/logbf.c              math/logbl.c              math/pow.c                math/powl.c               \
+  math/remainder.S          math/remainderf.S         math/remainderl.S         math/scalbn.S             math/scalbnf.S            \
+  math/scalbnl.S            math/sin.c                math/sinf.c               math/tanf.c
 
 # these only go into the 32 bit version:
 src_libmingwex32=\
-  math/acosf.c              math/acosh.c              math/acoshf.c             math/acoshl.c             math/asinf.c              \
-  math/asinh.c              math/asinl.c              math/asinhf.c             math/asinhl.c             math/atan2f.c             \
-  math/atanf.c              math/atanh.c              math/atanhf.c             math/atanhl.c             math/cos.c                \
-  math/cosf.c               math/cossin.c             math/exp.c                math/expl.c               math/exp2.S               \
-  math/exp2f.S              math/exp2l.S              math/expm1.c              math/expm1f.c             math/expm1l.c             \
-  math/fmod.c               math/fmodf.c              math/fmodl.c              math/ilogb.S              math/ilogbf.S             \
-  math/ilogbl.S             math/ldexp.c              math/ldexpl.c             math/log1p.S              math/log1pf.S             \
-  math/log1pl.S             math/log2.S               math/log2f.S              math/log2l.S              math/logb.c               \
-  math/logbf.c              math/logbl.c              math/pow.c                math/powl.c               math/remainder.S          \
-  math/remainderf.S         math/remainderl.S         math/scalbn.S             math/scalbnf.S            math/scalbnl.S            \
-  math/sin.c                math/sinf.c               math/tanf.c
+  math/acosf.c              math/acosh.c              math/acosl.c              math/acoshf.c             math/acoshl.c             \
+  math/asinf.c              math/asinh.c              math/asinl.c              math/asinhf.c             math/asinhl.c             \
+  math/atan2f.c             math/atanf.c              math/atanh.c              math/atanhf.c             math/atanhl.c             \
+  math/cos.c                math/cosf.c               math/cossin.c             math/exp.c                math/expl.c               \
+  math/exp2.S               math/exp2f.S              math/exp2l.S              math/expm1.c              math/expm1f.c             \
+  math/expm1l.c             math/fmod.c               math/fmodf.c              math/fmodl.c              math/ilogb.S              \
+  math/ilogbf.S             math/ilogbl.S             math/ldexp.c              math/ldexpl.c             math/log1p.S              \
+  math/log1pf.S             math/log1pl.S             math/log2.S               math/log2f.S              math/log2l.S              \
+  math/logb.c               math/logbf.c              math/logbl.c              math/pow.c                math/powl.c               \
+  math/remainder.S          math/remainderf.S         math/remainderl.S         math/scalbn.S             math/scalbnf.S            \
+  math/scalbnl.S            math/sin.c                math/sinf.c               math/tanf.c
 
 # these only go into the ARM32 version:
 src_libmingwexarm32=\
   math/softmath/e_fmod.c    math/softmath/e_fmodf.c   math/softmath/e_powf.c    \
-  math/softmath/acosf.c     math/softmath/acosh.c     math/softmath/acoshf.c    math/softmath/acoshl.c    math/softmath/asinf.c     \
-  math/softmath/asinh.c     math/softmath/asinl.c     math/softmath/asinhf.c    math/softmath/asinhl.c    math/softmath/atan2f.c    \
-  math/softmath/atanf.c     math/softmath/atanh.c     math/softmath/atanhf.c    math/softmath/atanhl.c    math/softmath/cos.c       \
-  math/softmath/cosf.c      math/softmath/exp.c       math/softmath/expl.c      math/softmath/exp2.c      math/softmath/exp2f.c     \
-  math/softmath/exp2l.c     math/softmath/expm1.c     math/softmath/expm1f.c    math/softmath/expm1l.c    math/softmath/fmod.c      \
-  math/softmath/fmodf.c     math/softmath/fmodl.c     math/softmath/ilogb.c     math/softmath/ilogbf.c    math/softmath/ilogbl.c    \
-  math/softmath/ldexp.c     math/softmath/ldexpl.c    math/softmath/log1p.c     math/softmath/log1pf.c    math/softmath/log1pl.c    \
-  math/softmath/log2.c      math/softmath/log2f.c     math/softmath/log2l.c     math/softmath/logb.c      math/softmath/logbf.c     \
-  math/softmath/logbl.c     math/softmath/pow.c       math/softmath/powl.c      math/softmath/remainder.c math/softmath/remainderf.c \
-  math/softmath/remainderl.c math/softmath/scalbn.c   math/softmath/scalbnf.c   math/softmath/scalbnl.c   math/softmath/sin.c       \
+  math/softmath/acosf.c     math/softmath/acosh.c     math/softmath/acosl.c     math/softmath/acoshf.c    math/softmath/acoshl.c    \
+  math/softmath/asinf.c     math/softmath/asinh.c     math/softmath/asinl.c     math/softmath/asinhf.c    math/softmath/asinhl.c    \
+  math/softmath/atan2f.c    math/softmath/atanf.c     math/softmath/atanh.c     math/softmath/atanhf.c    math/softmath/atanhl.c    \
+  math/softmath/cos.c       math/softmath/cosf.c      math/softmath/exp.c       math/softmath/expl.c      math/softmath/exp2.c      \
+  math/softmath/exp2f.c     math/softmath/exp2l.c     math/softmath/expm1.c     math/softmath/expm1f.c    math/softmath/expm1l.c    \
+  math/softmath/fmod.c      math/softmath/fmodf.c     math/softmath/fmodl.c     math/softmath/ilogb.c     math/softmath/ilogbf.c    \
+  math/softmath/ilogbl.c    math/softmath/ldexp.c     math/softmath/ldexpl.c    math/softmath/log1p.c     math/softmath/log1pf.c    \
+  math/softmath/log1pl.c    math/softmath/log2.c      math/softmath/log2f.c     math/softmath/log2l.c     math/softmath/logb.c      \
+  math/softmath/logbf.c     math/softmath/logbl.c     math/softmath/pow.c       math/softmath/powl.c      \
+  math/softmath/remainder.c math/softmath/remainderf.c math/softmath/remainderl.c \
+  math/softmath/scalbn.c    math/softmath/scalbnf.c   math/softmath/scalbnl.c   math/softmath/sin.c       \
   math/softmath/sincos.c    math/softmath/sincosf.c   math/softmath/sincosl.c   math/softmath/sinf.c      math/softmath/tanf.c
 
 
diff --git a/mingw-w64-crt/Makefile.in b/mingw-w64-crt/Makefile.in
index 639f294..f62ae8c 100644
--- a/mingw-w64-crt/Makefile.in
+++ b/mingw-w64-crt/Makefile.in
@@ -577,8 +577,8 @@
 	math/nearbyint.S math/nearbyintf.S math/nearbyintl.S \
 	math/remquo.S math/remquof.S math/remquol.S \
 	math/sinl_internal.S math/tanl.S math/trunc.S math/truncf.S \
-	math/acosl.c math/atan2l.c math/atanl.c math/cbrt.c \
-	math/cbrtf.c math/cbrtl.c math/cephes_emath.c math/copysign.c \
+	math/atan2l.c math/atanl.c math/cbrt.c math/cbrtf.c \
+	math/cbrtl.c math/cephes_emath.c math/copysign.c \
 	math/copysignf.c math/coshf.c math/coshl.c math/cosl.c \
 	math/erfl.c math/expf.c math/fabs.c math/fabsf.c math/fabsl.c \
 	math/fdim.c math/fdimf.c math/fdiml.c math/fmal.c math/fmax.c \
@@ -661,7 +661,7 @@
 	stdio/vscanf.c stdio/vsnprintf.c stdio/vsnprintf_s.c \
 	stdio/vsnwprintf.c stdio/vsscanf.c stdio/vswscanf.c \
 	stdio/vwscanf.c stdio/wtoll.c stdio/mingw_asprintf.c \
-	stdio/mingw_vasprintf.c math/acosf.c math/acosh.c \
+	stdio/mingw_vasprintf.c math/acosf.c math/acosh.c math/acosl.c \
 	math/acoshf.c math/acoshl.c math/asinf.c math/asinh.c \
 	math/asinl.c math/asinhf.c math/asinhl.c math/atan2f.c \
 	math/atanf.c math/atanh.c math/atanhf.c math/atanhl.c \
@@ -775,7 +775,6 @@
 	math/lib32_libmingwex_a-tanl.$(OBJEXT) \
 	math/lib32_libmingwex_a-trunc.$(OBJEXT) \
 	math/lib32_libmingwex_a-truncf.$(OBJEXT) \
-	math/lib32_libmingwex_a-acosl.$(OBJEXT) \
 	math/lib32_libmingwex_a-atan2l.$(OBJEXT) \
 	math/lib32_libmingwex_a-atanl.$(OBJEXT) \
 	math/lib32_libmingwex_a-cbrt.$(OBJEXT) \
@@ -1042,6 +1041,7 @@
 	stdio/lib32_libmingwex_a-mingw_vasprintf.$(OBJEXT)
 am__objects_17 = math/lib32_libmingwex_a-acosf.$(OBJEXT) \
 	math/lib32_libmingwex_a-acosh.$(OBJEXT) \
+	math/lib32_libmingwex_a-acosl.$(OBJEXT) \
 	math/lib32_libmingwex_a-acoshf.$(OBJEXT) \
 	math/lib32_libmingwex_a-acoshl.$(OBJEXT) \
 	math/lib32_libmingwex_a-asinf.$(OBJEXT) \
@@ -1716,8 +1716,8 @@
 	math/nearbyint.S math/nearbyintf.S math/nearbyintl.S \
 	math/remquo.S math/remquof.S math/remquol.S \
 	math/sinl_internal.S math/tanl.S math/trunc.S math/truncf.S \
-	math/acosl.c math/atan2l.c math/atanl.c math/cbrt.c \
-	math/cbrtf.c math/cbrtl.c math/cephes_emath.c math/copysign.c \
+	math/atan2l.c math/atanl.c math/cbrt.c math/cbrtf.c \
+	math/cbrtl.c math/cephes_emath.c math/copysign.c \
 	math/copysignf.c math/coshf.c math/coshl.c math/cosl.c \
 	math/erfl.c math/expf.c math/fabs.c math/fabsf.c math/fabsl.c \
 	math/fdim.c math/fdimf.c math/fdiml.c math/fmal.c math/fmax.c \
@@ -1800,7 +1800,7 @@
 	stdio/vscanf.c stdio/vsnprintf.c stdio/vsnprintf_s.c \
 	stdio/vsnwprintf.c stdio/vsscanf.c stdio/vswscanf.c \
 	stdio/vwscanf.c stdio/wtoll.c stdio/mingw_asprintf.c \
-	stdio/mingw_vasprintf.c math/acosf.c math/acosh.c \
+	stdio/mingw_vasprintf.c math/acosf.c math/acosh.c math/acosl.c \
 	math/acoshf.c math/acoshl.c math/asinf.c math/asinh.c \
 	math/asinl.c math/asinhf.c math/asinhl.c math/atan2f.c \
 	math/atanf.c math/atanh.c math/atanhf.c math/atanhl.c \
@@ -1914,7 +1914,6 @@
 	math/lib64_libmingwex_a-tanl.$(OBJEXT) \
 	math/lib64_libmingwex_a-trunc.$(OBJEXT) \
 	math/lib64_libmingwex_a-truncf.$(OBJEXT) \
-	math/lib64_libmingwex_a-acosl.$(OBJEXT) \
 	math/lib64_libmingwex_a-atan2l.$(OBJEXT) \
 	math/lib64_libmingwex_a-atanl.$(OBJEXT) \
 	math/lib64_libmingwex_a-cbrt.$(OBJEXT) \
@@ -2181,6 +2180,7 @@
 	stdio/lib64_libmingwex_a-mingw_vasprintf.$(OBJEXT)
 am__objects_50 = math/lib64_libmingwex_a-acosf.$(OBJEXT) \
 	math/lib64_libmingwex_a-acosh.$(OBJEXT) \
+	math/lib64_libmingwex_a-acosl.$(OBJEXT) \
 	math/lib64_libmingwex_a-acoshf.$(OBJEXT) \
 	math/lib64_libmingwex_a-acoshl.$(OBJEXT) \
 	math/lib64_libmingwex_a-asinf.$(OBJEXT) \
@@ -2768,8 +2768,8 @@
 	math/nearbyint.S math/nearbyintf.S math/nearbyintl.S \
 	math/remquo.S math/remquof.S math/remquol.S \
 	math/sinl_internal.S math/tanl.S math/trunc.S math/truncf.S \
-	math/acosl.c math/atan2l.c math/atanl.c math/cbrt.c \
-	math/cbrtf.c math/cbrtl.c math/cephes_emath.c math/copysign.c \
+	math/atan2l.c math/atanl.c math/cbrt.c math/cbrtf.c \
+	math/cbrtl.c math/cephes_emath.c math/copysign.c \
 	math/copysignf.c math/coshf.c math/coshl.c math/cosl.c \
 	math/erfl.c math/expf.c math/fabs.c math/fabsf.c math/fabsl.c \
 	math/fdim.c math/fdimf.c math/fdiml.c math/fmal.c math/fmax.c \
@@ -2855,26 +2855,26 @@
 	stdio/mingw_vasprintf.c math/softmath/e_fmod.c \
 	math/softmath/e_fmodf.c math/softmath/e_powf.c \
 	math/softmath/acosf.c math/softmath/acosh.c \
-	math/softmath/acoshf.c math/softmath/acoshl.c \
-	math/softmath/asinf.c math/softmath/asinh.c \
-	math/softmath/asinl.c math/softmath/asinhf.c \
-	math/softmath/asinhl.c math/softmath/atan2f.c \
-	math/softmath/atanf.c math/softmath/atanh.c \
-	math/softmath/atanhf.c math/softmath/atanhl.c \
-	math/softmath/cos.c math/softmath/cosf.c math/softmath/exp.c \
-	math/softmath/expl.c math/softmath/exp2.c \
-	math/softmath/exp2f.c math/softmath/exp2l.c \
-	math/softmath/expm1.c math/softmath/expm1f.c \
-	math/softmath/expm1l.c math/softmath/fmod.c \
-	math/softmath/fmodf.c math/softmath/fmodl.c \
-	math/softmath/ilogb.c math/softmath/ilogbf.c \
-	math/softmath/ilogbl.c math/softmath/ldexp.c \
-	math/softmath/ldexpl.c math/softmath/log1p.c \
-	math/softmath/log1pf.c math/softmath/log1pl.c \
-	math/softmath/log2.c math/softmath/log2f.c \
-	math/softmath/log2l.c math/softmath/logb.c \
-	math/softmath/logbf.c math/softmath/logbl.c \
-	math/softmath/pow.c math/softmath/powl.c \
+	math/softmath/acosl.c math/softmath/acoshf.c \
+	math/softmath/acoshl.c math/softmath/asinf.c \
+	math/softmath/asinh.c math/softmath/asinl.c \
+	math/softmath/asinhf.c math/softmath/asinhl.c \
+	math/softmath/atan2f.c math/softmath/atanf.c \
+	math/softmath/atanh.c math/softmath/atanhf.c \
+	math/softmath/atanhl.c math/softmath/cos.c \
+	math/softmath/cosf.c math/softmath/exp.c math/softmath/expl.c \
+	math/softmath/exp2.c math/softmath/exp2f.c \
+	math/softmath/exp2l.c math/softmath/expm1.c \
+	math/softmath/expm1f.c math/softmath/expm1l.c \
+	math/softmath/fmod.c math/softmath/fmodf.c \
+	math/softmath/fmodl.c math/softmath/ilogb.c \
+	math/softmath/ilogbf.c math/softmath/ilogbl.c \
+	math/softmath/ldexp.c math/softmath/ldexpl.c \
+	math/softmath/log1p.c math/softmath/log1pf.c \
+	math/softmath/log1pl.c math/softmath/log2.c \
+	math/softmath/log2f.c math/softmath/log2l.c \
+	math/softmath/logb.c math/softmath/logbf.c \
+	math/softmath/logbl.c math/softmath/pow.c math/softmath/powl.c \
 	math/softmath/remainder.c math/softmath/remainderf.c \
 	math/softmath/remainderl.c math/softmath/scalbn.c \
 	math/softmath/scalbnf.c math/softmath/scalbnl.c \
@@ -2982,7 +2982,6 @@
 	math/libarm32_libmingwex_a-tanl.$(OBJEXT) \
 	math/libarm32_libmingwex_a-trunc.$(OBJEXT) \
 	math/libarm32_libmingwex_a-truncf.$(OBJEXT) \
-	math/libarm32_libmingwex_a-acosl.$(OBJEXT) \
 	math/libarm32_libmingwex_a-atan2l.$(OBJEXT) \
 	math/libarm32_libmingwex_a-atanl.$(OBJEXT) \
 	math/libarm32_libmingwex_a-cbrt.$(OBJEXT) \
@@ -3252,6 +3251,7 @@
 	math/softmath/libarm32_libmingwex_a-e_powf.$(OBJEXT) \
 	math/softmath/libarm32_libmingwex_a-acosf.$(OBJEXT) \
 	math/softmath/libarm32_libmingwex_a-acosh.$(OBJEXT) \
+	math/softmath/libarm32_libmingwex_a-acosl.$(OBJEXT) \
 	math/softmath/libarm32_libmingwex_a-acoshf.$(OBJEXT) \
 	math/softmath/libarm32_libmingwex_a-acoshl.$(OBJEXT) \
 	math/softmath/libarm32_libmingwex_a-asinf.$(OBJEXT) \
@@ -5124,7 +5124,6 @@
   math/nearbyint.S      math/nearbyintf.S  math/nearbyintl.S     \
   math/remquo.S         math/remquof.S     math/remquol.S        \
   math/sinl_internal.S  math/tanl.S        math/trunc.S          math/truncf.S        \
-  math/acosl.c          \
   math/atan2l.c         \
   math/atanl.c          math/cbrt.c        \
   math/cbrtf.c          math/cbrtl.c       math/cephes_emath.c   math/copysign.c      math/copysignf.c     \
@@ -5194,47 +5193,48 @@
 
 # these only go into the 64 bit version:
 src_libmingwex64 = \
-  math/acosf.c              math/acosh.c              math/acoshf.c             math/acoshl.c             math/asinf.c              \
-  math/asinh.c              math/asinl.c              math/asinhf.c             math/asinhl.c             math/atan2f.c             \
-  math/atanf.c              math/atanh.c              math/atanhf.c             math/atanhl.c             math/cos.c                \
-  math/cosf.c               math/cossin.c             math/exp.c                math/expl.c               math/exp2.S               \
-  math/exp2f.S              math/exp2l.S              math/expm1.c              math/expm1f.c             math/expm1l.c             \
-  math/fmod.c               math/fmodf.c              math/fmodl.c              math/ilogb.S              math/ilogbf.S             \
-  math/ilogbl.S             math/ldexp.c              math/ldexpl.c             math/log1p.S              math/log1pf.S             \
-  math/log1pl.S             math/log2.S               math/log2f.S              math/log2l.S              math/logb.c               \
-  math/logbf.c              math/logbl.c              math/pow.c                math/powl.c               math/remainder.S          \
-  math/remainderf.S         math/remainderl.S         math/scalbn.S             math/scalbnf.S            math/scalbnl.S            \
-  math/sin.c                math/sinf.c               math/tanf.c
+  math/acosf.c              math/acosh.c              math/acosl.c              math/acoshf.c             math/acoshl.c             \
+  math/asinf.c              math/asinh.c              math/asinl.c              math/asinhf.c             math/asinhl.c             \
+  math/atan2f.c             math/atanf.c              math/atanh.c              math/atanhf.c             math/atanhl.c             \
+  math/cos.c                math/cosf.c               math/cossin.c             math/exp.c                math/expl.c               \
+  math/exp2.S               math/exp2f.S              math/exp2l.S              math/expm1.c              math/expm1f.c             \
+  math/expm1l.c             math/fmod.c               math/fmodf.c              math/fmodl.c              math/ilogb.S              \
+  math/ilogbf.S             math/ilogbl.S             math/ldexp.c              math/ldexpl.c             math/log1p.S              \
+  math/log1pf.S             math/log1pl.S             math/log2.S               math/log2f.S              math/log2l.S              \
+  math/logb.c               math/logbf.c              math/logbl.c              math/pow.c                math/powl.c               \
+  math/remainder.S          math/remainderf.S         math/remainderl.S         math/scalbn.S             math/scalbnf.S            \
+  math/scalbnl.S            math/sin.c                math/sinf.c               math/tanf.c
 
 
 # these only go into the 32 bit version:
 src_libmingwex32 = \
-  math/acosf.c              math/acosh.c              math/acoshf.c             math/acoshl.c             math/asinf.c              \
-  math/asinh.c              math/asinl.c              math/asinhf.c             math/asinhl.c             math/atan2f.c             \
-  math/atanf.c              math/atanh.c              math/atanhf.c             math/atanhl.c             math/cos.c                \
-  math/cosf.c               math/cossin.c             math/exp.c                math/expl.c               math/exp2.S               \
-  math/exp2f.S              math/exp2l.S              math/expm1.c              math/expm1f.c             math/expm1l.c             \
-  math/fmod.c               math/fmodf.c              math/fmodl.c              math/ilogb.S              math/ilogbf.S             \
-  math/ilogbl.S             math/ldexp.c              math/ldexpl.c             math/log1p.S              math/log1pf.S             \
-  math/log1pl.S             math/log2.S               math/log2f.S              math/log2l.S              math/logb.c               \
-  math/logbf.c              math/logbl.c              math/pow.c                math/powl.c               math/remainder.S          \
-  math/remainderf.S         math/remainderl.S         math/scalbn.S             math/scalbnf.S            math/scalbnl.S            \
-  math/sin.c                math/sinf.c               math/tanf.c
+  math/acosf.c              math/acosh.c              math/acosl.c              math/acoshf.c             math/acoshl.c             \
+  math/asinf.c              math/asinh.c              math/asinl.c              math/asinhf.c             math/asinhl.c             \
+  math/atan2f.c             math/atanf.c              math/atanh.c              math/atanhf.c             math/atanhl.c             \
+  math/cos.c                math/cosf.c               math/cossin.c             math/exp.c                math/expl.c               \
+  math/exp2.S               math/exp2f.S              math/exp2l.S              math/expm1.c              math/expm1f.c             \
+  math/expm1l.c             math/fmod.c               math/fmodf.c              math/fmodl.c              math/ilogb.S              \
+  math/ilogbf.S             math/ilogbl.S             math/ldexp.c              math/ldexpl.c             math/log1p.S              \
+  math/log1pf.S             math/log1pl.S             math/log2.S               math/log2f.S              math/log2l.S              \
+  math/logb.c               math/logbf.c              math/logbl.c              math/pow.c                math/powl.c               \
+  math/remainder.S          math/remainderf.S         math/remainderl.S         math/scalbn.S             math/scalbnf.S            \
+  math/scalbnl.S            math/sin.c                math/sinf.c               math/tanf.c
 
 
 # these only go into the ARM32 version:
 src_libmingwexarm32 = \
   math/softmath/e_fmod.c    math/softmath/e_fmodf.c   math/softmath/e_powf.c    \
-  math/softmath/acosf.c     math/softmath/acosh.c     math/softmath/acoshf.c    math/softmath/acoshl.c    math/softmath/asinf.c     \
-  math/softmath/asinh.c     math/softmath/asinl.c     math/softmath/asinhf.c    math/softmath/asinhl.c    math/softmath/atan2f.c    \
-  math/softmath/atanf.c     math/softmath/atanh.c     math/softmath/atanhf.c    math/softmath/atanhl.c    math/softmath/cos.c       \
-  math/softmath/cosf.c      math/softmath/exp.c       math/softmath/expl.c      math/softmath/exp2.c      math/softmath/exp2f.c     \
-  math/softmath/exp2l.c     math/softmath/expm1.c     math/softmath/expm1f.c    math/softmath/expm1l.c    math/softmath/fmod.c      \
-  math/softmath/fmodf.c     math/softmath/fmodl.c     math/softmath/ilogb.c     math/softmath/ilogbf.c    math/softmath/ilogbl.c    \
-  math/softmath/ldexp.c     math/softmath/ldexpl.c    math/softmath/log1p.c     math/softmath/log1pf.c    math/softmath/log1pl.c    \
-  math/softmath/log2.c      math/softmath/log2f.c     math/softmath/log2l.c     math/softmath/logb.c      math/softmath/logbf.c     \
-  math/softmath/logbl.c     math/softmath/pow.c       math/softmath/powl.c      math/softmath/remainder.c math/softmath/remainderf.c \
-  math/softmath/remainderl.c math/softmath/scalbn.c   math/softmath/scalbnf.c   math/softmath/scalbnl.c   math/softmath/sin.c       \
+  math/softmath/acosf.c     math/softmath/acosh.c     math/softmath/acosl.c     math/softmath/acoshf.c    math/softmath/acoshl.c    \
+  math/softmath/asinf.c     math/softmath/asinh.c     math/softmath/asinl.c     math/softmath/asinhf.c    math/softmath/asinhl.c    \
+  math/softmath/atan2f.c    math/softmath/atanf.c     math/softmath/atanh.c     math/softmath/atanhf.c    math/softmath/atanhl.c    \
+  math/softmath/cos.c       math/softmath/cosf.c      math/softmath/exp.c       math/softmath/expl.c      math/softmath/exp2.c      \
+  math/softmath/exp2f.c     math/softmath/exp2l.c     math/softmath/expm1.c     math/softmath/expm1f.c    math/softmath/expm1l.c    \
+  math/softmath/fmod.c      math/softmath/fmodf.c     math/softmath/fmodl.c     math/softmath/ilogb.c     math/softmath/ilogbf.c    \
+  math/softmath/ilogbl.c    math/softmath/ldexp.c     math/softmath/ldexpl.c    math/softmath/log1p.c     math/softmath/log1pf.c    \
+  math/softmath/log1pl.c    math/softmath/log2.c      math/softmath/log2f.c     math/softmath/log2l.c     math/softmath/logb.c      \
+  math/softmath/logbf.c     math/softmath/logbl.c     math/softmath/pow.c       math/softmath/powl.c      \
+  math/softmath/remainder.c math/softmath/remainderf.c math/softmath/remainderl.c \
+  math/softmath/scalbn.c    math/softmath/scalbnf.c   math/softmath/scalbnl.c   math/softmath/sin.c       \
   math/softmath/sincos.c    math/softmath/sincosf.c   math/softmath/sincosl.c   math/softmath/sinf.c      math/softmath/tanf.c
 
 
@@ -8327,8 +8327,6 @@
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib32_libmingwex_a-truncf.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
-math/lib32_libmingwex_a-acosl.$(OBJEXT): math/$(am__dirstamp) \
-	math/$(DEPDIR)/$(am__dirstamp)
 math/lib32_libmingwex_a-atan2l.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib32_libmingwex_a-atanl.$(OBJEXT): math/$(am__dirstamp) \
@@ -8873,6 +8871,8 @@
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib32_libmingwex_a-acosh.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
+math/lib32_libmingwex_a-acosl.$(OBJEXT): math/$(am__dirstamp) \
+	math/$(DEPDIR)/$(am__dirstamp)
 math/lib32_libmingwex_a-acoshf.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib32_libmingwex_a-acoshl.$(OBJEXT): math/$(am__dirstamp) \
@@ -9957,8 +9957,6 @@
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib64_libmingwex_a-truncf.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
-math/lib64_libmingwex_a-acosl.$(OBJEXT): math/$(am__dirstamp) \
-	math/$(DEPDIR)/$(am__dirstamp)
 math/lib64_libmingwex_a-atan2l.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib64_libmingwex_a-atanl.$(OBJEXT): math/$(am__dirstamp) \
@@ -10491,6 +10489,8 @@
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib64_libmingwex_a-acosh.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
+math/lib64_libmingwex_a-acosl.$(OBJEXT): math/$(am__dirstamp) \
+	math/$(DEPDIR)/$(am__dirstamp)
 math/lib64_libmingwex_a-acoshf.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
 math/lib64_libmingwex_a-acoshl.$(OBJEXT): math/$(am__dirstamp) \
@@ -11450,8 +11450,6 @@
 	math/$(DEPDIR)/$(am__dirstamp)
 math/libarm32_libmingwex_a-truncf.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
-math/libarm32_libmingwex_a-acosl.$(OBJEXT): math/$(am__dirstamp) \
-	math/$(DEPDIR)/$(am__dirstamp)
 math/libarm32_libmingwex_a-atan2l.$(OBJEXT): math/$(am__dirstamp) \
 	math/$(DEPDIR)/$(am__dirstamp)
 math/libarm32_libmingwex_a-atanl.$(OBJEXT): math/$(am__dirstamp) \
@@ -12001,6 +11999,9 @@
 math/softmath/libarm32_libmingwex_a-acosh.$(OBJEXT):  \
 	math/softmath/$(am__dirstamp) \
 	math/softmath/$(DEPDIR)/$(am__dirstamp)
+math/softmath/libarm32_libmingwex_a-acosl.$(OBJEXT):  \
+	math/softmath/$(am__dirstamp) \
+	math/softmath/$(DEPDIR)/$(am__dirstamp)
 math/softmath/libarm32_libmingwex_a-acoshf.$(OBJEXT):  \
 	math/softmath/$(am__dirstamp) \
 	math/softmath/$(DEPDIR)/$(am__dirstamp)
@@ -14678,7 +14679,6 @@
 @AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/lib64_libmingwex_a-truncl.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-_chgsignl.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-abs64.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-acosl.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-atan2l.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-atanl.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/$(DEPDIR)/libarm32_libmingwex_a-cbrt.Po@am__quote@
@@ -14836,6 +14836,7 @@
 @AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-acosh.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-acoshf.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-acoshl.Po@am__quote@
+@AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-acosl.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-asinf.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-asinh.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@math/softmath/$(DEPDIR)/libarm32_libmingwex_a-asinhf.Po@am__quote@
@@ -20367,20 +20368,6 @@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gdtoa/lib32_libmingwex_a-ulp.obj `if test -f 'gdtoa/ulp.c'; then $(CYGPATH_W) 'gdtoa/ulp.c'; else $(CYGPATH_W) '$(srcdir)/gdtoa/ulp.c'; fi`
 
-math/lib32_libmingwex_a-acosl.o: math/acosl.c
-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib32_libmingwex_a-acosl.o -MD -MP -MF math/$(DEPDIR)/lib32_libmingwex_a-acosl.Tpo -c -o math/lib32_libmingwex_a-acosl.o `test -f 'math/acosl.c' || echo '$(srcdir)/'`math/acosl.c
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib32_libmingwex_a-acosl.Tpo math/$(DEPDIR)/lib32_libmingwex_a-acosl.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/acosl.c' object='math/lib32_libmingwex_a-acosl.o' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib32_libmingwex_a-acosl.o `test -f 'math/acosl.c' || echo '$(srcdir)/'`math/acosl.c
-
-math/lib32_libmingwex_a-acosl.obj: math/acosl.c
-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib32_libmingwex_a-acosl.obj -MD -MP -MF math/$(DEPDIR)/lib32_libmingwex_a-acosl.Tpo -c -o math/lib32_libmingwex_a-acosl.obj `if test -f 'math/acosl.c'; then $(CYGPATH_W) 'math/acosl.c'; else $(CYGPATH_W) '$(srcdir)/math/acosl.c'; fi`
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib32_libmingwex_a-acosl.Tpo math/$(DEPDIR)/lib32_libmingwex_a-acosl.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/acosl.c' object='math/lib32_libmingwex_a-acosl.obj' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib32_libmingwex_a-acosl.obj `if test -f 'math/acosl.c'; then $(CYGPATH_W) 'math/acosl.c'; else $(CYGPATH_W) '$(srcdir)/math/acosl.c'; fi`
-
 math/lib32_libmingwex_a-atan2l.o: math/atan2l.c
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib32_libmingwex_a-atan2l.o -MD -MP -MF math/$(DEPDIR)/lib32_libmingwex_a-atan2l.Tpo -c -o math/lib32_libmingwex_a-atan2l.o `test -f 'math/atan2l.c' || echo '$(srcdir)/'`math/atan2l.c
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib32_libmingwex_a-atan2l.Tpo math/$(DEPDIR)/lib32_libmingwex_a-atan2l.Po
@@ -24007,6 +23994,20 @@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib32_libmingwex_a-acosh.obj `if test -f 'math/acosh.c'; then $(CYGPATH_W) 'math/acosh.c'; else $(CYGPATH_W) '$(srcdir)/math/acosh.c'; fi`
 
+math/lib32_libmingwex_a-acosl.o: math/acosl.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib32_libmingwex_a-acosl.o -MD -MP -MF math/$(DEPDIR)/lib32_libmingwex_a-acosl.Tpo -c -o math/lib32_libmingwex_a-acosl.o `test -f 'math/acosl.c' || echo '$(srcdir)/'`math/acosl.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib32_libmingwex_a-acosl.Tpo math/$(DEPDIR)/lib32_libmingwex_a-acosl.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/acosl.c' object='math/lib32_libmingwex_a-acosl.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib32_libmingwex_a-acosl.o `test -f 'math/acosl.c' || echo '$(srcdir)/'`math/acosl.c
+
+math/lib32_libmingwex_a-acosl.obj: math/acosl.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib32_libmingwex_a-acosl.obj -MD -MP -MF math/$(DEPDIR)/lib32_libmingwex_a-acosl.Tpo -c -o math/lib32_libmingwex_a-acosl.obj `if test -f 'math/acosl.c'; then $(CYGPATH_W) 'math/acosl.c'; else $(CYGPATH_W) '$(srcdir)/math/acosl.c'; fi`
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib32_libmingwex_a-acosl.Tpo math/$(DEPDIR)/lib32_libmingwex_a-acosl.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/acosl.c' object='math/lib32_libmingwex_a-acosl.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib32_libmingwex_a-acosl.obj `if test -f 'math/acosl.c'; then $(CYGPATH_W) 'math/acosl.c'; else $(CYGPATH_W) '$(srcdir)/math/acosl.c'; fi`
+
 math/lib32_libmingwex_a-acoshf.o: math/acoshf.c
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib32_libmingwex_a-acoshf.o -MD -MP -MF math/$(DEPDIR)/lib32_libmingwex_a-acoshf.Tpo -c -o math/lib32_libmingwex_a-acoshf.o `test -f 'math/acoshf.c' || echo '$(srcdir)/'`math/acoshf.c
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib32_libmingwex_a-acoshf.Tpo math/$(DEPDIR)/lib32_libmingwex_a-acoshf.Po
@@ -29509,20 +29510,6 @@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gdtoa/lib64_libmingwex_a-ulp.obj `if test -f 'gdtoa/ulp.c'; then $(CYGPATH_W) 'gdtoa/ulp.c'; else $(CYGPATH_W) '$(srcdir)/gdtoa/ulp.c'; fi`
 
-math/lib64_libmingwex_a-acosl.o: math/acosl.c
-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib64_libmingwex_a-acosl.o -MD -MP -MF math/$(DEPDIR)/lib64_libmingwex_a-acosl.Tpo -c -o math/lib64_libmingwex_a-acosl.o `test -f 'math/acosl.c' || echo '$(srcdir)/'`math/acosl.c
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib64_libmingwex_a-acosl.Tpo math/$(DEPDIR)/lib64_libmingwex_a-acosl.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/acosl.c' object='math/lib64_libmingwex_a-acosl.o' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib64_libmingwex_a-acosl.o `test -f 'math/acosl.c' || echo '$(srcdir)/'`math/acosl.c
-
-math/lib64_libmingwex_a-acosl.obj: math/acosl.c
-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib64_libmingwex_a-acosl.obj -MD -MP -MF math/$(DEPDIR)/lib64_libmingwex_a-acosl.Tpo -c -o math/lib64_libmingwex_a-acosl.obj `if test -f 'math/acosl.c'; then $(CYGPATH_W) 'math/acosl.c'; else $(CYGPATH_W) '$(srcdir)/math/acosl.c'; fi`
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib64_libmingwex_a-acosl.Tpo math/$(DEPDIR)/lib64_libmingwex_a-acosl.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/acosl.c' object='math/lib64_libmingwex_a-acosl.obj' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib64_libmingwex_a-acosl.obj `if test -f 'math/acosl.c'; then $(CYGPATH_W) 'math/acosl.c'; else $(CYGPATH_W) '$(srcdir)/math/acosl.c'; fi`
-
 math/lib64_libmingwex_a-atan2l.o: math/atan2l.c
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib64_libmingwex_a-atan2l.o -MD -MP -MF math/$(DEPDIR)/lib64_libmingwex_a-atan2l.Tpo -c -o math/lib64_libmingwex_a-atan2l.o `test -f 'math/atan2l.c' || echo '$(srcdir)/'`math/atan2l.c
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib64_libmingwex_a-atan2l.Tpo math/$(DEPDIR)/lib64_libmingwex_a-atan2l.Po
@@ -33149,6 +33136,20 @@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib64_libmingwex_a-acosh.obj `if test -f 'math/acosh.c'; then $(CYGPATH_W) 'math/acosh.c'; else $(CYGPATH_W) '$(srcdir)/math/acosh.c'; fi`
 
+math/lib64_libmingwex_a-acosl.o: math/acosl.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib64_libmingwex_a-acosl.o -MD -MP -MF math/$(DEPDIR)/lib64_libmingwex_a-acosl.Tpo -c -o math/lib64_libmingwex_a-acosl.o `test -f 'math/acosl.c' || echo '$(srcdir)/'`math/acosl.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib64_libmingwex_a-acosl.Tpo math/$(DEPDIR)/lib64_libmingwex_a-acosl.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/acosl.c' object='math/lib64_libmingwex_a-acosl.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib64_libmingwex_a-acosl.o `test -f 'math/acosl.c' || echo '$(srcdir)/'`math/acosl.c
+
+math/lib64_libmingwex_a-acosl.obj: math/acosl.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib64_libmingwex_a-acosl.obj -MD -MP -MF math/$(DEPDIR)/lib64_libmingwex_a-acosl.Tpo -c -o math/lib64_libmingwex_a-acosl.obj `if test -f 'math/acosl.c'; then $(CYGPATH_W) 'math/acosl.c'; else $(CYGPATH_W) '$(srcdir)/math/acosl.c'; fi`
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib64_libmingwex_a-acosl.Tpo math/$(DEPDIR)/lib64_libmingwex_a-acosl.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/acosl.c' object='math/lib64_libmingwex_a-acosl.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/lib64_libmingwex_a-acosl.obj `if test -f 'math/acosl.c'; then $(CYGPATH_W) 'math/acosl.c'; else $(CYGPATH_W) '$(srcdir)/math/acosl.c'; fi`
+
 math/lib64_libmingwex_a-acoshf.o: math/acoshf.c
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(lib64_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/lib64_libmingwex_a-acoshf.o -MD -MP -MF math/$(DEPDIR)/lib64_libmingwex_a-acoshf.Tpo -c -o math/lib64_libmingwex_a-acoshf.o `test -f 'math/acoshf.c' || echo '$(srcdir)/'`math/acoshf.c
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/lib64_libmingwex_a-acoshf.Tpo math/$(DEPDIR)/lib64_libmingwex_a-acoshf.Po
@@ -38063,20 +38064,6 @@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o gdtoa/libarm32_libmingwex_a-ulp.obj `if test -f 'gdtoa/ulp.c'; then $(CYGPATH_W) 'gdtoa/ulp.c'; else $(CYGPATH_W) '$(srcdir)/gdtoa/ulp.c'; fi`
 
-math/libarm32_libmingwex_a-acosl.o: math/acosl.c
-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/libarm32_libmingwex_a-acosl.o -MD -MP -MF math/$(DEPDIR)/libarm32_libmingwex_a-acosl.Tpo -c -o math/libarm32_libmingwex_a-acosl.o `test -f 'math/acosl.c' || echo '$(srcdir)/'`math/acosl.c
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/libarm32_libmingwex_a-acosl.Tpo math/$(DEPDIR)/libarm32_libmingwex_a-acosl.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/acosl.c' object='math/libarm32_libmingwex_a-acosl.o' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/libarm32_libmingwex_a-acosl.o `test -f 'math/acosl.c' || echo '$(srcdir)/'`math/acosl.c
-
-math/libarm32_libmingwex_a-acosl.obj: math/acosl.c
-@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/libarm32_libmingwex_a-acosl.obj -MD -MP -MF math/$(DEPDIR)/libarm32_libmingwex_a-acosl.Tpo -c -o math/libarm32_libmingwex_a-acosl.obj `if test -f 'math/acosl.c'; then $(CYGPATH_W) 'math/acosl.c'; else $(CYGPATH_W) '$(srcdir)/math/acosl.c'; fi`
-@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/libarm32_libmingwex_a-acosl.Tpo math/$(DEPDIR)/libarm32_libmingwex_a-acosl.Po
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/acosl.c' object='math/libarm32_libmingwex_a-acosl.obj' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/libarm32_libmingwex_a-acosl.obj `if test -f 'math/acosl.c'; then $(CYGPATH_W) 'math/acosl.c'; else $(CYGPATH_W) '$(srcdir)/math/acosl.c'; fi`
-
 math/libarm32_libmingwex_a-atan2l.o: math/atan2l.c
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/libarm32_libmingwex_a-atan2l.o -MD -MP -MF math/$(DEPDIR)/libarm32_libmingwex_a-atan2l.Tpo -c -o math/libarm32_libmingwex_a-atan2l.o `test -f 'math/atan2l.c' || echo '$(srcdir)/'`math/atan2l.c
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/$(DEPDIR)/libarm32_libmingwex_a-atan2l.Tpo math/$(DEPDIR)/libarm32_libmingwex_a-atan2l.Po
@@ -41745,6 +41732,20 @@
 @AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/softmath/libarm32_libmingwex_a-acosh.obj `if test -f 'math/softmath/acosh.c'; then $(CYGPATH_W) 'math/softmath/acosh.c'; else $(CYGPATH_W) '$(srcdir)/math/softmath/acosh.c'; fi`
 
+math/softmath/libarm32_libmingwex_a-acosl.o: math/softmath/acosl.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/softmath/libarm32_libmingwex_a-acosl.o -MD -MP -MF math/softmath/$(DEPDIR)/libarm32_libmingwex_a-acosl.Tpo -c -o math/softmath/libarm32_libmingwex_a-acosl.o `test -f 'math/softmath/acosl.c' || echo '$(srcdir)/'`math/softmath/acosl.c
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/softmath/$(DEPDIR)/libarm32_libmingwex_a-acosl.Tpo math/softmath/$(DEPDIR)/libarm32_libmingwex_a-acosl.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/softmath/acosl.c' object='math/softmath/libarm32_libmingwex_a-acosl.o' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/softmath/libarm32_libmingwex_a-acosl.o `test -f 'math/softmath/acosl.c' || echo '$(srcdir)/'`math/softmath/acosl.c
+
+math/softmath/libarm32_libmingwex_a-acosl.obj: math/softmath/acosl.c
+@am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/softmath/libarm32_libmingwex_a-acosl.obj -MD -MP -MF math/softmath/$(DEPDIR)/libarm32_libmingwex_a-acosl.Tpo -c -o math/softmath/libarm32_libmingwex_a-acosl.obj `if test -f 'math/softmath/acosl.c'; then $(CYGPATH_W) 'math/softmath/acosl.c'; else $(CYGPATH_W) '$(srcdir)/math/softmath/acosl.c'; fi`
+@am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/softmath/$(DEPDIR)/libarm32_libmingwex_a-acosl.Tpo math/softmath/$(DEPDIR)/libarm32_libmingwex_a-acosl.Po
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	$(AM_V_CC)source='math/softmath/acosl.c' object='math/softmath/libarm32_libmingwex_a-acosl.obj' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@	DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@	$(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o math/softmath/libarm32_libmingwex_a-acosl.obj `if test -f 'math/softmath/acosl.c'; then $(CYGPATH_W) 'math/softmath/acosl.c'; else $(CYGPATH_W) '$(srcdir)/math/softmath/acosl.c'; fi`
+
 math/softmath/libarm32_libmingwex_a-acoshf.o: math/softmath/acoshf.c
 @am__fastdepCC_TRUE@	$(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libarm32_libmingwex_a_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT math/softmath/libarm32_libmingwex_a-acoshf.o -MD -MP -MF math/softmath/$(DEPDIR)/libarm32_libmingwex_a-acoshf.Tpo -c -o math/softmath/libarm32_libmingwex_a-acoshf.o `test -f 'math/softmath/acoshf.c' || echo '$(srcdir)/'`math/softmath/acoshf.c
 @am__fastdepCC_TRUE@	$(AM_V_at)$(am__mv) math/softmath/$(DEPDIR)/libarm32_libmingwex_a-acoshf.Tpo math/softmath/$(DEPDIR)/libarm32_libmingwex_a-acoshf.Po
diff --git a/mingw-w64-crt/math/softmath/acosl.c b/mingw-w64-crt/math/softmath/acosl.c
new file mode 100644
index 0000000..9b90f01
--- /dev/null
+++ b/mingw-w64-crt/math/softmath/acosl.c
@@ -0,0 +1,57 @@
+/*
+ This Software is provided under the Zope Public License (ZPL) Version 2.1.
+
+ Copyright (c) 2014 by the mingw-w64 project
+
+ See the AUTHORS file for the list of contributors to the mingw-w64 project.
+
+ This license has been certified as open source. It has also been designated
+ as GPL compatible by the Free Software Foundation (FSF).
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+   1. Redistributions in source code must retain the accompanying copyright
+      notice, this list of conditions, and the following disclaimer.
+   2. Redistributions in binary form must reproduce the accompanying
+      copyright notice, this list of conditions, and the following disclaimer
+      in the documentation and/or other materials provided with the
+      distribution.
+   3. Names of the copyright holders must not be used to endorse or promote
+      products derived from this software without prior written permission
+      from the copyright holders.
+   4. The right to distribute this software or to use it for any purpose does
+      not give you the right to use Servicemarks (sm) or Trademarks (tm) of
+      the copyright holders.  Use of them is covered by separate agreement
+      with the copyright holders.
+   5. If any files are modified, you must cause the modified files to carry
+      prominent notices stating that you changed the files and the date of
+      any change.
+
+ Disclaimer
+
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ``AS IS'' AND ANY EXPRESSED
+ OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
+ OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+ EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
+ INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+ LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
+ OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
+ EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+*/
+
+#include "softmath_private.h"
+
+long double acosl(long double x)
+{
+#if defined(__arm__) || defined(_ARM_)
+    if (x > 1.0 || x < -1.0)
+        return NAN;
+
+    return M_PI_2 - asinl(x);
+#else
+#error Not supported on your platform yet
+#endif
+}