Blame SOURCES/gcc44-siginfo_t.patch

f28b6a
2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
f28b6a
f28b6a
	struct siginfo vs. siginfo_t
f28b6a
f28b6a
	Backport from trunk (but apply to gcc/):
f28b6a
f28b6a
	2012-04-20  Thomas Schwinge  <thomas@codesourcery.com>
f28b6a
f28b6a
	* config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use
f28b6a
	siginfo_t instead of struct siginfo.
f28b6a
	* config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise.
f28b6a
	* config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise.
f28b6a
	* config/ia64/linux-unwind.h (ia64_fallback_frame_state)
f28b6a
	(ia64_handle_unwabi): Likewise.
f28b6a
	* config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise.
f28b6a
	* config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise.
f28b6a
	* config/sh/linux-unwind.h (shmedia_fallback_frame_state)
f28b6a
	(sh_fallback_frame_state): Likewise.
f28b6a
	* config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise.
f28b6a
f28b6a
--- gcc/config/alpha/linux-unwind.h	(revision 186612)
f28b6a
+++ gcc/config/alpha/linux-unwind.h	(revision 186613)
f28b6a
@@ -49,7 +49,7 @@ alpha_fallback_frame_state (struct _Unwi
f28b6a
   else if (pc[1] == 0x201f015f)		/* lda $0,NR_rt_sigreturn */
f28b6a
     {
f28b6a
       struct rt_sigframe {
f28b6a
-	struct siginfo info;
f28b6a
+	siginfo_t info;
f28b6a
 	struct ucontext uc;
f28b6a
       } *rt_ = context->cfa;
f28b6a
       sc = &rt_->uc.uc_mcontext;
f28b6a
--- gcc/config/i386/linux-unwind.h	(revision 186612)
f28b6a
+++ gcc/config/i386/linux-unwind.h	(revision 186613)
f28b6a
@@ -133,9 +133,9 @@ x86_fallback_frame_state (struct _Unwind
f28b6a
     {
f28b6a
       struct rt_sigframe {
f28b6a
 	int sig;
f28b6a
-	struct siginfo *pinfo;
f28b6a
+	siginfo_t *pinfo;
f28b6a
 	void *puc;
f28b6a
-	struct siginfo info;
f28b6a
+	siginfo_t info;
f28b6a
 	struct ucontext uc;
f28b6a
       } *rt_ = context->cfa;
f28b6a
       /* The void * cast is necessary to avoid an aliasing warning.
f28b6a
--- gcc/config/sh/linux-unwind.h	(revision 186612)
f28b6a
+++ gcc/config/sh/linux-unwind.h	(revision 186613)
f28b6a
@@ -80,9 +81,9 @@ shmedia_fallback_frame_state (struct _Un
f28b6a
 	   && (*(unsigned long *) (pc+11)  == 0x6ff0fff0))
f28b6a
     {
f28b6a
       struct rt_sigframe {
f28b6a
-	struct siginfo *pinfo;
f28b6a
+	siginfo_t *pinfo;
f28b6a
 	void *puc;
f28b6a
-	struct siginfo info;
f28b6a
+	siginfo_t info;
f28b6a
 	struct ucontext uc;
f28b6a
       } *rt_ = context->cfa;
f28b6a
       /* The void * cast is necessary to avoid an aliasing warning.
f28b6a
@@ -179,7 +180,7 @@ sh_fallback_frame_state (struct _Unwind_
f28b6a
 		&& (*(unsigned short *) (pc+14)  == 0x00ad))))
f28b6a
     {
f28b6a
       struct rt_sigframe {
f28b6a
-	struct siginfo info;
f28b6a
+	siginfo_t info;
f28b6a
 	struct ucontext uc;
f28b6a
       } *rt_ = context->cfa;
f28b6a
       /* The void * cast is necessary to avoid an aliasing warning.
f28b6a
--- gcc/config/xtensa/linux-unwind.h	(revision 186612)
f28b6a
+++ gcc/config/xtensa/linux-unwind.h	(revision 186613)
f28b6a
@@ -62,7 +62,7 @@ xtensa_fallback_frame_state (struct _Unw
f28b6a
   struct sigcontext *sc;
f28b6a
 
f28b6a
   struct rt_sigframe {
f28b6a
-    struct siginfo info;
f28b6a
+    siginfo_t info;
f28b6a
     struct ucontext uc;
f28b6a
   } *rt_;
f28b6a
 
f28b6a
--- gcc/config/ia64/linux-unwind.h	(revision 186612)
f28b6a
+++ gcc/config/ia64/linux-unwind.h	(revision 186613)
f28b6a
@@ -47,7 +47,7 @@ ia64_fallback_frame_state (struct _Unwin
f28b6a
       struct sigframe {
f28b6a
 	char scratch[16];
f28b6a
 	unsigned long sig_number;
f28b6a
-	struct siginfo *info;
f28b6a
+	siginfo_t *info;
f28b6a
 	struct sigcontext *sc;
f28b6a
       } *frame_ = (struct sigframe *)context->psp;
f28b6a
       struct sigcontext *sc = frame_->sc;
f28b6a
@@ -137,7 +137,7 @@ ia64_handle_unwabi (struct _Unwind_Conte
f28b6a
       struct sigframe {
f28b6a
 	char scratch[16];
f28b6a
 	unsigned long sig_number;
f28b6a
-	struct siginfo *info;
f28b6a
+	siginfo_t *info;
f28b6a
 	struct sigcontext *sc;
f28b6a
       } *frame = (struct sigframe *)context->psp;
f28b6a
       struct sigcontext *sc = frame->sc;
f28b6a
--- gcc/config/pa/linux-unwind.h	(revision 186612)
f28b6a
+++ gcc/config/pa/linux-unwind.h	(revision 186613)
f28b6a
@@ -63,7 +63,7 @@ pa32_fallback_frame_state (struct _Unwin
f28b6a
   int i;
f28b6a
   struct sigcontext *sc;
f28b6a
   struct rt_sigframe {
f28b6a
-    struct siginfo info;
f28b6a
+    siginfo_t info;
f28b6a
     struct ucontext uc;
f28b6a
   } *frame;
f28b6a
 
f28b6a
--- gcc/config/mips/linux-unwind.h	(revision 186612)
f28b6a
+++ gcc/config/mips/linux-unwind.h	(revision 186613)
f28b6a
@@ -75,7 +76,7 @@ mips_fallback_frame_state (struct _Unwin
f28b6a
       struct rt_sigframe {
f28b6a
 	u_int32_t ass[4];  /* Argument save space for o32.  */
f28b6a
 	u_int32_t trampoline[2];
f28b6a
-	struct siginfo info;
f28b6a
+	siginfo_t info;
f28b6a
 	_sig_ucontext_t uc;
f28b6a
       } *rt_ = context->cfa;
f28b6a
       sc = &rt_->uc.uc_mcontext;
f28b6a
--- gcc/config/bfin/linux-unwind.h	(revision 186612)
f28b6a
+++ gcc/config/bfin/linux-unwind.h	(revision 186613)
f28b6a
@@ -48,10 +48,10 @@ bfin_fallback_frame_state (struct _Unwin
f28b6a
     {
f28b6a
       struct rt_sigframe {
f28b6a
 	int sig;
f28b6a
-	struct siginfo *pinfo;
f28b6a
+	siginfo_t *pinfo;
f28b6a
 	void *puc;
f28b6a
 	char retcode[8];
f28b6a
-	struct siginfo info;
f28b6a
+	siginfo_t info;
f28b6a
 	struct ucontext uc;
f28b6a
       } *rt_ = context->cfa;
f28b6a