sparc: Hook up fstat64 for SPARC64.
authorGabe Black <gabeblack@google.com>
Wed, 18 Mar 2020 06:11:22 +0000 (23:11 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 24 Mar 2020 01:00:22 +0000 (01:00 +0000)
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 <power.jg@gmail.com>
Maintainer: Jason Lowe-Power <power.jg@gmail.com>
Tested-by: kokoro <noreply+kokoro@google.com>
src/arch/sparc/linux/syscalls.cc

index 0a745ba76c53bcc3e8add733a97f766775652ff9..3eaba9162c1f47ff41ae26ef95a7a329129894bc 100644 (file)
@@ -450,7 +450,7 @@ SyscallDescTable<Sparc64Process::SyscallABI>
     { 60, "umask" },
     { 61, "chroot" },
     { 62, "fstat", fstatFunc<SparcLinux> },
-    { 63, "fstat64" },
+    { 63, "fstat64", fstat64Func<SparcLinux> },
     { 64, "getpagesize" },
     { 65, "msync" },
     { 66, "vfork" },