1 |
vapier 12/11/29 05:03:34 |
2 |
|
3 |
Modified: README.history |
4 |
Added: 05_all_gcc-4.2.x-siginfo.patch |
5 |
Log: |
6 |
fix from upstream for building with newer glibc #424970 |
7 |
|
8 |
Revision Changes Path |
9 |
1.7 src/patchsets/gcc/4.2.4/gentoo/README.history |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.2.4/gentoo/README.history?rev=1.7&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.2.4/gentoo/README.history?rev=1.7&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.2.4/gentoo/README.history?r1=1.6&r2=1.7 |
14 |
|
15 |
Index: README.history |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo/src/patchsets/gcc/4.2.4/gentoo/README.history,v |
18 |
retrieving revision 1.6 |
19 |
retrieving revision 1.7 |
20 |
diff -u -r1.6 -r1.7 |
21 |
--- README.history 22 Nov 2012 04:02:42 -0000 1.6 |
22 |
+++ README.history 29 Nov 2012 05:03:34 -0000 1.7 |
23 |
@@ -1,6 +1,7 @@ |
24 |
-1.2 [pending] |
25 |
+1.2 29 Nov 2012 |
26 |
+ 01_all_gcc-4.1-alpha-asm-mcpu.patch |
27 |
- 03_all_gcc4-java-nomulti.patch |
28 |
+ + 05_all_gcc-4.2.x-siginfo.patch |
29 |
+ 63_all_gcc42-pr28482.patch |
30 |
|
31 |
1.1 15 Jan 2009 |
32 |
|
33 |
|
34 |
|
35 |
1.1 src/patchsets/gcc/4.2.4/gentoo/05_all_gcc-4.2.x-siginfo.patch |
36 |
|
37 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.2.4/gentoo/05_all_gcc-4.2.x-siginfo.patch?rev=1.1&view=markup |
38 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/gcc/4.2.4/gentoo/05_all_gcc-4.2.x-siginfo.patch?rev=1.1&content-type=text/plain |
39 |
|
40 |
Index: 05_all_gcc-4.2.x-siginfo.patch |
41 |
=================================================================== |
42 |
https://bugs.gentoo.org/424970 |
43 |
|
44 |
fix from upstream for building with newer glibc versions |
45 |
|
46 |
From f0cdca2bf2230005025e13e7354fedb612933c96 Mon Sep 17 00:00:00 2001 |
47 |
From: tschwinge <tschwinge@138bc75d-0d04-0410-961f-82ee72b054a4> |
48 |
Date: Fri, 20 Apr 2012 08:14:00 +0000 |
49 |
Subject: [PATCH] struct siginfo vs. siginfo_t |
50 |
|
51 |
Backport from trunk (but apply to gcc/): |
52 |
|
53 |
2012-04-20 Thomas Schwinge <thomas@××××××××××××.com> |
54 |
|
55 |
gcc/ |
56 |
* config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use |
57 |
siginfo_t instead of struct siginfo. |
58 |
* config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise. |
59 |
* config/ia64/linux-unwind.h (ia64_fallback_frame_state) |
60 |
(ia64_handle_unwabi): Likewise. |
61 |
* config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise. |
62 |
* config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise. |
63 |
* config/sh/linux-unwind.h (shmedia_fallback_frame_state) |
64 |
(sh_fallback_frame_state): Likewise. |
65 |
|
66 |
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/gcc-4_5-branch@186613 138bc75d-0d04-0410-961f-82ee72b054a4 |
67 |
--- |
68 |
gcc/ChangeLog | 20 ++++++++++++++++++++ |
69 |
gcc/config/alpha/linux-unwind.h | 4 ++-- |
70 |
gcc/config/i386/linux-unwind.h | 6 +++--- |
71 |
gcc/config/ia64/linux-unwind.h | 6 +++--- |
72 |
gcc/config/mips/linux-unwind.h | 5 +++-- |
73 |
gcc/config/pa/linux-unwind.h | 4 ++-- |
74 |
gcc/config/sh/linux-unwind.h | 9 +++++---- |
75 |
9 files changed, 43 insertions(+), 21 deletions(-) |
76 |
|
77 |
diff --git a/gcc/config/alpha/linux-unwind.h b/gcc/config/alpha/linux-unwind.h |
78 |
index 4c811dc..8c04b3b 100644 |
79 |
--- a/gcc/config/alpha/linux-unwind.h |
80 |
+++ b/gcc/config/alpha/linux-unwind.h |
81 |
@@ -49,7 +49,7 @@ alpha_fallback_frame_state (struct _Unwind_Context *context, |
82 |
else if (pc[1] == 0x201f015f) /* lda $0,NR_rt_sigreturn */ |
83 |
{ |
84 |
struct rt_sigframe { |
85 |
- struct siginfo info; |
86 |
+ siginfo_t info; |
87 |
struct ucontext uc; |
88 |
} *rt_ = context->cfa; |
89 |
sc = &rt_->uc.uc_mcontext; |
90 |
diff --git a/gcc/config/i386/linux-unwind.h b/gcc/config/i386/linux-unwind.h |
91 |
index 36ee370..fe0ea3e 100644 |
92 |
--- a/gcc/config/i386/linux-unwind.h |
93 |
+++ b/gcc/config/i386/linux-unwind.h |
94 |
@@ -133,9 +133,9 @@ x86_fallback_frame_state (struct _Unwind_Context *context, |
95 |
{ |
96 |
struct rt_sigframe { |
97 |
int sig; |
98 |
- struct siginfo *pinfo; |
99 |
+ siginfo_t *pinfo; |
100 |
void *puc; |
101 |
- struct siginfo info; |
102 |
+ siginfo_t info; |
103 |
struct ucontext uc; |
104 |
} *rt_ = context->cfa; |
105 |
/* The void * cast is necessary to avoid an aliasing warning. |
106 |
diff --git a/gcc/config/ia64/linux-unwind.h b/gcc/config/ia64/linux-unwind.h |
107 |
index 93f762d..da31259 100644 |
108 |
--- a/gcc/config/ia64/linux-unwind.h |
109 |
+++ b/gcc/config/ia64/linux-unwind.h |
110 |
@@ -47,7 +47,7 @@ ia64_fallback_frame_state (struct _Unwind_Context *context, |
111 |
struct sigframe { |
112 |
char scratch[16]; |
113 |
unsigned long sig_number; |
114 |
- struct siginfo *info; |
115 |
+ siginfo_t *info; |
116 |
struct sigcontext *sc; |
117 |
} *frame_ = (struct sigframe *)context->psp; |
118 |
struct sigcontext *sc = frame_->sc; |
119 |
@@ -137,7 +137,7 @@ ia64_handle_unwabi (struct _Unwind_Context *context, _Unwind_FrameState *fs) |
120 |
struct sigframe { |
121 |
char scratch[16]; |
122 |
unsigned long sig_number; |
123 |
- struct siginfo *info; |
124 |
+ siginfo_t *info; |
125 |
struct sigcontext *sc; |
126 |
} *frame = (struct sigframe *)context->psp; |
127 |
struct sigcontext *sc = frame->sc; |
128 |
diff --git a/gcc/config/mips/linux-unwind.h b/gcc/config/mips/linux-unwind.h |
129 |
index 02f7cd5..094ff58 100644 |
130 |
--- a/gcc/config/mips/linux-unwind.h |
131 |
+++ b/gcc/config/mips/linux-unwind.h |
132 |
@@ -75,7 +76,7 @@ mips_fallback_frame_state (struct _Unwind_Context *context, |
133 |
struct rt_sigframe { |
134 |
u_int32_t ass[4]; /* Argument save space for o32. */ |
135 |
u_int32_t trampoline[2]; |
136 |
- struct siginfo info; |
137 |
+ siginfo_t info; |
138 |
_sig_ucontext_t uc; |
139 |
} *rt_ = context->cfa; |
140 |
sc = &rt_->uc.uc_mcontext; |
141 |
diff --git a/gcc/config/pa/linux-unwind.h b/gcc/config/pa/linux-unwind.h |
142 |
index a0560e9..38b4eda 100644 |
143 |
--- a/gcc/config/pa/linux-unwind.h |
144 |
+++ b/gcc/config/pa/linux-unwind.h |
145 |
@@ -63,7 +63,7 @@ pa32_fallback_frame_state (struct _Unwind_Context *context, |
146 |
int i; |
147 |
struct sigcontext *sc; |
148 |
struct rt_sigframe { |
149 |
- struct siginfo info; |
150 |
+ siginfo_t info; |
151 |
struct ucontext uc; |
152 |
} *frame; |
153 |
|
154 |
diff --git a/gcc/config/sh/linux-unwind.h b/gcc/config/sh/linux-unwind.h |
155 |
index 94ed95d..5a78e31 100644 |
156 |
--- a/gcc/config/sh/linux-unwind.h |
157 |
+++ b/gcc/config/sh/linux-unwind.h |
158 |
@@ -80,9 +81,9 @@ shmedia_fallback_frame_state (struct _Unwind_Context *context, |
159 |
&& (*(unsigned long *) (pc+11) == 0x6ff0fff0)) |
160 |
{ |
161 |
struct rt_sigframe { |
162 |
- struct siginfo *pinfo; |
163 |
+ siginfo_t *pinfo; |
164 |
void *puc; |
165 |
- struct siginfo info; |
166 |
+ siginfo_t info; |
167 |
struct ucontext uc; |
168 |
} *rt_ = context->cfa; |
169 |
/* The void * cast is necessary to avoid an aliasing warning. |
170 |
@@ -179,7 +180,7 @@ sh_fallback_frame_state (struct _Unwind_Context *context, |
171 |
&& (*(unsigned short *) (pc+14) == 0x00ad)))) |
172 |
{ |
173 |
struct rt_sigframe { |
174 |
- struct siginfo info; |
175 |
+ siginfo_t info; |
176 |
struct ucontext uc; |
177 |
} *rt_ = context->cfa; |
178 |
/* The void * cast is necessary to avoid an aliasing warning. |
179 |
-- |
180 |
1.7.9.7 |