summaryrefslogtreecommitdiffstats
path: root/target-mips/machine.c
diff options
context:
space:
mode:
authorLeon Alrae2015-01-30 16:08:05 +0100
committerLeon Alrae2015-02-13 15:11:29 +0100
commit1ab2aea2489f34a05dabfe5bd91a76d89dd8c922 (patch)
treecec1c65f37248d2adf0ec1097cda2046ed84675a /target-mips/machine.c
parenttarget-mips: pass 0 instead of -1 as rs in microMIPS LUI instruction (diff)
downloadqemu-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