提交 ed18c5ce 编写于 作者: R Richard Henderson 提交者: Blue Swirl

linux-user: Fix sparc32plus stat64 syscalls.

Check TARGET_ABI_BITS, not TARGET_LONG_BITS, when deciding
whether or not the guest needs special 64-bit stat translation.
Signed-off-by: NRichard Henderson <rth@twiddle.net>
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 060718c1
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册