diff options
author | Leon Alrae | 2015-01-30 16:08:05 +0100 |
---|---|---|
committer | Leon Alrae | 2015-02-13 15:11:29 +0100 |
commit | 1ab2aea2489f34a05dabfe5bd91a76d89dd8c922 (patch) | |
tree | cec1c65f37248d2adf0ec1097cda2046ed84675a /target-mips/machine.c | |
parent | target-mips: pass 0 instead of -1 as rs in microMIPS LUI instruction (diff) | |
download | qemu-1ab2aea2489f34a05dabfe5bd91a76d89dd8c922.tar.gz qemu-1ab2aea2489f34a05dabfe5bd91a76d89dd8c922.tar.xz qemu-1ab2aea2489f34a05dabfe5bd91a76d89dd8c922.zip |
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>
Diffstat (limited to 'target-mips/machine.c')
0 files changed, 0 insertions, 0 deletions