power: Hook up the readlink system call.
authorGabe Black <gabeblack@google.com>
Wed, 18 Mar 2020 06:58:40 +0000 (23:58 -0700)
committerGabe Black <gabeblack@google.com>
Tue, 24 Mar 2020 23:36:30 +0000 (23:36 +0000)
Change-Id: I28dcbd6fb3c54479eefea26d810d10c00195cc08
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/26830
Tested-by: Gem5 Cloud Project GCB service account <345032938727@cloudbuild.gserviceaccount.com>
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>

src/arch/power/linux/process.cc

index 710f88dbba9bde992e3fe91976ad590a9c396251..79c0a5eef1cbe55c59a7cb49e5c23eec5926d3a9 100644 (file)
@@ -177,7 +177,7 @@ SyscallDescTable<PowerProcess::SyscallABI> PowerLinuxProcess::syscallDescs = {
     { 82, "reserved#82" },
     { 83, "symlink" },
     { 84, "unused#84" },
-    { 85, "readlink" },
+    { 85, "readlink", readlinkFunc },
     { 86, "uselib" },
     { 87, "swapon", gethostnameFunc },
     { 88, "reboot" },