diff options
author | David Daney <ddaney@avtrex.com> | 2007-11-15 05:33:28 +0000 |
---|---|---|
committer | David Daney <daney@gcc.gnu.org> | 2007-11-15 05:33:28 +0000 |
commit | cc3c24ed0273b988420c807675d21a70c0787a7a (patch) | |
tree | fe7bc2dadb9d8c7b73dadddc5b1b70aa9fb51af4 /gcc | |
parent | 35293ded0cf3821905885ce4f89fceae93106ed5 (diff) | |
download | gcc-cc3c24ed0273b988420c807675d21a70c0787a7a.zip gcc-cc3c24ed0273b988420c807675d21a70c0787a7a.tar.gz gcc-cc3c24ed0273b988420c807675d21a70c0787a7a.tar.bz2 |
linux-unwind.h (mips_fallback_frame_state): Use CFA to find sigcontext.
2007-11-14 David Daney <ddaney@avtrex.com>
* config/mips/linux-unwind.h (mips_fallback_frame_state): Use CFA
to find sigcontext.
From-SVN: r130194
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/config/mips/linux-unwind.h | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 60529f5..308c935 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-11-14 David Daney <ddaney@avtrex.com> + + * config/mips/linux-unwind.h (mips_fallback_frame_state): Use CFA + to find sigcontext. + 2007-11-14 Eric Botcazou <ebotcazou@libertysurf.fr> PR target/33923 diff --git a/gcc/config/mips/linux-unwind.h b/gcc/config/mips/linux-unwind.h index ed0a84b..4e71182 100644 --- a/gcc/config/mips/linux-unwind.h +++ b/gcc/config/mips/linux-unwind.h @@ -66,9 +66,10 @@ mips_fallback_frame_state (struct _Unwind_Context *context, if (pc[0] == (0x24020000 | __NR_sigreturn)) { struct sigframe { + u_int32_t ass[4]; /* Argument save space for o32. */ u_int32_t trampoline[2]; struct sigcontext sigctx; - } *rt_ = context->ra; + } *rt_ = context->cfa; sc = &rt_->sigctx; } else @@ -76,10 +77,11 @@ mips_fallback_frame_state (struct _Unwind_Context *context, if (pc[0] == (0x24020000 | __NR_rt_sigreturn)) { struct rt_sigframe { + u_int32_t ass[4]; /* Argument save space for o32. */ u_int32_t trampoline[2]; struct siginfo info; _sig_ucontext_t uc; - } *rt_ = context->ra; + } *rt_ = context->cfa; sc = &rt_->uc.uc_mcontext; } else |