# HG changeset patch # User vi...@venchi.csl.cornell.edu # Date 1255715660 14400 # Node ID 97726e30ea0ecef9910a8d780928f8f499e44de4 # Parent b741b3e7164b974f92fcbf8464cdbd7b1e9f4865 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. diff -r b741b3e7164b -r 97726e30ea0e src/arch/x86/linux/syscalls.cc --- a/src/arch/x86/linux/syscalls.cc Thu Oct 15 15:15:24 2009 -0700 +++ b/src/arch/x86/linux/syscalls.cc Fri Oct 16 13:54:20 2009 -0400 @@ -241,7 +241,7 @@ /* 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 @@ /* 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), _______________________________________________ m5-dev mailing list m5-dev@m5sim.org http://m5sim.org/mailman/listinfo/m5-dev