about summary refs log tree commit diff
path: root/math/w_lgamma_compat2.c
diff options
context:
space:
mode:
authorGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2016-12-21 09:33:32 -0200
committerGabriel F. T. Gomes <gftg@linux.vnet.ibm.com>2017-02-08 17:40:11 -0200
commit163f65e28c22d60a72726b8f07ed5756da05c929 (patch)
treef0eab29419f3e44afdd9009d3553dd794e94de50 /math/w_lgamma_compat2.c
parentea814db27ae450f9ce1b233dfeeea608d485adde (diff)
downloadglibc-163f65e28c22d60a72726b8f07ed5756da05c929.tar.gz
glibc-163f65e28c22d60a72726b8f07ed5756da05c929.tar.xz
glibc-163f65e28c22d60a72726b8f07ed5756da05c929.zip
Move w_lgamma to libm-compat-calls-auto
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.
Diffstat (limited to 'math/w_lgamma_compat2.c')
-rw-r--r--math/w_lgamma_compat2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/math/w_lgamma_compat2.c b/math/w_lgamma_compat2.c
new file mode 100644
index 0000000000..8bb33e0472
--- /dev/null
+++ b/math/w_lgamma_compat2.c
@@ -0,0 +1,2 @@
+#define USE_AS_COMPAT 0
+#include <w_lgamma_main.c>