summaryrefslogtreecommitdiff
path: root/math/w_exp10_compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/w_exp10_compat.c')
-rw-r--r--math/w_exp10_compat.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/math/w_exp10_compat.c b/math/w_exp10_compat.c
index 64f1d19950..5256f5b06f 100644
--- a/math/w_exp10_compat.c
+++ b/math/w_exp10_compat.c
@@ -37,11 +37,15 @@ __exp10 (double x)
return z;
}
weak_alias (__exp10, exp10)
+#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)
strong_alias (__exp10, __pow10)
-weak_alias (__pow10, pow10)
+compat_symbol (libm, __pow10, pow10, GLIBC_2_1);
+#endif
#ifdef NO_LONG_DOUBLE
strong_alias (__exp10, __exp10l)
weak_alias (__exp10, exp10l)
+# if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)
strong_alias (__exp10l, __pow10l)
-weak_alias (__pow10l, pow10l)
+compat_symbol (libm, __pow10l, pow10l, GLIBC_2_1);
+# endif
#endif