From 38722448c64682628244d285c1e30c8887a8c801 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Mon, 2 Oct 2017 23:16:56 +0000 Subject: 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 . (atan): Define using libm_alias_double. * sysdeps/ieee754/dbl-64/s_tan.c: Include . (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/ldbl-opt/s_atan.c | 5 ----- sysdeps/ieee754/ldbl-opt/s_tan.c | 5 ----- 2 files changed, 10 deletions(-) delete mode 100644 sysdeps/ieee754/ldbl-opt/s_atan.c delete mode 100644 sysdeps/ieee754/ldbl-opt/s_tan.c (limited to 'sysdeps/ieee754/ldbl-opt') diff --git a/sysdeps/ieee754/ldbl-opt/s_atan.c b/sysdeps/ieee754/ldbl-opt/s_atan.c deleted file mode 100644 index 5fbd5e62d6..0000000000 --- a/sysdeps/ieee754/ldbl-opt/s_atan.c +++ /dev/null @@ -1,5 +0,0 @@ -#include -#include -#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) -compat_symbol (libm, atan, atanl, GLIBC_2_0); -#endif diff --git a/sysdeps/ieee754/ldbl-opt/s_tan.c b/sysdeps/ieee754/ldbl-opt/s_tan.c deleted file mode 100644 index 6b0fec0063..0000000000 --- a/sysdeps/ieee754/ldbl-opt/s_tan.c +++ /dev/null @@ -1,5 +0,0 @@ -#include -#include -#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0) -compat_symbol (libm, tan, tanl, GLIBC_2_0); -#endif -- cgit 1.4.1