Commit 94c5495d authored by Paul Brook's avatar Paul Brook
Browse files

MIPS signal handling fix



Add explicit padding to MIPS signal frame structures.

Signed-off-by: default avatarPaul Brook <paul@codesourcery.com>
parent f04dc72f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2330,6 +2330,7 @@ struct target_sigcontext {
    uint32_t   sc_fpc_eir;     /* Unused */
    uint32_t   sc_used_math;
    uint32_t   sc_dsp;         /* dsp status, was sc_ssflags */
    uint32_t   pad0;
    uint64_t   sc_mdhi;
    uint64_t   sc_mdlo;
    target_ulong   sc_hi1;         /* Was sc_cause */
@@ -2351,6 +2352,7 @@ struct target_ucontext {
    target_ulong uc_flags;
    target_ulong uc_link;
    target_stack_t uc_stack;
    target_ulong pad0;
    struct target_sigcontext uc_mcontext;
    target_sigset_t uc_sigmask;
};