newlib-cygwin/newlib/libc
Corinna Vinschen 22465796ed Preliminary infrastructure to implement alternate stack
* libc/include/sys/signal.h: Define SS_ONSTACK and SS_DISABLE
	unconditionally.
	(sigaltstack): Enable prototype on Cygwin.

	* 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.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2015-06-19 16:12:45 +02:00
..
argz Correct argz_replace behaviour when memory is exhausted. 2015-06-01 10:09:04 +02:00
ctype * libc/argz/envz_merge.c (envz_merge): Fix memory leak (Cygwin Coverity 2014-06-23 20:21:54 +00:00
errno 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
iconv 2013-11-25 Joel Sherrill <joel.sherrill@oarcorp.com> 2013-11-26 14:38:58 +00:00
include Preliminary infrastructure to implement alternate stack 2015-06-19 16:12:45 +02:00
locale * libc/argz/envz_merge.c (envz_merge): Fix memory leak (Cygwin Coverity 2014-06-23 20:21:54 +00:00
machine Update the assembler code to support old ARM architectures. 2015-06-01 12:49:37 +02:00
misc 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
posix * libc/posix/posix_spawn.c: Drop using namespace.h. 2013-11-26 13:51:19 +00:00
reent * libc/reent/reent.c (_reclaim_reent): Free also _misc and 2013-06-24 11:34:03 +00:00
search * libc/include/stdlib.h (__bsd_qsort_r): Declare. 2014-12-05 16:21:04 +00:00
signal 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
stdio Implement BSD/GNU unlocked stdio extensions. 2014-12-18 14:55:21 +00:00
stdio64 * libc/include/stdio.h (funopen): Change prototype of 2013-10-23 10:04:43 +00:00
stdlib Fix UTF-16 surrogate handling in wctomb and friends. 2015-04-23 21:57:09 +02:00
string string: add GNU basename(3) 2015-04-23 21:57:07 +02:00
sys Add <sys/_stdint.h> for FreeBSD compatibility 2015-04-23 21:57:10 +02:00
syscalls 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
time gmtime_r: Use faster algorithm by Howard Hinnant 2015-06-15 12:00:59 +02:00
unix * libc/unix/getcwd.c (getcwd): Close directory also in case of an error. 2014-10-16 15:00:59 +00:00
xdr 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
Makefile.am 2011-01-05 Ralf Corsepius <ralf.corsepius@rtems.org> 2011-01-05 17:18:16 +00:00
Makefile.in 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
aclocal.m4 2012-12-20 Jeff Johnston <jjohnstn@redhat.com> 2012-12-20 21:10:27 +00:00
configure 2014-12-18 Jeff Johnston <jjohnstn@redhat.com> 2014-12-18 20:30:11 +00:00
configure.in 2014-07-04 Bin Cheng <bin.cheng@arm.com> 2014-07-04 17:21:45 +00:00
libc.texinfo Fix newlib texinfo source so 'info libc' and 'info libm' work 2015-03-16 15:02:22 +00:00
saber
sys.tex 2005-10-28 Bob Wilson <bob.wilson@acm.org> 2005-10-28 21:36:05 +00:00