mips64-linux-user: Fix definition of struct sigaltstack

Without this fix, qemu segfaults when emulating the sigaltstack syscall,
because it incorrectly treats the ss_flags field as 64 bits rather than 32
bits.

Signed-off-by: Ed Swierk <eswierk@skyportsystems.com>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
This commit is contained in:
Ed Swierk 2014-12-16 12:55:18 -08:00 committed by Riku Voipio
parent 9c6bf9c7d7
commit ec355f1547

View file

@ -8,7 +8,7 @@
typedef struct target_sigaltstack {
abi_long ss_sp;
abi_ulong ss_size;
abi_long ss_flags;
abi_int ss_flags;
} target_stack_t;