File gcc-3.4.6-gcc-config-siginfo.patch of Package gcc3
diff -Ndurp gcc-3.4.6/gcc/config/alpha/linux.h gcc-3.4.6-gcc-config-siginfo/gcc/config/alpha/linux.h
--- gcc-3.4.6/gcc/config/alpha/linux.h 2011-05-11 19:54:58.000000000 +0300
+++ gcc-3.4.6-gcc-config-siginfo/gcc/config/alpha/linux.h 2014-09-28 18:05:23.341770949 +0300
@@ -94,7 +94,7 @@ Boston, MA 02111-1307, USA. */
else if (pc_[1] == 0x201f015f) /* lda $0,NR_rt_sigreturn */ \
{ \
struct rt_sigframe { \
- struct siginfo info; \
+ siginfo_t info; \
struct ucontext uc; \
} *rt_ = (CONTEXT)->cfa; \
sc_ = &rt_->uc.uc_mcontext; \
diff -Ndurp gcc-3.4.6/gcc/config/i386/linux64.h gcc-3.4.6-gcc-config-siginfo/gcc/config/i386/linux64.h
--- gcc-3.4.6/gcc/config/i386/linux64.h 2011-05-11 19:54:58.000000000 +0300
+++ gcc-3.4.6-gcc-config-siginfo/gcc/config/i386/linux64.h 2014-09-28 18:04:52.371773044 +0300
@@ -157,9 +157,9 @@ Boston, MA 02111-1307, USA. */
{ \
struct rt_sigframe { \
int sig; \
- struct siginfo *pinfo; \
+ siginfo_t *pinfo; \
void *puc; \
- struct siginfo info; \
+ siginfo_t info; \
struct ucontext uc; \
} *rt_ = (CONTEXT)->cfa; \
sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \
diff -Ndurp gcc-3.4.6/gcc/config/i386/linux.h gcc-3.4.6-gcc-config-siginfo/gcc/config/i386/linux.h
--- gcc-3.4.6/gcc/config/i386/linux.h 2011-05-11 19:54:58.000000000 +0300
+++ gcc-3.4.6-gcc-config-siginfo/gcc/config/i386/linux.h 2014-09-28 18:05:11.553771746 +0300
@@ -235,9 +235,9 @@ Boston, MA 02111-1307, USA. */
{ \
struct rt_sigframe { \
int sig; \
- struct siginfo *pinfo; \
+ siginfo_t *pinfo; \
void *puc; \
- struct siginfo info; \
+ siginfo_t info; \
struct ucontext uc; \
} *rt_ = (CONTEXT)->cfa; \
sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \
diff -Ndurp gcc-3.4.6/gcc/config/ia64/linux.h gcc-3.4.6-gcc-config-siginfo/gcc/config/ia64/linux.h
--- gcc-3.4.6/gcc/config/ia64/linux.h 2011-05-11 19:54:58.000000000 +0300
+++ gcc-3.4.6-gcc-config-siginfo/gcc/config/ia64/linux.h 2014-09-28 18:04:20.932775171 +0300
@@ -77,7 +77,7 @@ do { \
struct sigframe { \
char scratch[16]; \
unsigned long sig_number; \
- struct siginfo *info; \
+ siginfo_t *info; \
struct sigcontext *sc; \
} *frame_ = (struct sigframe *)(CONTEXT)->psp; \
struct sigcontext *sc_ = frame_->sc; \
@@ -150,7 +150,7 @@ do { \
struct sigframe { \
char scratch[16]; \
unsigned long sig_number; \
- struct siginfo *info; \
+ siginfo_t *info; \
struct sigcontext *sc; \
} *frame_ = (struct sigframe *)(CONTEXT)->psp; \
struct sigcontext *sc_ = frame_->sc; \
diff -Ndurp gcc-3.4.6/gcc/config/mips/linux.h gcc-3.4.6-gcc-config-siginfo/gcc/config/mips/linux.h
--- gcc-3.4.6/gcc/config/mips/linux.h 2011-05-11 19:54:58.000000000 +0300
+++ gcc-3.4.6-gcc-config-siginfo/gcc/config/mips/linux.h 2014-09-28 18:03:23.692779043 +0300
@@ -228,7 +228,7 @@ typedef struct _sig_ucontext {
{ \
struct rt_sigframe { \
u_int32_t trampoline[2]; \
- struct siginfo info; \
+ siginfo_t info; \
_sig_ucontext_t uc; \
} *rt_ = (CONTEXT)->ra; \
sc_ = &rt_->uc.uc_mcontext; \
diff -Ndurp gcc-3.4.6/gcc/config/s390/linux.h gcc-3.4.6-gcc-config-siginfo/gcc/config/s390/linux.h
--- gcc-3.4.6/gcc/config/s390/linux.h 2011-05-11 19:54:58.000000000 +0300
+++ gcc-3.4.6-gcc-config-siginfo/gcc/config/s390/linux.h 2014-09-28 18:03:03.693780396 +0300
@@ -120,7 +120,7 @@ Software Foundation, 59 Temple Place - S
\
/* New-style RT frame: \
retcode + alignment (8 bytes) \
- siginfo (128 bytes) \
+ siginfo_t (128 bytes) \
ucontext (contains sigregs) */ \
if ((CONTEXT)->ra == (CONTEXT)->cfa) \
{ \
diff -Ndurp gcc-3.4.6/gcc/config/sh/linux.h gcc-3.4.6-gcc-config-siginfo/gcc/config/sh/linux.h
--- gcc-3.4.6/gcc/config/sh/linux.h 2011-05-11 19:54:58.000000000 +0300
+++ gcc-3.4.6-gcc-config-siginfo/gcc/config/sh/linux.h 2014-09-28 18:02:30.224782660 +0300
@@ -244,7 +244,7 @@ do { \
&& (*(unsigned short *) (pc_+14) == 0x00ad)))) \
{ \
struct rt_sigframe { \
- struct siginfo info; \
+ siginfo_t info; \
struct ucontext uc; \
} *rt_ = (CONTEXT)->cfa; \
sc_ = (struct sigcontext *) &rt_->uc.uc_mcontext; \