From ea814db27ae450f9ce1b233dfeeea608d485adde Mon Sep 17 00:00:00 2001 From: "Gabriel F. T. Gomes" Date: Wed, 21 Dec 2016 10:20:08 -0200 Subject: 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. --- sysdeps/ia64/fpu/w_lgamma_r.c | 1 - sysdeps/ia64/fpu/w_lgamma_r_compat.c | 1 + sysdeps/ia64/fpu/w_lgammaf_r.c | 1 - sysdeps/ia64/fpu/w_lgammaf_r_compat.c | 1 + sysdeps/ia64/fpu/w_lgammal_r.c | 1 - sysdeps/ia64/fpu/w_lgammal_r_compat.c | 1 + 6 files changed, 3 insertions(+), 3 deletions(-) delete mode 100644 sysdeps/ia64/fpu/w_lgamma_r.c create mode 100644 sysdeps/ia64/fpu/w_lgamma_r_compat.c delete mode 100644 sysdeps/ia64/fpu/w_lgammaf_r.c create mode 100644 sysdeps/ia64/fpu/w_lgammaf_r_compat.c delete mode 100644 sysdeps/ia64/fpu/w_lgammal_r.c create mode 100644 sysdeps/ia64/fpu/w_lgammal_r_compat.c (limited to 'sysdeps/ia64') diff --git a/sysdeps/ia64/fpu/w_lgamma_r.c b/sysdeps/ia64/fpu/w_lgamma_r.c deleted file mode 100644 index 41254ae..0000000 --- a/sysdeps/ia64/fpu/w_lgamma_r.c +++ /dev/null @@ -1 +0,0 @@ -/* Not needed. */ diff --git a/sysdeps/ia64/fpu/w_lgamma_r_compat.c b/sysdeps/ia64/fpu/w_lgamma_r_compat.c new file mode 100644 index 0000000..41254ae --- /dev/null +++ b/sysdeps/ia64/fpu/w_lgamma_r_compat.c @@ -0,0 +1 @@ +/* Not needed. */ diff --git a/sysdeps/ia64/fpu/w_lgammaf_r.c b/sysdeps/ia64/fpu/w_lgammaf_r.c deleted file mode 100644 index 41254ae..0000000 --- a/sysdeps/ia64/fpu/w_lgammaf_r.c +++ /dev/null @@ -1 +0,0 @@ -/* Not needed. */ diff --git a/sysdeps/ia64/fpu/w_lgammaf_r_compat.c b/sysdeps/ia64/fpu/w_lgammaf_r_compat.c new file mode 100644 index 0000000..41254ae --- /dev/null +++ b/sysdeps/ia64/fpu/w_lgammaf_r_compat.c @@ -0,0 +1 @@ +/* Not needed. */ diff --git a/sysdeps/ia64/fpu/w_lgammal_r.c b/sysdeps/ia64/fpu/w_lgammal_r.c deleted file mode 100644 index 41254ae..0000000 --- a/sysdeps/ia64/fpu/w_lgammal_r.c +++ /dev/null @@ -1 +0,0 @@ -/* Not needed. */ diff --git a/sysdeps/ia64/fpu/w_lgammal_r_compat.c b/sysdeps/ia64/fpu/w_lgammal_r_compat.c new file mode 100644 index 0000000..41254ae --- /dev/null +++ b/sysdeps/ia64/fpu/w_lgammal_r_compat.c @@ -0,0 +1 @@ +/* Not needed. */ -- cgit v1.1