+2017-09-15 Joseph Myers <joseph@codesourcery.com>
+
+ * math/s_fmaf.c: Include <libm-alias-float.h>.
+ (fmaf): Define using libm_alias_float.
+ * math/w_acosf_compat.c: Include <libm-alias-float.h>.
+ (acosf): Define using libm_alias_float.
+ * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
+ (acoshf): Define using libm_alias_float.
+ * math/w_asinf_compat.c: Include <libm-alias-float.h>.
+ (asinf): Define using libm_alias_float.
+ * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
+ (atan2f): Define using libm_alias_float.
+ * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
+ (atanhf): Define using libm_alias_float.
+ * math/w_coshf_compat.c: Include <libm-alias-float.h>.
+ (coshf): Define using libm_alias_float.
+ * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
+ (exp10f): Define using libm_alias_float.
+ * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
+ (fmodf): Define using libm_alias_float.
+ * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
+ (hypotf): Define using libm_alias_float.
+ * math/w_j0f_compat.c: Include <libm-alias-float.h>.
+ (j0f): Define using libm_alias_float.
+ (y0f): Likewise.
+ * math/w_j1f_compat.c: Include <libm-alias-float.h>.
+ (j1f): Define using libm_alias_float.
+ (y1f): Likewise.
+ * math/w_jnf_compat.c: Include <libm-alias-float.h>.
+ (jnf): Define using libm_alias_float.
+ (ynf): Likewise.
+ * math/w_log10f_compat.c: Include <libm-alias-float.h>.
+ (log10f): Define using libm_alias_float.
+ * math/w_log2f_compat.c: Include <libm-alias-float.h>.
+ (log2f): Define using libm_alias_float.
+ * math/w_logf_compat.c: Include <libm-alias-float.h>.
+ (logf): Define using libm_alias_float.
+ * math/w_powf_compat.c: Include <libm-alias-float.h>.
+ (powf): Define using libm_alias_float.
+ * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
+ (remainderf): Define using libm_alias_float.
+ * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
+ (sinhf): Define using libm_alias_float.
+ * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
+ (sqrtf): Define using libm_alias_float.
+ * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
+ (tgammaf): Define using libm_alias_float.
+
2017-09-14 Joseph Myers <joseph@codesourcery.com>
* include/math.h (roundeven): Change hidden_proto call to
<http://www.gnu.org/licenses/>. */
#include <math.h>
+#include <libm-alias-float.h>
float
__fmaf (float x, float y, float z)
return (x * y) + z;
}
#ifndef __fmaf
-weak_alias (__fmaf, fmaf)
+libm_alias_float (__fma, fma)
#endif
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
return __ieee754_acosf (x);
}
-weak_alias (__acosf, acosf)
+libm_alias_float (__acos, acos)
#endif
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
return __ieee754_acoshf (x);
}
-weak_alias (__acoshf, acoshf)
+libm_alias_float (__acosh, acosh)
#endif
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
return __ieee754_asinf (x);
}
-weak_alias (__asinf, asinf)
+libm_alias_float (__asin, asin)
#endif
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
__set_errno (ERANGE);
return z;
}
-weak_alias (__atan2f, atan2f)
+libm_alias_float (__atan2, atan2)
#endif
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
return __ieee754_atanhf (x);
}
-weak_alias (__atanhf, atanhf)
+libm_alias_float (__atanh, atanh)
#endif
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
float
return z;
}
-weak_alias (__coshf, coshf)
+libm_alias_float (__cosh, cosh)
#endif
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
float
return z;
}
-weak_alias (__exp10f, exp10f)
+libm_alias_float (__exp10, exp10)
# if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)
strong_alias (__exp10f, __pow10f)
compat_symbol (libm, __pow10f, pow10f, GLIBC_2_1);
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
/* wrapper fmodf */
return __ieee754_fmodf (x, y);
}
-weak_alias (__fmodf, fmodf)
+libm_alias_float (__fmod, fmod)
#endif
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
return z;
}
-weak_alias (__hypotf, hypotf)
+libm_alias_float (__hypot, hypot)
#endif
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
return __ieee754_j0f (x);
}
-weak_alias (__j0f, j0f)
+libm_alias_float (__j0, j0)
/* wrapper y0f */
return __ieee754_y0f (x);
}
-weak_alias (__y0f, y0f)
+libm_alias_float (__y0, y0)
#endif
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
return __ieee754_j1f (x);
}
-weak_alias (__j1f, j1f)
+libm_alias_float (__j1, j1)
/* wrapper y1f */
return __ieee754_y1f (x);
}
-weak_alias (__y1f, y1f)
+libm_alias_float (__y1, y1)
#endif
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
return __ieee754_jnf (n, x);
}
-weak_alias (__jnf, jnf)
+libm_alias_float (__jn, jn)
/* wrapper ynf */
return __ieee754_ynf (n, x);
}
-weak_alias (__ynf, ynf)
+libm_alias_float (__yn, yn)
#endif
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
return __ieee754_log10f (x);
}
-weak_alias (__log10f, log10f)
+libm_alias_float (__log10, log10)
#endif
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
return __ieee754_log2f (x);
}
-weak_alias (__log2f, log2f)
+libm_alias_float (__log2, log2)
#endif
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
return __ieee754_logf (x);
}
-weak_alias (__logf, logf)
+libm_alias_float (__log, log)
#endif
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
return z;
}
-weak_alias (__powf, powf)
+libm_alias_float (__pow, pow)
#endif
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
return __ieee754_remainderf (x, y);
}
-weak_alias (__remainderf, remainderf)
+libm_alias_float (__remainder, remainder)
weak_alias (__remainderf, dremf)
#endif
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
float
return z;
}
-weak_alias (__sinhf, sinhf)
+libm_alias_float (__sinh, sinh)
#endif
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
return __ieee754_sqrtf (x);
}
-weak_alias (__sqrtf, sqrtf)
+libm_alias_float (__sqrt, sqrt)
#endif
#include <math.h>
#include <math_private.h>
#include <math-svid-compat.h>
+#include <libm-alias-float.h>
#if LIBM_SVID_COMPAT
float
}
return local_signgam < 0 ? - y : y;
}
-weak_alias (__tgammaf, tgammaf)
+libm_alias_float (__tgamma, tgamma)
#endif