summaryrefslogtreecommitdiff
path: root/sysdeps/sparc/fpu
diff options
context:
space:
mode:
authorAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-08-25 13:38:30 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2025-09-11 14:46:07 -0300
commit63ba1a15094c55c26b464b14592a5dbb12595f2f (patch)
tree2b75a0bd4eecc113e951f3ec3561c81872ac063f /sysdeps/sparc/fpu
parent41c2f1d9a3d58829317e84e27acda74beca8c1e0 (diff)
math: Add fetestexcept 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/sparc/fpu')
-rw-r--r--sysdeps/sparc/fpu/ftestexcept.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/sparc/fpu/ftestexcept.c b/sysdeps/sparc/fpu/ftestexcept.c
index 77a3b2e39d..44f6767e8c 100644
--- a/sysdeps/sparc/fpu/ftestexcept.c
+++ b/sysdeps/sparc/fpu/ftestexcept.c
@@ -20,7 +20,7 @@
#include <fenv_private.h>
int
-fetestexcept (int excepts)
+__fetestexcept (int excepts)
{
fenv_t tmp;
@@ -28,4 +28,6 @@ fetestexcept (int excepts)
return tmp & excepts & FE_ALL_EXCEPT;
}
+libm_hidden_def (__fetestexcept)
+weak_alias (__fetestexcept, fetestexcept)
libm_hidden_def (fetestexcept)