aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/s390/fpu
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2010-02-09 22:34:17 -0800
committerUlrich Drepper <drepper@redhat.com>2010-02-09 22:34:17 -0800
commit7eb22e757edecb72754f314c8ffb44350a1dadbc (patch)
treeedf87c5ba4afffb70dc551b1118ff2389cfe0177 /sysdeps/s390/fpu
parent0cbcca89bad6656bfda8c60e143295e0f00054b6 (diff)
downloadglibc-7eb22e757edecb72754f314c8ffb44350a1dadbc.tar
glibc-7eb22e757edecb72754f314c8ffb44350a1dadbc.tar.gz
glibc-7eb22e757edecb72754f314c8ffb44350a1dadbc.tar.bz2
glibc-7eb22e757edecb72754f314c8ffb44350a1dadbc.zip
Avoid PLT call to fegetenv on s390
Diffstat (limited to 'sysdeps/s390/fpu')
-rw-r--r--sysdeps/s390/fpu/fegetenv.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sysdeps/s390/fpu/fegetenv.c b/sysdeps/s390/fpu/fegetenv.c
index a244f2ca8b..04da54c94c 100644
--- a/sysdeps/s390/fpu/fegetenv.c
+++ b/sysdeps/s390/fpu/fegetenv.c
@@ -20,10 +20,6 @@
#include <fenv_libc.h>
#include <fpu_control.h>
-#include <stddef.h>
-#include <asm/ptrace.h>
-#include <sys/ptrace.h>
-#include <unistd.h>
int
fegetenv (fenv_t *envp)
@@ -33,3 +29,4 @@ fegetenv (fenv_t *envp)
/* Success. */
return 0;
}
+libm_hidden_def (fegetenv)