about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2017-10-02 23:16:56 +0000
committerJoseph Myers <joseph@codesourcery.com>2017-10-02 23:16:56 +0000
commit38722448c64682628244d285c1e30c8887a8c801 (patch)
treeb02299a9e1972bf8b7e80e7d6409bf023c39bd1e /ChangeLog
parent527cd19c3d39288ae170fe09de87c05a27f4e12b (diff)
downloadglibc-38722448c64682628244d285c1e30c8887a8c801.tar.gz
glibc-38722448c64682628244d285c1e30c8887a8c801.tar.xz
glibc-38722448c64682628244d285c1e30c8887a8c801.zip
Use libm_alias_double for dbl-64 atan, tan.
This patch makes the dbl-64 atan and tan implementations use
libm_alias_double, removing the corresponding ldbl-opt wrappers.

Tested for x86_64, and with build-many-glibcs.py.  Installed stripped
shared libraries are unchanged on non-ldbl-opt platforms.  For
ldbl-opt configurations, the patch has the effect of causing
compat_symbol to define atanl and tanl in terms of __atan and __tan
instead of in terms of atan and tan, which is enough to change the
installed stripped libm.so.

	* sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
	(atan): Define using libm_alias_double.
	* sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
	(tan): Define using libm_alias_double.
	* sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
	* sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index ebe1641cb3..a43569336d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,12 @@
 2017-10-02  Joseph Myers  <joseph@codesourcery.com>
 
+	* sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
+	(atan): Define using libm_alias_double.
+	* sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
+	(tan): Define using libm_alias_double.
+	* sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
+	* sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
+
 	* sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
 	define as weak alias of __atan.  Do not define any aliases if
 	[__atan].