summaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorPaul Brook <paul@codesourcery.com>2009-07-09 18:40:15 +0100
committerPaul Brook <paul@codesourcery.com>2009-07-09 18:40:15 +0100
commit94c5495dd16ca3311cbc95705e58d28a45899d1d (patch)
tree79da8f883e2a0fc79de30482ee48f29310eff708 /linux-user
parentf04dc72f398c80d1a8e918000d9e184edcb42f74 (diff)
downloadqemu-94c5495dd16ca3311cbc95705e58d28a45899d1d.tar.gz
qemu-94c5495dd16ca3311cbc95705e58d28a45899d1d.tar.bz2
qemu-94c5495dd16ca3311cbc95705e58d28a45899d1d.zip
MIPS signal handling fix
Add explicit padding to MIPS signal frame structures. Signed-off-by: Paul Brook <paul@codesourcery.com>
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/signal.c2
1 files changed, 2 insertions, 0 deletions
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;
};