diff options
author | Vince Weaver <vince@csl.cornell.edu> | 2009-10-16 13:54:20 -0400 |
---|---|---|
committer | Vince Weaver <vince@csl.cornell.edu> | 2009-10-16 13:54:20 -0400 |
commit | 22dc2b5595519d5fc7ca93854053b22a359e331b (patch) | |
tree | 2f68d7add9fbe387c287df03d0fb5db8eab5e2a8 /src/arch/x86/linux/syscalls.cc | |
parent | 15a3a7b37b34da286f89ee07230ff6cd2b55c5f6 (diff) | |
download | gem5-22dc2b5595519d5fc7ca93854053b22a359e331b.tar.xz |
Ignore rt_sigaction() syscalls on x86 and x86_64
This is currently how alpha handles this syscall.
This is needed for the gcc spec2k benchmarks to run.
Diffstat (limited to 'src/arch/x86/linux/syscalls.cc')
-rw-r--r-- | src/arch/x86/linux/syscalls.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86/linux/syscalls.cc b/src/arch/x86/linux/syscalls.cc index affe2d6ea..74a6ad0b7 100644 --- a/src/arch/x86/linux/syscalls.cc +++ b/src/arch/x86/linux/syscalls.cc @@ -241,7 +241,7 @@ SyscallDesc X86_64LinuxProcess::syscallDescs[] = { /* 10 */ SyscallDesc("mprotect", unimplementedFunc), /* 11 */ SyscallDesc("munmap", munmapFunc), /* 12 */ SyscallDesc("brk", brkFunc), - /* 13 */ SyscallDesc("rt_sigaction", unimplementedFunc), + /* 13 */ SyscallDesc("rt_sigaction", ignoreFunc), /* 14 */ SyscallDesc("rt_sigprocmask", unimplementedFunc), /* 15 */ SyscallDesc("rt_sigreturn", unimplementedFunc), /* 16 */ SyscallDesc("ioctl", unimplementedFunc), @@ -681,7 +681,7 @@ SyscallDesc I386LinuxProcess::syscallDescs[] = { /* 171 */ SyscallDesc("getresgid", unimplementedFunc), /* 172 */ SyscallDesc("prctl", unimplementedFunc), /* 173 */ SyscallDesc("rt_sigreturn", unimplementedFunc), - /* 174 */ SyscallDesc("rt_sigaction", unimplementedFunc), + /* 174 */ SyscallDesc("rt_sigaction", ignoreFunc), /* 175 */ SyscallDesc("rt_sigprocmask", unimplementedFunc), /* 176 */ SyscallDesc("rt_sigpending", unimplementedFunc), /* 177 */ SyscallDesc("rt_sigtimedwait", unimplementedFunc), |