aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6/gcc/config/pa/linux-unwind.h
diff options
context:
space:
mode:
authorAlexander Ivchenko <alexander.ivchenko@intel.com>2014-05-22 20:16:00 +0400
committerAlexander Ivchenko <alexander.ivchenko@intel.com>2014-05-22 20:17:53 +0400
commit41a51304ab0f3b4580f34718ee4781c3629fb548 (patch)
tree345be61ce8cc8e8323d5ddaca307810bc6f777e0 /gcc-4.6/gcc/config/pa/linux-unwind.h
parent8c493ead6366b552adee796de296936b78f34c5a (diff)
downloadtoolchain_gcc-41a51304ab0f3b4580f34718ee4781c3629fb548.tar.gz
toolchain_gcc-41a51304ab0f3b4580f34718ee4781c3629fb548.tar.bz2
toolchain_gcc-41a51304ab0f3b4580f34718ee4781c3629fb548.zip
[4.6] Fix build of 4.6 compiler using newer 4.8. Backport of two patches
from 4.6.4 release: 2012-09-21 Richard Guenther <rguenther@suse.de> PR middle-end/54638 Backport from mainline 2012-04-19 Richard Guenther <rguenther@suse.de> * ira-int.h (ira_allocno_object_iter_cond): Avoid out-of-bound array access. 2012-04-20 Thomas Schwinge <thomas@codesourcery.com> * config/alpha/linux-unwind.h (alpha_fallback_frame_state): Use siginfo_t instead of struct siginfo. * config/bfin/linux-unwind.h (bfin_fallback_frame_state): Likewise. * config/i386/linux-unwind.h (x86_fallback_frame_state): Likewise. * config/ia64/linux-unwind.h (ia64_fallback_frame_state) (ia64_handle_unwabi): Likewise. * config/mips/linux-unwind.h (mips_fallback_frame_state): Likewise. * config/pa/linux-unwind.h (pa32_fallback_frame_state): Likewise. * config/sh/linux-unwind.h (shmedia_fallback_frame_state) (sh_fallback_frame_state): Likewise. * config/xtensa/linux-unwind.h (xtensa_fallback_frame_state): Likewise. Change-Id: If84780aad73abf47ba08bef806ac0b728c4e1c02 Signed-off-by: Alexander Ivchenko <alexander.ivchenko@intel.com>
Diffstat (limited to 'gcc-4.6/gcc/config/pa/linux-unwind.h')
-rw-r--r--gcc-4.6/gcc/config/pa/linux-unwind.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc-4.6/gcc/config/pa/linux-unwind.h b/gcc-4.6/gcc/config/pa/linux-unwind.h
index a0560e974..38b4eda7a 100644
--- a/gcc-4.6/gcc/config/pa/linux-unwind.h
+++ b/gcc-4.6/gcc/config/pa/linux-unwind.h
@@ -1,5 +1,5 @@
/* DWARF2 EH unwinding support for PA Linux.
- Copyright (C) 2004, 2005, 2009 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2005, 2009, 2012 Free Software Foundation, Inc.
This file is part of GCC.
@@ -63,7 +63,7 @@ pa32_fallback_frame_state (struct _Unwind_Context *context,
int i;
struct sigcontext *sc;
struct rt_sigframe {
- struct siginfo info;
+ siginfo_t info;
struct ucontext uc;
} *frame;