From 94c5495dd16ca3311cbc95705e58d28a45899d1d Mon Sep 17 00:00:00 2001 From: Paul Brook Date: Thu, 9 Jul 2009 18:40:15 +0100 Subject: MIPS signal handling fix Add explicit padding to MIPS signal frame structures. Signed-off-by: Paul Brook --- linux-user/signal.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'linux-user/signal.c') diff --git a/linux-user/signal.c b/linux-user/signal.c index 6a34171aa0..6ee61a9184 100644 --- a/linux-user/signal.c +++ b/linux-user/signal.c @@ -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; }; -- cgit v1.2.3