about summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-opt
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2016-12-13 22:42:51 -0200
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2017-01-04 16:25:04 -0200
commitf67d78192c1be9d56d3a6f3fda4e0a70ae48c44d (patch)
treee08b1ae84e100cb5a17819f1bb9416a6c203d19b /sysdeps/ieee754/ldbl-opt
parent811de1a68863f7903341288a113b8c0ac7aa9c0e (diff)
downloadglibc-f67d78192c1be9d56d3a6f3fda4e0a70ae48c44d.tar.gz
glibc-f67d78192c1be9d56d3a6f3fda4e0a70ae48c44d.tar.xz
glibc-f67d78192c1be9d56d3a6f3fda4e0a70ae48c44d.zip
Move wrappers to libm-compat-calls-auto
This commit moves one step towards the deprecation of wrappers that
use _LIB_VERSION / matherr / __kernel_standard functionality, by
adding the suffix '_compat' to their filenames and adjusting Makefiles
and #includes accordingly.

New template wrappers that do not use such functionality will be added
by future patches and will be first used by the float128 wrappers.
Diffstat (limited to 'sysdeps/ieee754/ldbl-opt')
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_acos_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_acos.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_acosh_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_acosh.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_acoshl.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_acosl_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_acosl.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_asin_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_asin.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_asinl_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_asinl.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_atan2_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_atan2.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_atan2l.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_atanh_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_atanh.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_atanhl.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_cosh_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_cosh.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_coshl_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_coshl.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_exp10.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_exp10l.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_fmod_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_fmod.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_fmodl.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_hypot_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_hypot.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_hypotl.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_j0_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_j0.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_j0l_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_j0l.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_j1_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_j1.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_j1l_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_j1l.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_jn_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_jn.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_jnl_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_jnl.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_log10_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_log10.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_log10l_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_log10l.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_log2_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_log2.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_log2l_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_log2l.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_log_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_log.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_logl_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_logl.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_pow_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_pow.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_powl_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_powl.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_remainder_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_remainder.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_remainderl.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_scalb_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_scalb.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_scalbl.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_sinh_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_sinh.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_sinhl.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_sqrt.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_sqrtl.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_tgamma.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_tgammal.c)2
42 files changed, 42 insertions, 42 deletions
diff --git a/sysdeps/ieee754/ldbl-opt/w_acos.c b/sysdeps/ieee754/ldbl-opt/w_acos_compat.c
index 2934041d4d..1e6d1b37ec 100644
--- a/sysdeps/ieee754/ldbl-opt/w_acos.c
+++ b/sysdeps/ieee754/ldbl-opt/w_acos_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_acos.c>
+#include <math/w_acos_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
 compat_symbol (libm, __acos, acosl, GLIBC_2_0);
 #endif
diff --git a/sysdeps/ieee754/ldbl-opt/w_acosh.c b/sysdeps/ieee754/ldbl-opt/w_acosh_compat.c
index 7f7fa14e27..40da339a7a 100644
--- a/sysdeps/ieee754/ldbl-opt/w_acosh.c
+++ b/sysdeps/ieee754/ldbl-opt/w_acosh_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_acosh.c>
+#include <math/w_acosh_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
 compat_symbol (libm, __acosh, acoshl, GLIBC_2_0);
 #endif
diff --git a/sysdeps/ieee754/ldbl-opt/w_acoshl.c b/sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c
index 6243c2ac80..df4338d9fa 100644
--- a/sysdeps/ieee754/ldbl-opt/w_acoshl.c
+++ b/sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_acoshl.c>
+#include <math/w_acoshl_compat.c>
 long_double_symbol (libm, __acoshl, acoshl);
diff --git a/sysdeps/ieee754/ldbl-opt/w_acosl.c b/sysdeps/ieee754/ldbl-opt/w_acosl_compat.c
index 8b6e890a53..5efc99024c 100644
--- a/sysdeps/ieee754/ldbl-opt/w_acosl.c
+++ b/sysdeps/ieee754/ldbl-opt/w_acosl_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_acosl.c>
+#include <math/w_acosl_compat.c>
 long_double_symbol (libm, __acosl, acosl);
diff --git a/sysdeps/ieee754/ldbl-opt/w_asin.c b/sysdeps/ieee754/ldbl-opt/w_asin_compat.c
index 5e1d70ff65..1c52cc22ad 100644
--- a/sysdeps/ieee754/ldbl-opt/w_asin.c
+++ b/sysdeps/ieee754/ldbl-opt/w_asin_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_asin.c>
+#include <math/w_asin_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
 compat_symbol (libm, __asin, asinl, GLIBC_2_0);
 #endif
diff --git a/sysdeps/ieee754/ldbl-opt/w_asinl.c b/sysdeps/ieee754/ldbl-opt/w_asinl_compat.c
index a58a224a38..087fab25bb 100644
--- a/sysdeps/ieee754/ldbl-opt/w_asinl.c
+++ b/sysdeps/ieee754/ldbl-opt/w_asinl_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_asinl.c>
+#include <math/w_asinl_compat.c>
 long_double_symbol (libm, __asinl, asinl);
diff --git a/sysdeps/ieee754/ldbl-opt/w_atan2.c b/sysdeps/ieee754/ldbl-opt/w_atan2_compat.c
index f1d1501bd2..d3f7964d7c 100644
--- a/sysdeps/ieee754/ldbl-opt/w_atan2.c
+++ b/sysdeps/ieee754/ldbl-opt/w_atan2_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_atan2.c>
+#include <math/w_atan2_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
 compat_symbol (libm, __atan2, atan2l, GLIBC_2_0);
 #endif
diff --git a/sysdeps/ieee754/ldbl-opt/w_atan2l.c b/sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c
index 01431eff44..6b12209625 100644
--- a/sysdeps/ieee754/ldbl-opt/w_atan2l.c
+++ b/sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_atan2l.c>
+#include <math/w_atan2l_compat.c>
 long_double_symbol (libm, __atan2l, atan2l);
diff --git a/sysdeps/ieee754/ldbl-opt/w_atanh.c b/sysdeps/ieee754/ldbl-opt/w_atanh_compat.c
index b4cab87c32..e15ef1f93d 100644
--- a/sysdeps/ieee754/ldbl-opt/w_atanh.c
+++ b/sysdeps/ieee754/ldbl-opt/w_atanh_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_atanh.c>
+#include <math/w_atanh_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
 compat_symbol (libm, __atanh, atanhl, GLIBC_2_0);
 #endif
diff --git a/sysdeps/ieee754/ldbl-opt/w_atanhl.c b/sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c
index 0dbc114481..49bae1ee8f 100644
--- a/sysdeps/ieee754/ldbl-opt/w_atanhl.c
+++ b/sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_atanhl.c>
+#include <math/w_atanhl_compat.c>
 long_double_symbol (libm, __atanhl, atanhl);
diff --git a/sysdeps/ieee754/ldbl-opt/w_cosh.c b/sysdeps/ieee754/ldbl-opt/w_cosh_compat.c
index a6f56cf4c5..af29735e10 100644
--- a/sysdeps/ieee754/ldbl-opt/w_cosh.c
+++ b/sysdeps/ieee754/ldbl-opt/w_cosh_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_cosh.c>
+#include <math/w_cosh_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
 compat_symbol (libm, __cosh, coshl, GLIBC_2_0);
 #endif
diff --git a/sysdeps/ieee754/ldbl-opt/w_coshl.c b/sysdeps/ieee754/ldbl-opt/w_coshl_compat.c
index 8c7dccb7f3..a8808778ba 100644
--- a/sysdeps/ieee754/ldbl-opt/w_coshl.c
+++ b/sysdeps/ieee754/ldbl-opt/w_coshl_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_coshl.c>
+#include <math/w_coshl_compat.c>
 long_double_symbol (libm, __coshl, coshl);
diff --git a/sysdeps/ieee754/ldbl-opt/w_exp10.c b/sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
index 990c48e61a..142a70bcd6 100644
--- a/sysdeps/ieee754/ldbl-opt/w_exp10.c
+++ b/sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_exp10.c>
+#include <math/w_exp10_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
 compat_symbol (libm, __exp10, exp10l, GLIBC_2_1);
 compat_symbol (libm, __pow10, pow10l, GLIBC_2_1);
diff --git a/sysdeps/ieee754/ldbl-opt/w_exp10l.c b/sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c
index e06dfb5014..8f2ccd3441 100644
--- a/sysdeps/ieee754/ldbl-opt/w_exp10l.c
+++ b/sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c
@@ -1,6 +1,6 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_exp10l.c>
+#include <math/w_exp10l_compat.c>
 long_double_symbol (libm, __exp10l, exp10l);
 long_double_symbol (libm, __pow10l, pow10l);
diff --git a/sysdeps/ieee754/ldbl-opt/w_fmod.c b/sysdeps/ieee754/ldbl-opt/w_fmod_compat.c
index 81ad5057f7..9280d39d70 100644
--- a/sysdeps/ieee754/ldbl-opt/w_fmod.c
+++ b/sysdeps/ieee754/ldbl-opt/w_fmod_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_fmod.c>
+#include <math/w_fmod_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
 compat_symbol (libm, __fmod, fmodl, GLIBC_2_0);
 #endif
diff --git a/sysdeps/ieee754/ldbl-opt/w_fmodl.c b/sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c
index 2a534a304c..88fe0ac4d2 100644
--- a/sysdeps/ieee754/ldbl-opt/w_fmodl.c
+++ b/sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_fmodl.c>
+#include <math/w_fmodl_compat.c>
 long_double_symbol (libm, __fmodl, fmodl);
diff --git a/sysdeps/ieee754/ldbl-opt/w_hypot.c b/sysdeps/ieee754/ldbl-opt/w_hypot_compat.c
index e1cf1ffcfe..b3979ff0f4 100644
--- a/sysdeps/ieee754/ldbl-opt/w_hypot.c
+++ b/sysdeps/ieee754/ldbl-opt/w_hypot_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_hypot.c>
+#include <math/w_hypot_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
 compat_symbol (libm, __hypot, hypotl, GLIBC_2_0);
 #endif
diff --git a/sysdeps/ieee754/ldbl-opt/w_hypotl.c b/sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c
index 6c46bd4bde..68e3997489 100644
--- a/sysdeps/ieee754/ldbl-opt/w_hypotl.c
+++ b/sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_hypotl.c>
+#include <math/w_hypotl_compat.c>
 long_double_symbol (libm, __hypotl, hypotl);
diff --git a/sysdeps/ieee754/ldbl-opt/w_j0.c b/sysdeps/ieee754/ldbl-opt/w_j0_compat.c
index 5c78aff085..45b4d14764 100644
--- a/sysdeps/ieee754/ldbl-opt/w_j0.c
+++ b/sysdeps/ieee754/ldbl-opt/w_j0_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_j0.c>
+#include <math/w_j0_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
 compat_symbol (libm, j0, j0l, GLIBC_2_0);
 compat_symbol (libm, y0, y0l, GLIBC_2_0);
diff --git a/sysdeps/ieee754/ldbl-opt/w_j0l.c b/sysdeps/ieee754/ldbl-opt/w_j0l_compat.c
index 767a1bcada..9050657e03 100644
--- a/sysdeps/ieee754/ldbl-opt/w_j0l.c
+++ b/sysdeps/ieee754/ldbl-opt/w_j0l_compat.c
@@ -1,6 +1,6 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_j0l.c>
+#include <math/w_j0l_compat.c>
 long_double_symbol (libm, __j0l, j0l);
 long_double_symbol (libm, __y0l, y0l);
diff --git a/sysdeps/ieee754/ldbl-opt/w_j1.c b/sysdeps/ieee754/ldbl-opt/w_j1_compat.c
index ed3dbc0361..1071c8fd6a 100644
--- a/sysdeps/ieee754/ldbl-opt/w_j1.c
+++ b/sysdeps/ieee754/ldbl-opt/w_j1_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_j1.c>
+#include <math/w_j1_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
 compat_symbol (libm, j1, j1l, GLIBC_2_0);
 compat_symbol (libm, y1, y1l, GLIBC_2_0);
diff --git a/sysdeps/ieee754/ldbl-opt/w_j1l.c b/sysdeps/ieee754/ldbl-opt/w_j1l_compat.c
index 946c36467c..4ed9e2dd12 100644
--- a/sysdeps/ieee754/ldbl-opt/w_j1l.c
+++ b/sysdeps/ieee754/ldbl-opt/w_j1l_compat.c
@@ -1,6 +1,6 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_j1l.c>
+#include <math/w_j1l_compat.c>
 long_double_symbol (libm, __j1l, j1l);
 long_double_symbol (libm, __y1l, y1l);
diff --git a/sysdeps/ieee754/ldbl-opt/w_jn.c b/sysdeps/ieee754/ldbl-opt/w_jn_compat.c
index 7a7e0d434b..be29a36041 100644
--- a/sysdeps/ieee754/ldbl-opt/w_jn.c
+++ b/sysdeps/ieee754/ldbl-opt/w_jn_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_jn.c>
+#include <math/w_jn_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
 compat_symbol (libm, jn, jnl, GLIBC_2_0);
 compat_symbol (libm, yn, ynl, GLIBC_2_0);
diff --git a/sysdeps/ieee754/ldbl-opt/w_jnl.c b/sysdeps/ieee754/ldbl-opt/w_jnl_compat.c
index 5219543a97..d22ee54997 100644
--- a/sysdeps/ieee754/ldbl-opt/w_jnl.c
+++ b/sysdeps/ieee754/ldbl-opt/w_jnl_compat.c
@@ -1,6 +1,6 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_jnl.c>
+#include <math/w_jnl_compat.c>
 long_double_symbol (libm, __jnl, jnl);
 long_double_symbol (libm, __ynl, ynl);
diff --git a/sysdeps/ieee754/ldbl-opt/w_log10.c b/sysdeps/ieee754/ldbl-opt/w_log10_compat.c
index 74e716821e..5ec6a2b2b6 100644
--- a/sysdeps/ieee754/ldbl-opt/w_log10.c
+++ b/sysdeps/ieee754/ldbl-opt/w_log10_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_log10.c>
+#include <math/w_log10_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
 compat_symbol (libm, __log10, log10l, GLIBC_2_0);
 #endif
diff --git a/sysdeps/ieee754/ldbl-opt/w_log10l.c b/sysdeps/ieee754/ldbl-opt/w_log10l_compat.c
index 9c936e376a..17de3e7856 100644
--- a/sysdeps/ieee754/ldbl-opt/w_log10l.c
+++ b/sysdeps/ieee754/ldbl-opt/w_log10l_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_log10l.c>
+#include <math/w_log10l_compat.c>
 long_double_symbol (libm, __log10l, log10l);
diff --git a/sysdeps/ieee754/ldbl-opt/w_log2.c b/sysdeps/ieee754/ldbl-opt/w_log2_compat.c
index 9b9b45b21b..dffd2c183e 100644
--- a/sysdeps/ieee754/ldbl-opt/w_log2.c
+++ b/sysdeps/ieee754/ldbl-opt/w_log2_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_log2.c>
+#include <math/w_log2_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
 compat_symbol (libm, __log2, log2l, GLIBC_2_1);
 #endif
diff --git a/sysdeps/ieee754/ldbl-opt/w_log2l.c b/sysdeps/ieee754/ldbl-opt/w_log2l_compat.c
index c859682133..3c5e734573 100644
--- a/sysdeps/ieee754/ldbl-opt/w_log2l.c
+++ b/sysdeps/ieee754/ldbl-opt/w_log2l_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_log2l.c>
+#include <math/w_log2l_compat.c>
 long_double_symbol (libm, __log2l, log2l);
diff --git a/sysdeps/ieee754/ldbl-opt/w_log.c b/sysdeps/ieee754/ldbl-opt/w_log_compat.c
index bde1e31db4..d2a2bcadde 100644
--- a/sysdeps/ieee754/ldbl-opt/w_log.c
+++ b/sysdeps/ieee754/ldbl-opt/w_log_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_log.c>
+#include <math/w_log_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
 compat_symbol (libm, __log, logl, GLIBC_2_0);
 #endif
diff --git a/sysdeps/ieee754/ldbl-opt/w_logl.c b/sysdeps/ieee754/ldbl-opt/w_logl_compat.c
index c2354a02b9..2b55842139 100644
--- a/sysdeps/ieee754/ldbl-opt/w_logl.c
+++ b/sysdeps/ieee754/ldbl-opt/w_logl_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_logl.c>
+#include <math/w_logl_compat.c>
 long_double_symbol (libm, __logl, logl);
diff --git a/sysdeps/ieee754/ldbl-opt/w_pow.c b/sysdeps/ieee754/ldbl-opt/w_pow_compat.c
index 2d98fb9be4..c2a7942019 100644
--- a/sysdeps/ieee754/ldbl-opt/w_pow.c
+++ b/sysdeps/ieee754/ldbl-opt/w_pow_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_pow.c>
+#include <math/w_pow_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
 compat_symbol (libm, __pow, powl, GLIBC_2_0);
 #endif
diff --git a/sysdeps/ieee754/ldbl-opt/w_powl.c b/sysdeps/ieee754/ldbl-opt/w_powl_compat.c
index 85b8927648..1897cf1c63 100644
--- a/sysdeps/ieee754/ldbl-opt/w_powl.c
+++ b/sysdeps/ieee754/ldbl-opt/w_powl_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_powl.c>
+#include <math/w_powl_compat.c>
 long_double_symbol (libm, __powl, powl);
