summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-12-06 21:50:32 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-12-06 21:50:32 +0000
commitc191f64cd5e985bba95727c40cf02f3a0eae42e3 (patch)
treee907aacf3c8411d1dd5f7b20e1a43e74fb55cb4d
parent5244527da1bfa751492e146d3e6ae128c59bfcc4 (diff)
downloadglibc-c191f64cd5e985bba95727c40cf02f3a0eae42e3.tar.gz
glibc-c191f64cd5e985bba95727c40cf02f3a0eae42e3.tar.xz
glibc-c191f64cd5e985bba95727c40cf02f3a0eae42e3.zip
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.
-rw-r--r--ChangeLog7
-rw-r--r--sysdeps/ia64/fpu/e_exp2f.S2
-rw-r--r--sysdeps/ia64/fpu/e_log2f.S2
-rw-r--r--sysdeps/ia64/fpu/e_powf.S2
4 files changed, 10 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index b81d994466..efe8ac589c 100644
--- 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.
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