diff options
author | 2012-04-21 17:23:57 +0000 | |
---|---|---|
committer | 2012-04-21 17:23:57 +0000 | |
commit | 260b240cc401e10cb4c733b01c14aae725cda493 (patch) | |
tree | dad1b1902740c424580b3848f182e6b892f3bbdb /src/patchsets/glibc/2.14 | |
parent | fix tftp.h interaction with fortification #357083 (diff) | |
download | gentoo-260b240cc401e10cb4c733b01c14aae725cda493.tar.gz gentoo-260b240cc401e10cb4c733b01c14aae725cda493.tar.bz2 gentoo-260b240cc401e10cb4c733b01c14aae725cda493.zip |
add fetestexcept hppa libm patch to 2.14 too (it was merged after those releases) #412933
Diffstat (limited to 'src/patchsets/glibc/2.14')
-rw-r--r-- | src/patchsets/glibc/2.14/1510_all_glibc-2.13-hppa-libm.patch | 76 | ||||
-rw-r--r-- | src/patchsets/glibc/2.14/README.history | 1 |
2 files changed, 77 insertions, 0 deletions
diff --git a/src/patchsets/glibc/2.14/1510_all_glibc-2.13-hppa-libm.patch b/src/patchsets/glibc/2.14/1510_all_glibc-2.13-hppa-libm.patch new file mode 100644 index 0000000000..8e5aa5e425 --- /dev/null +++ b/src/patchsets/glibc/2.14/1510_all_glibc-2.13-hppa-libm.patch @@ -0,0 +1,76 @@ +https://bugs.gentoo.org/401675 + +From 5ce24e77ed89f2a6c11175e3798050246dfd9c04 Mon Sep 17 00:00:00 2001 +From: Carlos O'Donell <carlos@systemhalted.org> +Date: Thu, 20 Oct 2011 14:30:56 -0400 +Subject: [PATCH] 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> +--- + ChangeLog.hppa | 6 ++++++ + sysdeps/hppa/fpu/fegetenv.c | 3 ++- + sysdeps/hppa/fpu/feupdateenv.c | 3 ++- + sysdeps/hppa/fpu/ftestexcept.c | 3 ++- + 4 files changed, 12 insertions(+), 3 deletions(-) + +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. + +diff --git a/ports/sysdeps/hppa/fpu/fegetenv.c b/ports/sysdeps/hppa/fpu/fegetenv.c +index fcf5d2d..aab3431 100644 +--- a/ports/sysdeps/hppa/fpu/fegetenv.c ++++ b/ports/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/ports/sysdeps/hppa/fpu/feupdateenv.c b/ports/sysdeps/hppa/fpu/feupdateenv.c +index 1714006..6e1d5d4 100644 +--- a/ports/sysdeps/hppa/fpu/feupdateenv.c ++++ b/ports/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/ports/sysdeps/hppa/fpu/ftestexcept.c b/ports/sysdeps/hppa/fpu/ftestexcept.c +index ac6d4b2..c031ffe 100644 +--- a/ports/sysdeps/hppa/fpu/ftestexcept.c ++++ b/ports/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) +-- +1.7.8.4 + diff --git a/src/patchsets/glibc/2.14/README.history b/src/patchsets/glibc/2.14/README.history index 038f5c0cd2..dd9edc4531 100644 --- a/src/patchsets/glibc/2.14/README.history +++ b/src/patchsets/glibc/2.14/README.history @@ -1,5 +1,6 @@ 8 [pending] - 1103_all_glibc-new-valencian-locale.patch + + 1510_all_glibc-2.13-hppa-libm.patch + 6305_all_glibc-2.11-s390-older-binutils.patch 7 31 Aug 2011 |