diff options
author | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2016-12-21 10:20:08 -0200 |
---|---|---|
committer | Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com> | 2017-02-08 17:36:09 -0200 |
commit | ea814db27ae450f9ce1b233dfeeea608d485adde (patch) | |
tree | 8011c44b91d64d4d76c3b3d166303deb830555b0 /math/Makefile | |
parent | 42de7e20299e0bab8b8b761b34ebcd4b60c68132 (diff) | |
download | glibc-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 'math/Makefile')
-rw-r--r-- | math/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/math/Makefile b/math/Makefile index 9edea26..7a456da 100644 --- a/math/Makefile +++ b/math/Makefile @@ -67,7 +67,7 @@ libm-calls = \ s_nextafterF s_nexttowardF s_rintF s_scalblnF \ s_significandF s_sinF s_tanF s_tanhF \ w_expF \ - w_lgammaF w_lgammaF_r \ + w_lgammaF \ s_fpclassifyF s_truncF \ s_remquoF e_log2F e_exp2F s_roundF s_nearbyintF s_sincosF \ s_fmaF s_lrintF s_llrintF s_lroundF s_llroundF e_exp10F \ @@ -83,7 +83,8 @@ libm-compat-calls-auto = \ w_fmodF_compat w_hypotF_compat w_j0F_compat w_j1F_compat \ w_jnF_compat w_log2F_compat w_log10F_compat w_logF_compat \ w_powF_compat w_remainderF_compat w_scalbF_compat \ - w_sinhF_compat w_sqrtF_compat w_tgammaF_compat + w_sinhF_compat w_sqrtF_compat w_tgammaF_compat \ + w_lgammaF_r_compat libm-compat-calls-ldouble-yes = w_lgamma_compatl k_standardl libm-compat-calls = w_lgamma_compatf w_lgamma_compat k_standard k_standardf \ |