From 1aae75ef80aaa6129fb3f2a68fdfba60a945c4df Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 13 Sep 2017 22:17:23 +0000 Subject: Define and use libm_alias_ldouble. Continuing the process of setting up common macros for libm function aliases, with a view to using them to define _FloatN / _FloatNx aliases in future, this patch adds a libm_alias_ldouble macro and uses it in the type-generic templates. Since math-type-macros-ldouble.h already did the appropriate thing for each symbol (weak_alias or long_double_symbol), this is just a straightforward rearrangement of code, to make the required logic available in a place that can also be used outside of the type-generic templates in future (in particular, to eliminate various wrappers for functions in ldbl-opt and ldbl-64-128). Tested for x86_64. Also tested with build-many-glibcs.py that installed stripped shared libraries are unchanged by the patch. * sysdeps/generic/libm-alias-ldouble.h: New file. * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise. * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove. * sysdeps/generic/math-type-macros-ldouble.h: Include . [!declare_mgen_alias] (declare_mgen_alias): Define to use libm_alias_ldouble. --- ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 21a51b4..3f2e355 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2017-09-13 Joseph Myers + + * sysdeps/generic/libm-alias-ldouble.h: New file. + * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise. + * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove. + * sysdeps/generic/math-type-macros-ldouble.h: Include + . + [!declare_mgen_alias] (declare_mgen_alias): Define to use + libm_alias_ldouble. + 2017-09-13 Szabolcs Nagy * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to... -- cgit v1.1