From 4d384da329f51fc45959357ef4fe7e55756fd467 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Tue, 17 Mar 2020 23:11:22 -0700 Subject: [PATCH] sparc: Hook up fstat64 for SPARC64. This seems to be used by a modern gcc toolchain. Change-Id: Ia776f4d8b3f290336047d3a7e57f1bffac1feaa2 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26827 Reviewed-by: Jason Lowe-Power Maintainer: Jason Lowe-Power Tested-by: kokoro --- src/arch/sparc/linux/syscalls.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arch/sparc/linux/syscalls.cc b/src/arch/sparc/linux/syscalls.cc index 0a745ba76..3eaba9162 100644 --- a/src/arch/sparc/linux/syscalls.cc +++ b/src/arch/sparc/linux/syscalls.cc @@ -450,7 +450,7 @@ SyscallDescTable { 60, "umask" }, { 61, "chroot" }, { 62, "fstat", fstatFunc }, - { 63, "fstat64" }, + { 63, "fstat64", fstat64Func }, { 64, "getpagesize" }, { 65, "msync" }, { 66, "vfork" }, -- 2.30.2