diff options
Diffstat (limited to 'sysdeps/x86_64/fpu/fegetenv.c')
-rw-r--r-- | sysdeps/x86_64/fpu/fegetenv.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sysdeps/x86_64/fpu/fegetenv.c b/sysdeps/x86_64/fpu/fegetenv.c index 0e0c269375..d150e8fc43 100644 --- a/sysdeps/x86_64/fpu/fegetenv.c +++ b/sysdeps/x86_64/fpu/fegetenv.c @@ -19,7 +19,7 @@ #include <fenv.h> int -fegetenv (fenv_t *envp) +__fegetenv (fenv_t *envp) { __asm__ ("fnstenv %0\n" /* fnstenv changes the exception mask, so load back the @@ -30,4 +30,6 @@ fegetenv (fenv_t *envp) /* Success. */ return 0; } -libm_hidden_def (fegetenv) +libm_hidden_def (__fegetenv) +weak_alias (__fegetenv, fegetenv) +libm_hidden_weak (fegetenv) |