Commit ec355f15 authored by Ed Swierk's avatar Ed Swierk Committed by Riku Voipio
Browse files

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: default avatarEd Swierk <eswierk@skyportsystems.com>
Signed-off-by: default avatarRiku Voipio <riku.voipio@linaro.org>
parent 9c6bf9c7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;