From c191f64cd5e985bba95727c40cf02f3a0eae42e3 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Wed, 6 Dec 2017 21:50:32 +0000 Subject: Correct some ia64 libm_alias_float_other calls. This patch corrects three ia64 libm_alias_float_other calls so they generate the intended _Float32 aliases when such aliases are enabled. Tested with build-many-glibcs.py for ia64-linux-gnu (that installed stripped shared libraries are unchanged when applied to current sources, and that this enables compilation tests to pass when used in conjunction with other _Float32 patches). * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as second argument to libm_alias_float_other. * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as second argument to libm_alias_float_other. * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second argument to libm_alias_float_other. --- sysdeps/ia64/fpu/e_exp2f.S | 2 +- sysdeps/ia64/fpu/e_log2f.S | 2 +- sysdeps/ia64/fpu/e_powf.S | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'sysdeps/ia64') diff --git a/sysdeps/ia64/fpu/e_exp2f.S b/sysdeps/ia64/fpu/e_exp2f.S index 2bda62c459..77bc6ea686 100644 --- a/sysdeps/ia64/fpu/e_exp2f.S +++ b/sysdeps/ia64/fpu/e_exp2f.S @@ -469,7 +469,7 @@ OUT_RANGE_exp2: ;; GLOBAL_LIBM_END(__exp2f) -libm_alias_float_other (__exp2, __exp2) +libm_alias_float_other (__exp2, exp2) #ifdef SHARED .symver __exp2f,exp2f@@GLIBC_2.27 .weak __exp2f_compat diff --git a/sysdeps/ia64/fpu/e_log2f.S b/sysdeps/ia64/fpu/e_log2f.S index fa66303db2..5ca3bd61ea 100644 --- a/sysdeps/ia64/fpu/e_log2f.S +++ b/sysdeps/ia64/fpu/e_log2f.S @@ -492,7 +492,7 @@ SPECIAL_log2f: } GLOBAL_LIBM_END(__log2f) -libm_alias_float_other (__log2, __log2) +libm_alias_float_other (__log2, log2) #ifdef SHARED .symver __log2f,log2f@@GLIBC_2.27 .weak __log2f_compat diff --git a/sysdeps/ia64/fpu/e_powf.S b/sysdeps/ia64/fpu/e_powf.S index 96df8dbee2..7449f8c7d5 100644 --- a/sysdeps/ia64/fpu/e_powf.S +++ b/sysdeps/ia64/fpu/e_powf.S @@ -2003,7 +2003,7 @@ POW_OVER_UNDER_ERROR: ;; GLOBAL_LIBM_END(__powf) -libm_alias_float_other (__pow, __pow) +libm_alias_float_other (__pow, pow) #ifdef SHARED .symver __powf,powf@@GLIBC_2.27 .weak __powf_compat -- cgit v1.2.1