summaryrefslogtreecommitdiff
path: root/sysdeps/x86_64
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 /sysdeps/x86_64
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 'sysdeps/x86_64')
-rw-r--r--sysdeps/x86_64/fpu/fclrexcpt.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/x86_64/fpu/fclrexcpt.c b/sysdeps/x86_64/fpu/fclrexcpt.c
index ba784666af..3bbb5a2b48 100644
--- a/sysdeps/x86_64/fpu/fclrexcpt.c
+++ b/sysdeps/x86_64/fpu/fclrexcpt.c
@@ -19,7 +19,7 @@
#include <fenv.h>
int
-feclearexcept (int excepts)
+__feclearexcept (int excepts)
{
fenv_t temp;
unsigned int mxcsr;
@@ -49,4 +49,6 @@ feclearexcept (int excepts)
/* Success. */
return 0;
}
+libm_hidden_def (__feclearexcept)
+weak_alias (__feclearexcept, feclearexcept)
libm_hidden_def (feclearexcept)