https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=a88afecce6ca7405df28f8ae162b56697c2601a2

commit a88afecce6ca7405df28f8ae162b56697c2601a2
Author: Corinna Vinschen <[email protected]>
Date:   Sat Jun 20 20:36:16 2015 +0200

    ChangeLog entries for Cygwin's alternate signal stack implementation
    
    Signed-off-by: Corinna Vinschen <[email protected]>

Diff:
---
 newlib/ChangeLog        | 11 +++++++++++
 winsup/cygwin/ChangeLog | 25 +++++++++++++++++++++++++
 winsup/doc/ChangeLog    |  5 +++++
 3 files changed, 41 insertions(+)

diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 7cfec6f..a59cc97 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,14 @@
+2015-06-20  Corinna Vinschen  <[email protected]>
+
+       * libc/include/sys/signal.h: Move altstack macros completely
+       outside of rtems block.
+
+2015-06-19  Corinna Vinschen  <[email protected]>
+
+       * libc/include/sys/signal.h: Define SS_ONSTACK and SS_DISABLE
+       unconditionally.
+       (sigaltstack): Enable prototype on Cygwin.
+
 2015-06-15  Freddie Chopin  <[email protected]>
 
        * libc/time/gmtime_r.c (gmtime_r): use faster algorithm from
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 464ca32..4591d4a 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,28 @@
+2015-06-20  Corinna Vinschen  <[email protected]>
+
+       * exceptions.cc (_cygtls::call_signal_handler): Implement alternate
+       signal stack handling.
+       * signal.cc (sigaltstack): Add fault handler.
+       * include/cygwin/signal.h: Remove definitions of MINSIGSTKSZ
+       and SIGSTKSZ here.
+
+2015-06-19  Corinna Vinschen  <[email protected]>
+
+       * common.din (sigaltstack): Export.
+       * cygtls.cc (_cygtls::init_thread): Initialize altstack.
+       * cygtls.h (__tlsstack_t): Rename from __stack_t to distinguish
+       more clearly from stack_t.  Accommodate throughout.
+       (_cygtls): Add altstack member.
+       * exceptions.cc (exception::handle): Set SIGSEGV handler to SIG_DFL
+       if we encounter a stack overflow, and no alternate stack has been
+       defined.
+       * include/cygwin/signal.h (MINSIGSTKSZ): Define
+       (SIGSTKSZ): Define.
+       (SA_ONSTACK): Define.
+       * signal.cc (sigaltstack): New function.
+       * tlsoffset.h: Regenerate.
+       * tlsoffset64.h: Ditto.
+
 2015-06-19  Corinna Vinschen  <[email protected]>
 
        * exceptions.cc: Minor formatting fixes.
diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog
index 2d9e268..23bd06c 100644
--- a/winsup/doc/ChangeLog
+++ b/winsup/doc/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-20  Corinna Vinschen  <[email protected]>
+
+       * new-features.xml (ov-new2.1): Add alterante signal stack info.
+       * posix.xml (std-susv4): Move sigaltstack here.
+
 2015-06-19  Jon Turney  <[email protected]>
 
        * Makefile.in (install-man): Fix command to create man3 install

Reply via email to