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