From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VHzAy-0001OU-HF for qemu-devel@nongnu.org; Fri, 06 Sep 2013 12:46:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VHzAt-00044R-He for qemu-devel@nongnu.org; Fri, 06 Sep 2013 12:46:28 -0400 From: Stefan Weil Date: Fri, 6 Sep 2013 18:46:17 +0200 Message-Id: <1378485978-32108-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH] linux-user: Fix wrong use of stat instead of stat64 for sparc64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: peter.maydell@linaro.org, Stefan Weil , Riku Voipio , qemu-stable@nongnu.org, Richard Henderson 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 --- 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