From 2ce30701e6df07deda6fb205808769d237aa2460 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Fri, 17 Nov 2017 22:54:39 +0000 Subject: Use libm_alias_ldouble in sysdeps/i386/fpu. This patch continues the preparation for additional _FloatN / _FloatNx function aliases by using libm_alias_ldouble for sysdeps/i386/fpu long double functions, so that they can have _Float64x aliases added in future. Tested for x86_64 (which includes some of these implementations) and x86, including build-many-glibcs.py tests that installed stripped shared libraries are unchanged by the patch. * sysdeps/i386/fpu/e_expl.S: Include . [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble. * sysdeps/i386/fpu/s_asinhl.S: Include . (asinhl): Define using libm_alias_ldouble. * sysdeps/i386/fpu/s_atanl.c: Include . (atanl): Define using libm_alias_ldouble. * sysdeps/i386/fpu/s_cbrtl.S: Include . (cbrtl): Define using libm_alias_ldouble. * sysdeps/i386/fpu/s_ceill.S: Include . (ceill): Define using libm_alias_ldouble. * sysdeps/i386/fpu/s_copysignl.S: Include . (copysignl): Define using libm_alias_ldouble. * sysdeps/i386/fpu/s_fabsl.S: Include . (fabsl): Define using libm_alias_ldouble. * sysdeps/i386/fpu/s_floorl.S: Include . (floorl): Define using libm_alias_ldouble. * sysdeps/i386/fpu/s_fmaxl.S: Include . (fmaxl): Define using libm_alias_ldouble. * sysdeps/i386/fpu/s_fminl.S: Include . (fminl): Define using libm_alias_ldouble. * sysdeps/i386/fpu/s_frexpl.S: Include . (frexpl): Define using libm_alias_ldouble. * sysdeps/i386/fpu/s_llrintl.S: Include . (llrintl): Define using libm_alias_ldouble. * sysdeps/i386/fpu/s_logbl.c: Include . (logbl): Define using libm_alias_ldouble. * sysdeps/i386/fpu/s_lrintl.S: Include . (lrintl): Define using libm_alias_ldouble. * sysdeps/i386/fpu/s_nearbyintl.S: Include . (nearbyintl): Define using libm_alias_ldouble. * sysdeps/i386/fpu/s_nextafterl.c: Include . (nextafterl): Define using libm_alias_ldouble. * sysdeps/i386/fpu/s_remquol.S: Include . (remquol): Define using libm_alias_ldouble. * sysdeps/i386/fpu/s_rintl.c: Include . (rintl): Define using libm_alias_ldouble. * sysdeps/i386/fpu/s_truncl.S: Include . (truncl): Define using libm_alias_ldouble. * sysdeps/i386/i686/fpu/s_fmaxl.S: Include . (fmaxl): Define using libm_alias_ldouble. * sysdeps/i386/i686/fpu/s_fminl.S: Include . (fminl): Define using libm_alias_ldouble. --- sysdeps/i386/fpu/s_lrintl.S | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sysdeps/i386/fpu/s_lrintl.S') diff --git a/sysdeps/i386/fpu/s_lrintl.S b/sysdeps/i386/fpu/s_lrintl.S index ba6dbdf44c..b55f50c376 100644 --- a/sysdeps/i386/fpu/s_lrintl.S +++ b/sysdeps/i386/fpu/s_lrintl.S @@ -18,6 +18,7 @@ License along with the GNU C Library; if not, see . */ +#include #include .text @@ -31,4 +32,4 @@ ENTRY(__lrintl) cfi_adjust_cfa_offset (-4) ret END(__lrintl) -weak_alias (__lrintl, lrintl) +libm_alias_ldouble (__lrint, lrint) -- cgit v1.2.3-65-gdbad