]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Add hidden aliases for fenv.h functions.
authorCarlos O'Donell <carlos@systemhalted.org>
Thu, 20 Oct 2011 18:30:56 +0000 (14:30 -0400)
committerCarlos O'Donell <carlos@systemhalted.org>
Thu, 20 Oct 2011 18:30:56 +0000 (14:30 -0400)
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>
ChangeLog.hppa
sysdeps/hppa/fpu/fegetenv.c
sysdeps/hppa/fpu/feupdateenv.c
sysdeps/hppa/fpu/ftestexcept.c

index 91ddf8d750b5e19f5fa9d58a41cd53b2145ac583..41a779e98e20d739ba61d9fbcc02a5b68d47bb01 100644 (file)
@@ -1,3 +1,9 @@
+2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
+
+       * sysdeps/hppa/fpu/fegetenv.c: Add hidden alias.
+       * sysdeps/hppa/fpu/feupdateenv.c: Likewise.
+       * sysdeps/hppa/fpu/ftestexcept.c: Likewise.
+
 2011-10-20  Carlos O'Donell  <carlos@systemhalted.org>
 
        * sysdeps/hppa/dl-tls.h: Update copyright year.
index fcf5d2dcfe23111fae1808381e7d5db8977c38dd..aab3431b2c3ca4ddf89e128b4752b28db8a9ade7 100644 (file)
@@ -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)
index 17140060ad6bea698d58d5ae6095a93e44afae09..6e1d5d4b6d497985c39d4ddb6e91790e8340d9b1 100644 (file)
@@ -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)
index ac6d4b2e350c4769654a90714c4ec70e5cc0e953..c031ffe6e8b66b37e40f547d7d98d1c32e4baf18 100644 (file)
@@ -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)