Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/glibc/2.14: 1510_all_glibc-2.13-hppa-libm.patch README.history
Date: Sat, 21 Apr 2012 17:24:07
Message-Id: 20120421172357.30C9A2004B@flycatcher.gentoo.org
1 vapier 12/04/21 17:23:57
2
3 Modified: README.history
4 Added: 1510_all_glibc-2.13-hppa-libm.patch
5 Log:
6 add fetestexcept hppa libm patch to 2.14 too (it was merged after those releases) #412933
7
8 Revision Changes Path
9 1.13 src/patchsets/glibc/2.14/README.history
10
11 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.14/README.history?rev=1.13&view=markup
12 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.14/README.history?rev=1.13&content-type=text/plain
13 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.14/README.history?r1=1.12&r2=1.13
14
15 Index: README.history
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo/src/patchsets/glibc/2.14/README.history,v
18 retrieving revision 1.12
19 retrieving revision 1.13
20 diff -u -r1.12 -r1.13
21 --- README.history 9 Apr 2012 20:17:31 -0000 1.12
22 +++ README.history 21 Apr 2012 17:23:57 -0000 1.13
23 @@ -1,5 +1,6 @@
24 8 [pending]
25 - 1103_all_glibc-new-valencian-locale.patch
26 + + 1510_all_glibc-2.13-hppa-libm.patch
27 + 6305_all_glibc-2.11-s390-older-binutils.patch
28
29 7 31 Aug 2011
30
31
32
33 1.1 src/patchsets/glibc/2.14/1510_all_glibc-2.13-hppa-libm.patch
34
35 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.14/1510_all_glibc-2.13-hppa-libm.patch?rev=1.1&view=markup
36 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/2.14/1510_all_glibc-2.13-hppa-libm.patch?rev=1.1&content-type=text/plain
37
38 Index: 1510_all_glibc-2.13-hppa-libm.patch
39 ===================================================================
40 https://bugs.gentoo.org/401675
41
42 From 5ce24e77ed89f2a6c11175e3798050246dfd9c04 Mon Sep 17 00:00:00 2001
43 From: Carlos O'Donell <carlos@××××××××××××.org>
44 Date: Thu, 20 Oct 2011 14:30:56 -0400
45 Subject: [PATCH] Add hidden aliases for fenv.h functions.
46
47 Add hidden aliases for fegetenv, feupdateenv, and
48 ftestexcept. This avoids libc needing to go through
49 the PLT for these functions.
50
51 Signed-off-by: Carlos O'Donell <carlos@××××××××××××.com>
52 ---
53 ChangeLog.hppa | 6 ++++++
54 sysdeps/hppa/fpu/fegetenv.c | 3 ++-
55 sysdeps/hppa/fpu/feupdateenv.c | 3 ++-
56 sysdeps/hppa/fpu/ftestexcept.c | 3 ++-
57 4 files changed, 12 insertions(+), 3 deletions(-)
58
59 2011-10-20 Carlos O'Donell <carlos@××××××××××××.org>
60
61 * sysdeps/hppa/fpu/fegetenv.c: Add hidden alias.
62 * sysdeps/hppa/fpu/feupdateenv.c: Likewise.
63 * sysdeps/hppa/fpu/ftestexcept.c: Likewise.
64
65 diff --git a/ports/sysdeps/hppa/fpu/fegetenv.c b/ports/sysdeps/hppa/fpu/fegetenv.c
66 index fcf5d2d..aab3431 100644
67 --- a/ports/sysdeps/hppa/fpu/fegetenv.c
68 +++ b/ports/sysdeps/hppa/fpu/fegetenv.c
69 @@ -1,5 +1,5 @@
70 /* Store current floating-point environment.
71 - Copyright (C) 2000 Free Software Foundation, Inc.
72 + Copyright (C) 2000, 2011 Free Software Foundation, Inc.
73 This file is part of the GNU C Library.
74 Contributed by David Huggins-Daines <dhd@××××××.org>, 2000
75
76 @@ -33,3 +33,4 @@ fegetenv (fenv_t *envp)
77 memcpy(envp, buf, sizeof (*envp));
78 return 0;
79 }
80 +libm_hidden_def (fegetenv)
81 diff --git a/ports/sysdeps/hppa/fpu/feupdateenv.c b/ports/sysdeps/hppa/fpu/feupdateenv.c
82 index 1714006..6e1d5d4 100644
83 --- a/ports/sysdeps/hppa/fpu/feupdateenv.c
84 +++ b/ports/sysdeps/hppa/fpu/feupdateenv.c
85 @@ -1,5 +1,5 @@
86 /* Install given floating-point environment and raise exceptions.
87 - Copyright (C) 2000 Free Software Foundation, Inc.
88 + Copyright (C) 2000, 2011 Free Software Foundation, Inc.
89 This file is part of the GNU C Library.
90 Contributed by David Huggins-Daines <dhd@××××××.org>, 2000
91
92 @@ -38,3 +38,4 @@ feupdateenv (const fenv_t *envp)
93 /* Success. */
94 return 0;
95 }
96 +libm_hidden_def (feupdateenv)
97 diff --git a/ports/sysdeps/hppa/fpu/ftestexcept.c b/ports/sysdeps/hppa/fpu/ftestexcept.c
98 index ac6d4b2..c031ffe 100644
99 --- a/ports/sysdeps/hppa/fpu/ftestexcept.c
100 +++ b/ports/sysdeps/hppa/fpu/ftestexcept.c
101 @@ -1,5 +1,5 @@
102 /* Test exception in current environment.
103 - Copyright (C) 2000 Free Software Foundation, Inc.
104 + Copyright (C) 2000, 2011 Free Software Foundation, Inc.
105 This file is part of the GNU C Library.
106 Contributed by David Huggins-Daines <dhd@××××××.org>, 2000
107
108 @@ -32,3 +32,4 @@ fetestexcept (int excepts)
109
110 return (s.sw[0] >> 27) & excepts & FE_ALL_EXCEPT;
111 }
112 +libm_hidden_def (fetestexcept)
113 --
114 1.7.8.4