From: John David Anglin Date: Sun, 26 May 2019 15:16:50 +0000 (+0000) Subject: linux-unwind.h (pa32_fallback_frame_state): Add cast. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=abbb83070a7a0fb605fb215c69bdca4962f28ed1;p=gcc.git linux-unwind.h (pa32_fallback_frame_state): Add cast. * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast. From-SVN: r271631 --- diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 9dbba188f36..a8cf706cd27 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,7 @@ +2019-05-26 John David Anglin + + * config/pa/linux-unwind.h (pa32_fallback_frame_state): Add cast. + 2019-05-17 H.J. Lu * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if diff --git a/libgcc/config/pa/linux-unwind.h b/libgcc/config/pa/linux-unwind.h index f8a2b910a60..4f62ad0b702 100644 --- a/libgcc/config/pa/linux-unwind.h +++ b/libgcc/config/pa/linux-unwind.h @@ -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;