linux-unwind.h (pa32_fallback_frame_state): Add cast.

* config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.

From-SVN: r271632
This commit is contained in:
John David Anglin 2019-05-26 15:19:12 +00:00
parent 21bf2b84af
commit 3f1a94a570
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2019-05-26 John David Anglin <danglin@gcc.gnu.org>
* config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast.
2019-05-04 Michael Meissner <meissner@linux.ibm.com>
* ChangeLog.ibm: Delete unintentional commit on the wrong branch.

View File

@ -130,7 +130,7 @@ pa32_fallback_frame_state (struct _Unwind_Context *context,
return _URC_END_OF_STACK;
frame = (struct rt_sigframe *)(sp + off);
sc = &frame->uc.uc_mcontext;
sc = (struct sigcontext *)&frame->uc.uc_mcontext;
new_cfa = sc->sc_gr[30];
fs->regs.cfa_how = CFA_REG_OFFSET;