Implement sigaltstack.  Most of the logic is copied more-or-less
verbatim from the Linux kernel sources, which has to be a good thing.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@309 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/vg_include.h b/coregrind/vg_include.h
index 692a48c..9431c8e 100644
--- a/coregrind/vg_include.h
+++ b/coregrind/vg_include.h
@@ -705,6 +705,7 @@
 
 
 /* Fake system calls for signal handling. */
+extern void VG_(do__NR_sigaltstack)   ( ThreadId tid );
 extern void VG_(do__NR_sigaction)     ( ThreadId tid );
 extern void VG_(do__NR_sigprocmask)   ( ThreadId tid,
                                         Int how,