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.
This commit is contained in:
Joseph Myers 2017-12-06 21:50:32 +00:00
parent 5244527da1
commit c191f64cd5
4 changed files with 10 additions and 3 deletions

View File

@ -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.

View 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

View 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

View 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