[haiku-commits] haiku: hrev49543 - in src/system/libroot/posix/glibc: arch/arm arch/generic include/arch/arm/bits

  • From: kallisti5@xxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 15 Aug 2015 04:08:47 +0200 (CEST)

hrev49543 adds 1 changeset to branch 'master'
old head: 36a43c9d5168ea26fe3c2c1f8f7ed8d52a2be34c
new head: 76cc2d8f45677bb322fae487a415efd5edb3d18b
overview:
http://cgit.haiku-os.org/haiku/log/?qt=range&q=76cc2d8f4567+%5E36a43c9d5168

----------------------------------------------------------------------------

76cc2d8f4567: glibc/arm: Filling in more ARM gaps

[ Alexander von Gluck IV <kallisti5@xxxxxxxxxxx> ]

----------------------------------------------------------------------------

Revision: hrev49543
Commit: 76cc2d8f45677bb322fae487a415efd5edb3d18b
URL: http://cgit.haiku-os.org/haiku/commit/?id=76cc2d8f4567
Author: Alexander von Gluck IV <kallisti5@xxxxxxxxxxx>
Date: Sat Aug 15 02:06:29 2015 UTC

----------------------------------------------------------------------------

3 files changed, 26 insertions(+), 4 deletions(-)
src/system/libroot/posix/glibc/arch/arm/Jamfile | 11 +++++++----
src/system/libroot/posix/glibc/arch/generic/s_log1pl.c | 13 +++++++++++++
.../posix/glibc/include/arch/arm/bits/huge_val.h | 6 ++++++

----------------------------------------------------------------------------

diff --git a/src/system/libroot/posix/glibc/arch/arm/Jamfile
b/src/system/libroot/posix/glibc/arch/arm/Jamfile
index 13db611..9bfb083 100644
--- a/src/system/libroot/posix/glibc/arch/arm/Jamfile
+++ b/src/system/libroot/posix/glibc/arch/arm/Jamfile
@@ -34,9 +34,12 @@ local genericSources =
s_isnan.c s_isnanf.c
s_signbit.c s_signbitf.c s_signbitl.c

- s_clog.c s_clogf.c
+ s_nan.c s_nanf.c s_nanl.c
+ w_hypot.c w_hypotf.c w_hypotl.c
+ s_fpclassify.c s_fpclassifyf.c
+ s_clog.c s_clogf.c s_clogl.c
s_log1p.c s_log1pf.c s_log1pl.c
- s_csqrt.c s_csqrtf.c
+ s_csqrt.c s_csqrtf.c s_csqrtl.c
s_floor.c s_floorf.c
s_ceil.c s_ceilf.c
s_modf.c
@@ -56,7 +59,7 @@ local genericSources =
e_asin.c w_asin.c
e_log10.c w_log10.c
e_acos.c w_acos.c
- e_atan2.c w_atan2.c mpatan2.c mpatan.c mptan.c mpsqrt.c w_sqrt.c
w_sqrtf.c
+ e_atan2.c w_atan2.c w_atan2l.c mpatan2.c mpatan.c mptan.c mpsqrt.c
w_sqrt.c w_sqrtf.c
e_fmod.c w_fmod.c
e_log.c w_log.c
e_cosh.c w_cosh.c
@@ -65,7 +68,7 @@ local genericSources =
s_sinf.c k_sinf.c
s_ldexp.c s_ldexpf.c
s_scalbnf.c s_scalbn.c
- s_copysign.c
+ s_copysign.c s_copysignf.c s_copysignl.c
s_tanh.c s_tanf.c k_tanf.c
s_lround.c s_lroundf.c s_round.c s_roundf.c
s_rint.c s_rintf.c s_lrintf.c
diff --git a/src/system/libroot/posix/glibc/arch/generic/s_log1pl.c
b/src/system/libroot/posix/glibc/arch/generic/s_log1pl.c
new file mode 100644
index 0000000..a216fb3
--- /dev/null
+++ b/src/system/libroot/posix/glibc/arch/generic/s_log1pl.c
@@ -0,0 +1,13 @@
+#include <math.h>
+#include <stdio.h>
+#include <errno.h>
+
+long double
+__log1pl (long double x)
+{
+ fputs ("__log1pl not implemented\n", stderr);
+ __set_errno (ENOSYS);
+ return 0.0;
+}
+
+stub_warning (log1pl)
diff --git a/src/system/libroot/posix/glibc/include/arch/arm/bits/huge_val.h
b/src/system/libroot/posix/glibc/include/arch/arm/bits/huge_val.h
index b4f5621..ac432e3 100644
--- a/src/system/libroot/posix/glibc/include/arch/arm/bits/huge_val.h
+++ b/src/system/libroot/posix/glibc/include/arch/arm/bits/huge_val.h
@@ -55,4 +55,10 @@ static __huge_val_t __huge_val = { __HUGE_VAL_bytes };

#endif /* GCC. */

+#if __GNUC_PREREQ(3,3)
+# define HUGE_VALL (__builtin_huge_vall())
+#else
+# define HUGE_VALL ((long double) HUGE_VAL)
+#endif
+
#define HUGE_VALF HUGE_VAL


Other related posts: