aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2016-12-21 10:20:08 -0200
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2017-02-08 17:36:09 -0200
commitea814db27ae450f9ce1b233dfeeea608d485adde (patch)
tree8011c44b91d64d4d76c3b3d166303deb830555b0 /sysdeps
parent42de7e20299e0bab8b8b761b34ebcd4b60c68132 (diff)
downloadglibc-ea814db27ae450f9ce1b233dfeeea608d485adde.zip
glibc-ea814db27ae450f9ce1b233dfeeea608d485adde.tar.gz
glibc-ea814db27ae450f9ce1b233dfeeea608d485adde.tar.bz2
Move w_lgamma_r to libm-compat-calls-auto
This patch adds the suffix "_compat" to lgamma_r wrappers and make some adjustments to #includes and Makefiles. This is a step towards deprecation of wrappers that use _LIB_VERSION / matherr / __kernel_standard functionality. Tested for powerpc64le, s390, and x86_64. * math/Makefile (libm-calls): Move w_lgammaF_r... (libm-compat-calls-auto): Here. * math/w_lgamma_r.c: Add suffix "_compat" to filename. * math/w_lgammaf_r.c: Likewise. * math/w_lgammal_r.c: Likewise. * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise. * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise. * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise. * math/w_lgamma_r_compat.c: New file, copied from above. * math/w_lgammaf_r_compat.c: Likewise. * math/w_lgammal_r_compat.c: Likewise. * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise. * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise. * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise. * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat" to filename. * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise. * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file copied from above and adjusted for the new filenames. * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/ia64/fpu/w_lgamma_r_compat.c (renamed from sysdeps/ia64/fpu/w_lgamma_r.c)0
-rw-r--r--sysdeps/ia64/fpu/w_lgammaf_r_compat.c (renamed from sysdeps/ia64/fpu/w_lgammaf_r.c)0
-rw-r--r--sysdeps/ia64/fpu/w_lgammal_r_compat.c (renamed from sysdeps/ia64/fpu/w_lgammal_r.c)0
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_lgamma_r.c)2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c (renamed from sysdeps/ieee754/ldbl-opt/w_lgammal_r.c)2
5 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/ia64/fpu/w_lgamma_r.c b/sysdeps/ia64/fpu/w_lgamma_r_compat.c
index 41254ae..41254ae 100644
--- a/sysdeps/ia64/fpu/w_lgamma_r.c
+++ b/sysdeps/ia64/fpu/w_lgamma_r_compat.c
diff --git a/sysdeps/ia64/fpu/w_lgammaf_r.c b/sysdeps/ia64/fpu/w_lgammaf_r_compat.c
index 41254ae..41254ae 100644
--- a/sysdeps/ia64/fpu/w_lgammaf_r.c
+++ b/sysdeps/ia64/fpu/w_lgammaf_r_compat.c
diff --git a/sysdeps/ia64/fpu/w_lgammal_r.c b/sysdeps/ia64/fpu/w_lgammal_r_compat.c
index 41254ae..41254ae 100644
--- a/sysdeps/ia64/fpu/w_lgammal_r.c
+++ b/sysdeps/ia64/fpu/w_lgammal_r_compat.c
diff --git a/sysdeps/ieee754/ldbl-opt/w_lgamma_r.c b/sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c
index eeab6a6..673954c 100644
--- a/sysdeps/ieee754/ldbl-opt/w_lgamma_r.c
+++ b/sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c
@@ -1,5 +1,5 @@
#include <math_ldbl_opt.h>
-#include <math/w_lgamma_r.c>
+#include <math/w_lgamma_r_compat.c>
#if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
compat_symbol (libm, __lgamma_r, lgammal_r, GLIBC_2_0);
#endif
diff --git a/sysdeps/ieee754/ldbl-opt/w_lgammal_r.c b/sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c
index 2545975..6fdf2bb 100644
--- a/sysdeps/ieee754/ldbl-opt/w_lgammal_r.c
+++ b/sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c
@@ -1,5 +1,5 @@
#include <math_ldbl_opt.h>
#undef weak_alias
#define weak_alias(n,a)
-#include <math/w_lgammal_r.c>
+#include <math/w_lgammal_r_compat.c>
long_double_symbol (libm, __lgammal_r, lgammal_r);