This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Correct some ia64 libm_alias_float_other calls [committed]
- From: Joseph Myers <joseph at codesourcery dot com>
- To: <libc-alpha at sourceware dot org>
- Date: Wed, 6 Dec 2017 21:51:13 +0000
- Subject: Correct some ia64 libm_alias_float_other calls [committed]
- Authentication-results: sourceware.org; auth=none
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). Committed.
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.
diff --git a/sysdeps/ia64/fpu/e_exp2f.S b/sysdeps/ia64/fpu/e_exp2f.S
index 2bda62c..77bc6ea 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 fa66303..5ca3bd6 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 96df8db..7449f8c 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
--
Joseph S. Myers
joseph@codesourcery.com