aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/hppa
diff options
context:
space:
mode:
authorCarlos O'Donell <carlos@systemhalted.org>2011-10-20 14:30:56 -0400
committerCarlos O'Donell <carlos@systemhalted.org>2011-10-20 14:30:56 -0400
commit5ce24e77ed89f2a6c11175e3798050246dfd9c04 (patch)
tree1ff325df19b0aa166f5d00f4026068d307aab195 /sysdeps/hppa
parent2ab0965cb022dfdbd397eb88f96447393b4118b7 (diff)
downloadglibc-5ce24e77ed89f2a6c11175e3798050246dfd9c04.tar
glibc-5ce24e77ed89f2a6c11175e3798050246dfd9c04.tar.gz
glibc-5ce24e77ed89f2a6c11175e3798050246dfd9c04.tar.bz2
glibc-5ce24e77ed89f2a6c11175e3798050246dfd9c04.zip
Add hidden aliases for fenv.h functions.
Add hidden aliases for fegetenv, feupdateenv, and ftestexcept. This avoids libc needing to go through the PLT for these functions. Signed-off-by: Carlos O'Donell <carlos@codesourcery.com>
Diffstat (limited to 'sysdeps/hppa')
-rw-r--r--sysdeps/hppa/fpu/fegetenv.c3
-rw-r--r--sysdeps/hppa/fpu/feupdateenv.c3
-rw-r--r--sysdeps/hppa/fpu/ftestexcept.c3
3 files changed, 6 insertions, 3 deletions
diff --git a/sysdeps/hppa/fpu/fegetenv.c b/sysdeps/hppa/fpu/fegetenv.c
index fcf5d2dcfe..aab3431b2c 100644
--- a/sysdeps/hppa/fpu/fegetenv.c
+++ b/sysdeps/hppa/fpu/fegetenv.c
@@ -1,5 +1,5 @@
/* Store current floating-point environment.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by David Huggins-Daines <dhd@debian.org>, 2000
@@ -33,3 +33,4 @@ fegetenv (fenv_t *envp)
memcpy(envp, buf, sizeof (*envp));
return 0;
}
+libm_hidden_def (fegetenv)
diff --git a/sysdeps/hppa/fpu/feupdateenv.c b/sysdeps/hppa/fpu/feupdateenv.c
index 17140060ad..6e1d5d4b6d 100644
--- a/sysdeps/hppa/fpu/feupdateenv.c
+++ b/sysdeps/hppa/fpu/feupdateenv.c
@@ -1,5 +1,5 @@
/* Install given floating-point environment and raise exceptions.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by David Huggins-Daines <dhd@debian.org>, 2000
@@ -38,3 +38,4 @@ feupdateenv (const fenv_t *envp)
/* Success. */
return 0;
}
+libm_hidden_def (feupdateenv)
diff --git a/sysdeps/hppa/fpu/ftestexcept.c b/sysdeps/hppa/fpu/ftestexcept.c
index ac6d4b2e35..c031ffe6e8 100644
--- a/sysdeps/hppa/fpu/ftestexcept.c
+++ b/sysdeps/hppa/fpu/ftestexcept.c
@@ -1,5 +1,5 @@
/* Test exception in current environment.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by David Huggins-Daines <dhd@debian.org>, 2000
@@ -32,3 +32,4 @@ fetestexcept (int excepts)
return (s.sw[0] >> 27) & excepts & FE_ALL_EXCEPT;
}
+libm_hidden_def (fetestexcept)