MIPS signal handling fix

Add explicit padding to MIPS signal frame structures.

Signed-off-by: Paul Brook <paul@codesourcery.com>
This commit is contained in:
Paul Brook 2009-07-09 18:40:15 +01:00
parent f04dc72f39
commit 94c5495dd1

View File

@ -2330,6 +2330,7 @@ struct target_sigcontext {
uint32_t sc_fpc_eir; /* Unused */ uint32_t sc_fpc_eir; /* Unused */
uint32_t sc_used_math; uint32_t sc_used_math;
uint32_t sc_dsp; /* dsp status, was sc_ssflags */ uint32_t sc_dsp; /* dsp status, was sc_ssflags */
uint32_t pad0;
uint64_t sc_mdhi; uint64_t sc_mdhi;
uint64_t sc_mdlo; uint64_t sc_mdlo;
target_ulong sc_hi1; /* Was sc_cause */ target_ulong sc_hi1; /* Was sc_cause */
@ -2351,6 +2352,7 @@ struct target_ucontext {
target_ulong uc_flags; target_ulong uc_flags;
target_ulong uc_link; target_ulong uc_link;
target_stack_t uc_stack; target_stack_t uc_stack;
target_ulong pad0;
struct target_sigcontext uc_mcontext; struct target_sigcontext uc_mcontext;
target_sigset_t uc_sigmask; target_sigset_t uc_sigmask;
}; };