This patch makes SPARC fabsl implementation use libm_alias_ldouble, to
prepare them for also defining _Float128 function aliases.
Tested with build-many-glibcs.py that installed stripped shared
libraries (sparc64-linux-gnu and sparcv9-linux-gnu) are unchanged by
the patch.
* sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
<libm-alias-ldouble.h>.
(fabsl): Define using libm_alias_ldouble.
* sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
<libm-alias-ldouble.h>.
(fabsl): Define using libm_alias_ldouble.
2017-10-13 Joseph Myers <joseph@codesourcery.com>
+ * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
+ <libm-alias-ldouble.h>.
+ (fabsl): Define using libm_alias_ldouble.
+ * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
+ <libm-alias-ldouble.h>.
+ (fabsl): Define using libm_alias_ldouble.
+
* sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
Remove conditional code.
#include <math.h>
#include <math_ldbl_opt.h>
+#include <libm-alias-ldouble.h>
long double __fabsl (long double x)
{
return __builtin_fabsl (x);
}
-long_double_symbol (libm, __fabsl, fabsl);
+libm_alias_ldouble (__fabs, fabs)
+#include <libm-alias-ldouble.h>
+
long double __fabsl (long double x)
{
return __builtin_fabsl (x);
}
-weak_alias (__fabsl, fabsl)
+libm_alias_ldouble (__fabs, fabs)