Blame SOURCES/gcc44-siginfo_t.patch

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