summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-08-25 13:38:26 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-09-11 14:46:07 -0300
commit2eb8836de7a1ac66eae048260e9272faf383287f (patch)
tree1dcef6feed8166a37d1d7d117732c9368c91d9a2 /math
parent1fdb73fb3c4193561ad87a870a2fb7f08ebbd21c (diff)
math: Add feclearexcept internal alias
To avoid linknamespace issues on old standards. It is required if the fallback fma implementation is used if/when it is also used internally for other implementation. Reviewed-by: DJ Delorie <dj@redhat.com>
Diffstat (limited to 'math')
-rw-r--r--math/fclrexcpt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/math/fclrexcpt.c b/math/fclrexcpt.c
index cd24c2536b..7ab92f4801 100644
--- a/math/fclrexcpt.c
+++ b/math/fclrexcpt.c
@@ -25,6 +25,7 @@ __feclearexcept (int excepts)
/* This always fails unless nothing needs to be done. */
return (excepts != 0);
}
+libm_hidden_def (__feclearexcept)
#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
strong_alias (__feclearexcept, __old_feclearexcept)
compat_symbol (libm, __old_feclearexcept, feclearexcept, GLIBC_2_1);