Commit 94c5495dd16ca3311cbc95705e58d28a45899d1d
1 parent
f04dc72f
MIPS signal handling fix
Add explicit padding to MIPS signal frame structures. Signed-off-by: Paul Brook <paul@codesourcery.com>
Showing
1 changed file
with
2 additions
and
0 deletions
linux-user/signal.c
@@ -2330,6 +2330,7 @@ struct target_sigcontext { | @@ -2330,6 +2330,7 @@ struct target_sigcontext { | ||
2330 | uint32_t sc_fpc_eir; /* Unused */ | 2330 | uint32_t sc_fpc_eir; /* Unused */ |
2331 | uint32_t sc_used_math; | 2331 | uint32_t sc_used_math; |
2332 | uint32_t sc_dsp; /* dsp status, was sc_ssflags */ | 2332 | uint32_t sc_dsp; /* dsp status, was sc_ssflags */ |
2333 | + uint32_t pad0; | ||
2333 | uint64_t sc_mdhi; | 2334 | uint64_t sc_mdhi; |
2334 | uint64_t sc_mdlo; | 2335 | uint64_t sc_mdlo; |
2335 | target_ulong sc_hi1; /* Was sc_cause */ | 2336 | target_ulong sc_hi1; /* Was sc_cause */ |
@@ -2351,6 +2352,7 @@ struct target_ucontext { | @@ -2351,6 +2352,7 @@ struct target_ucontext { | ||
2351 | target_ulong uc_flags; | 2352 | target_ulong uc_flags; |
2352 | target_ulong uc_link; | 2353 | target_ulong uc_link; |
2353 | target_stack_t uc_stack; | 2354 | target_stack_t uc_stack; |
2355 | + target_ulong pad0; | ||
2354 | struct target_sigcontext uc_mcontext; | 2356 | struct target_sigcontext uc_mcontext; |
2355 | target_sigset_t uc_sigmask; | 2357 | target_sigset_t uc_sigmask; |
2356 | }; | 2358 | }; |