projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
060718c
)
linux-user: Fix sparc32plus stat64 syscalls.
author
Richard Henderson
<rth@twiddle.net>
Mon, 26 Apr 2010 17:27:22 +0000
(10:27 -0700)
committer
Blue Swirl
<blauwirbel@gmail.com>
Mon, 26 Apr 2010 17:30:17 +0000
(17:30 +0000)
Check TARGET_ABI_BITS, not TARGET_LONG_BITS, when deciding
whether or not the guest needs special 64-bit stat translation.
Signed-off-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
linux-user/syscall.c
patch
|
blob
|
history
diff --git
a/linux-user/syscall.c
b/linux-user/syscall.c
index 26c0fb4dc63c862338d02a9e99dafce31da4d1af..eb77ade9e7c400d78f2bd9aba8414060a45ad973 100644
(file)
--- a/
linux-user/syscall.c
+++ b/
linux-user/syscall.c
@@
-4021,7
+4021,7
@@
static inline abi_long host_to_target_stat64(void *cpu_env,
} else
#endif
{
-#if
(TARGET_LONG_BITS == 64) && (!defined(TARGET_ALPHA)
)
+#if
TARGET_ABI_BITS == 64 && !defined(TARGET_ALPHA
)
struct target_stat *target_st;
#else
struct target_stat64 *target_st;