linux-user: correct stat structure in MIPS N32
commit1ab2aea2489f34a05dabfe5bd91a76d89dd8c922
authorLeon Alrae <leon.alrae@imgtec.com>
Fri, 30 Jan 2015 15:08:05 +0000 (30 15:08 +0000)
committerLeon Alrae <leon.alrae@imgtec.com>
Fri, 13 Feb 2015 14:11:29 +0000 (13 14:11 +0000)
treecec1c65f37248d2adf0ec1097cda2046ed84675a
parent5e88759a52934a32502298f2c78c6dfaa144364b
linux-user: correct stat structure in MIPS N32

Simple "hello world" MIPS N32 userland program crashes with segfault due to
incorrectly defined stat structure in QEMU.

Correct "target_stat" definition to match kernel's "stat64" as in MIPS N32
there are only plain "stat" syscalls using 64-bit structure.

Reported-by: Daniel Sanders <daniel.sanders@imgtec.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Tested-by: Daniel Sanders <daniel.sanders@imgtec.com>
Reviewed-by: James Hogan <james.hogan@imgtec.com>
linux-user/syscall_defs.h