summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/arch/x86/linux/syscalls.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/linux/syscalls.cc b/src/arch/x86/linux/syscalls.cc
index f1cc3fe7c..8e2d0da01 100644
--- a/src/arch/x86/linux/syscalls.cc
+++ b/src/arch/x86/linux/syscalls.cc
@@ -219,7 +219,7 @@ SyscallDesc X86_64LinuxProcess::syscallDescs[] = {
/* 3 */ SyscallDesc("close", closeFunc),
/* 4 */ SyscallDesc("stat", stat64Func<X86Linux64>),
/* 5 */ SyscallDesc("fstat", fstat64Func<X86Linux64>),
- /* 6 */ SyscallDesc("lstat", unimplementedFunc),
+ /* 6 */ SyscallDesc("lstat", lstat64Func<X86Linux64>),
/* 7 */ SyscallDesc("poll", unimplementedFunc),
/* 8 */ SyscallDesc("lseek", lseekFunc),
/* 9 */ SyscallDesc("mmap", mmapFunc<X86Linux64>),
@@ -302,7 +302,7 @@ SyscallDesc X86_64LinuxProcess::syscallDescs[] = {
/* 86 */ SyscallDesc("link", unimplementedFunc),
/* 87 */ SyscallDesc("unlink", unlinkFunc),
/* 88 */ SyscallDesc("symlink", unimplementedFunc),
- /* 89 */ SyscallDesc("readlink", unimplementedFunc),
+ /* 89 */ SyscallDesc("readlink", readlinkFunc),
/* 90 */ SyscallDesc("chmod", unimplementedFunc),
/* 91 */ SyscallDesc("fchmod", unimplementedFunc),
/* 92 */ SyscallDesc("chown", unimplementedFunc),