about summary refs log tree commit diff
path: root/sysdeps/ieee754/ldbl-opt
diff options
context:
space:
mode:
authorSzabolcs Nagy <szabolcs.nagy@arm.com>2017-09-06 16:48:41 +0100
committerSzabolcs Nagy <szabolcs.nagy@arm.com>2017-09-13 17:22:22 +0100
commitbcea7ad608466a886767ddc743dce0df11980b5f (patch)
treebc49cdb3ef44792cb2cd49fe70fbf6f8da7c5757 /sysdeps/ieee754/ldbl-opt
parent0fc56478a969cd02475130526bf9b2a6e416993c (diff)
downloadglibc-bcea7ad608466a886767ddc743dce0df11980b5f.tar.gz
glibc-bcea7ad608466a886767ddc743dce0df11980b5f.tar.xz
glibc-bcea7ad608466a886767ddc743dce0df11980b5f.zip
Move exp compat wrappers under math/
Move exp compat wrappers to math/w_exp{,f,l}_compat.c to be
consistent with other wrappers.

	* sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
	* math/w_exp_compat.c: ... here.
	* sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
	* math/w_expf_compat.c: ... here.
	* sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
	* math/w_expl_compat.c: ... here.
	* sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
	* sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
	* sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
	* sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
Diffstat (limited to 'sysdeps/ieee754/ldbl-opt')
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_exp_compat.c2
-rw-r--r--sysdeps/ieee754/ldbl-opt/w_expl_compat.c7
2 files changed, 8 insertions, 1 deletions
diff --git a/sysdeps/ieee754/ldbl-opt/w_exp_compat.c b/sysdeps/ieee754/ldbl-opt/w_exp_compat.c
index 686c9c26d0..d01fe655ff 100644
--- a/sysdeps/ieee754/ldbl-opt/w_exp_compat.c
+++ b/sysdeps/ieee754/ldbl-opt/w_exp_compat.c
@@ -1,5 +1,5 @@
 #include <math_ldbl_opt.h>
-#include <sysdeps/ieee754/dbl-64/w_exp_compat.c>
+#include <math/w_exp_compat.c>
 #if LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)
 compat_symbol (libm, __exp, expl, GLIBC_2_0);
 #endif
diff --git a/sysdeps/ieee754/ldbl-opt/w_expl_compat.c b/sysdeps/ieee754/ldbl-opt/w_expl_compat.c
new file mode 100644
index 0000000000..4534051d88
--- /dev/null
+++ b/sysdeps/ieee754/ldbl-opt/w_expl_compat.c
@@ -0,0 +1,7 @@
+#include <math_ldbl_opt.h>
+#undef weak_alias
+#define weak_alias(n,a)
+#include <math/w_expl_compat.c>
+#if LIBM_SVID_COMPAT
+long_double_symbol (libm, __expl, expl);
+#endif