]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Move w_lgamma to libm-compat-calls-auto
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Wed, 21 Dec 2016 11:33:32 +0000 (09:33 -0200)
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Wed, 8 Feb 2017 19:40:11 +0000 (17:40 -0200)
This patch adds the suffix "_compat2" to the wrappers for lgamma,
which use _LIB_VERSION / matherr / __kernel_standard functionality.
The suffix "_compat2" is used because the suffix "_compat" is already
used.

Tested for powerpc64le, s390, and x86_64.

* math/Makefile (libm-calls): Move w_lgammaF...
(libm-compat-calls-auto): Here.

* math/w_lgamma.c: Add suffix "_compat2" to filename.
* math/w_lgammaf.c: Likewise.
* math/w_lgammal.c: Likewise.

* math/w_lgamma_compat2.c: New file, copied from above.
* math/w_lgammaf_compat2.c: Likewise.
* math/w_lgammal_compat2.c: Likewise.

ChangeLog
math/Makefile
math/w_lgamma_compat2.c [moved from math/w_lgamma.c with 100% similarity]
math/w_lgammaf_compat2.c [moved from math/w_lgammaf.c with 100% similarity]
math/w_lgammal_compat2.c [moved from math/w_lgammal.c with 100% similarity]

index eb92a66a9de202ff64be29a5333c769fa5163a7e..f755cd3cf54cea1a237cb5af84b3a6a0860c61d8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
+
+       * math/Makefile (libm-calls): Move w_lgammaF...
+       (libm-compat-calls-auto): Here.
+
+       * math/w_lgamma.c: Add suffix "_compat2" to filename.
+       * math/w_lgammaf.c: Likewise.
+       * math/w_lgammal.c: Likewise.
+
+       * math/w_lgamma_compat2.c: New file, copied from above.
+       * math/w_lgammaf_compat2.c: Likewise.
+       * math/w_lgammal_compat2.c: Likewise.
+
 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
 
        * math/Makefile (libm-calls): Move w_lgammaF_r...
index 7a456da7a2b3d8f309c3e72fc0cb286bd8329f16..fbbef4926871e69bd8d7165643d0e57fc3a22c7e 100644 (file)
@@ -67,7 +67,6 @@ libm-calls =                                                            \
        s_nextafterF s_nexttowardF s_rintF s_scalblnF                     \
        s_significandF s_sinF s_tanF s_tanhF                              \
        w_expF                                                            \
-       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           \
@@ -84,7 +83,7 @@ libm-compat-calls-auto =                                              \
        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_lgammaF_r_compat
+       w_lgammaF_r_compat w_lgammaF_compat2
 
 libm-compat-calls-ldouble-yes = w_lgamma_compatl k_standardl
 libm-compat-calls = w_lgamma_compatf w_lgamma_compat k_standard k_standardf \
similarity index 100%
rename from math/w_lgamma.c
rename to math/w_lgamma_compat2.c
similarity index 100%
rename from math/w_lgammaf.c
rename to math/w_lgammaf_compat2.c
similarity index 100%
rename from math/w_lgammal.c
rename to math/w_lgammal_compat2.c