This test case is fixed now:
sparc64-linux-user/qemu-sparc64 /usr/gnemul/qemu-sparc64/busybox ls -l block.c

Signed-off-by: Stefan Weil <s...@weilnetz.de>
---
 linux-user/syscall.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index ecead51..e498a92 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -4764,7 +4764,7 @@ static inline abi_long host_to_target_stat64(void 
*cpu_env,
     } else
 #endif
     {
-#if TARGET_ABI_BITS == 64 && !defined(TARGET_ALPHA)
+#if TARGET_ABI_BITS == 64 && !defined(TARGET_ALPHA) && !defined(TARGET_SPARC64)
         struct target_stat *target_st;
 #else
         struct target_stat64 *target_st;
-- 
1.7.10.4


Reply via email to