summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorNilay Vaish <nilay@cs.wisc.edu>2013-10-07 18:05:49 -0500
committerNilay Vaish <nilay@cs.wisc.edu>2013-10-07 18:05:49 -0500
commit87cc327abbc632d25c3735958a796be650256c0d (patch)
treee758854cfa792fda7923a8ae2b76fdca6302d46f /src/arch
parentc0f367e51454dc9d2610bbd3266a80cec7b4ad69 (diff)
downloadgem5-87cc327abbc632d25c3735958a796be650256c0d.tar.xz
x86: enables lstat and readlink syscalls
Diffstat (limited to 'src/arch')
-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),