summaryrefslogtreecommitdiff
path: root/math
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 /math
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 'math')
-rw-r--r--math/ftestexcept.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/math/ftestexcept.c b/math/ftestexcept.c
index ba98df7f58..e0c4f2feab 100644
--- a/math/ftestexcept.c
+++ b/math/ftestexcept.c
@@ -19,9 +19,11 @@
#include <fenv.h>
int
-fetestexcept (int excepts)
+__fetestexcept (int excepts)
{
return 0;
}
+libm_hidden_def (__fetestexcept)
+weak_alias (__fetestexcept, fetestexcept)
libm_hidden_def (fetestexcept)
stub_warning (fetestexcept)