]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Correct some ia64 libm_alias_float_other calls.
authorJoseph Myers <joseph@codesourcery.com>
Wed, 6 Dec 2017 21:50:32 +0000 (21:50 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 6 Dec 2017 21:50:32 +0000 (21:50 +0000)
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.

ChangeLog
sysdeps/ia64/fpu/e_exp2f.S
sysdeps/ia64/fpu/e_log2f.S
sysdeps/ia64/fpu/e_powf.S

index b81d9944661700d2996fa42131f60cec7177eb8c..efe8ac589c62cb803c47a2ac81df22248a8916ea 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2017-12-06  Joseph Myers  <joseph@codesourcery.com>
 
+       * 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.
+
        [BZ #22561]
        * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
        real part of result for argument 0 + i * NaN.
index 2bda62c4591bf7d1837132019c3a19a1ef99d68c..77bc6ea68646bcd19102a3968075c5078cfcd70f 100644 (file)
@@ -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
index fa66303db2311fbccb2580922e0f0bf5a3ac25a9..5ca3bd61ea472f4a31b56851a29d522957f229b2 100644 (file)
@@ -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
index 96df8dbee27642ff2b889d3463f5855d84005675..7449f8c7d56853938714d55a40a5a4c714024467 100644 (file)
@@ -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