diff --git a/sysdeps/ieee754/ldbl-opt/w_remainder.c b/sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
index dfa7b7f569..c823dcb8e7 100644
--- a/sysdeps/ieee754/ldbl-opt/w_remainder.c
+++ b/sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_remainder.c>
+#include <math/w_remainder_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
 compat_symbol (libm, __remainder, remainderl, GLIBC_2_0);
 strong_alias (__remainder, __drem)
diff --git a/sysdeps/ieee754/ldbl-opt/w_remainderl.c b/sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
index 7a344b7709..b2ce5c9563 100644
--- a/sysdeps/ieee754/ldbl-opt/w_remainderl.c
+++ b/sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
@@ -1,7 +1,7 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_remainderl.c>
+#include <math/w_remainderl_compat.c>
 long_double_symbol (libm, __remainderl, remainderl);
 strong_alias (__remainderl, __dreml)
 long_double_symbol (libm, __dreml, dreml);
diff --git a/sysdeps/ieee754/ldbl-opt/w_scalb.c b/sysdeps/ieee754/ldbl-opt/w_scalb_compat.c
index e2ac601596..f6d53a5ba5 100644
--- a/sysdeps/ieee754/ldbl-opt/w_scalb.c
+++ b/sysdeps/ieee754/ldbl-opt/w_scalb_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_scalb.c>
+#include <math/w_scalb_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
 compat_symbol (libm, __scalb, scalbl, GLIBC_2_0);
 #endif
diff --git a/sysdeps/ieee754/ldbl-opt/w_scalbl.c b/sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c
index f3d3901f86..c8feb654a2 100644
--- a/sysdeps/ieee754/ldbl-opt/w_scalbl.c
+++ b/sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_scalbl.c>
+#include <math/w_scalbl_compat.c>
 long_double_symbol (libm, __scalbl, scalbl);
diff --git a/sysdeps/ieee754/ldbl-opt/w_sinh.c b/sysdeps/ieee754/ldbl-opt/w_sinh_compat.c
index a5400b5eb1..b47182c017 100644
--- a/sysdeps/ieee754/ldbl-opt/w_sinh.c
+++ b/sysdeps/ieee754/ldbl-opt/w_sinh_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_sinh.c>
+#include <math/w_sinh_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
 compat_symbol (libm, __sinh, sinhl, GLIBC_2_0);
 #endif
diff --git a/sysdeps/ieee754/ldbl-opt/w_sinhl.c b/sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c
index b94f4ec845..305ed82357 100644
--- a/sysdeps/ieee754/ldbl-opt/w_sinhl.c
+++ b/sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_sinhl.c>
+#include <math/w_sinhl_compat.c>
 long_double_symbol (libm, __sinhl, sinhl);
diff --git a/sysdeps/ieee754/ldbl-opt/w_sqrt.c b/sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c
index ca2ba061e8..355d1c20db 100644
--- a/sysdeps/ieee754/ldbl-opt/w_sqrt.c
+++ b/sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_sqrt.c>
+#include <math/w_sqrt_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
 compat_symbol (libm, __sqrt, sqrtl, GLIBC_2_0);
 #endif
diff --git a/sysdeps/ieee754/ldbl-opt/w_sqrtl.c b/sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c
index 609f5bf3d6..1e4526f2c6 100644
--- a/sysdeps/ieee754/ldbl-opt/w_sqrtl.c
+++ b/sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_sqrtl.c>
+#include <math/w_sqrtl_compat.c>
 long_double_symbol (libm, __sqrtl, sqrtl);
diff --git a/sysdeps/ieee754/ldbl-opt/w_tgamma.c b/sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c
index cce9f348ed..082ce8aaff 100644
--- a/sysdeps/ieee754/ldbl-opt/w_tgamma.c
+++ b/sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <math/w_tgamma.c>
+#include <math/w_tgamma_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)
 compat_symbol (libm, __tgamma, tgammal, GLIBC_2_1);
 #endif
diff --git a/sysdeps/ieee754/ldbl-opt/w_tgammal.c b/sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c
index c3c511db8c..aaf5403522 100644
--- a/sysdeps/ieee754/ldbl-opt/w_tgammal.c
+++ b/sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
 #undef weak_alias
 #define weak_alias(n,a)
-#include <math/w_tgammal.c>
+#include <math/w_tgammal_compat.c>
 long_double_symbol (libm, __tgammal, tgammal);