Commit d80c632e by Samuel Thibault Committed by Ian Lance Taylor

re PR target/52390 (only linux uses nptl)

	PR target/52390
	* generic-morestack.c (__generic_morestack_set_initial_sp): Test
	for __linux__ when removing signals from __morestack_fullmask.

From-SVN: r184606
parent 2afda005
2012-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
PR target/52390
* generic-morestack.c (__generic_morestack_set_initial_sp): Test
for __linux__ when removing signals from __morestack_fullmask.
2012-02-23 Georg-Johann Lay <avr@gjlay.de> 2012-02-23 Georg-Johann Lay <avr@gjlay.de>
PR target/52261 PR target/52261
......
...@@ -507,7 +507,7 @@ __generic_morestack_set_initial_sp (void *sp, size_t len) ...@@ -507,7 +507,7 @@ __generic_morestack_set_initial_sp (void *sp, size_t len)
sigemptyset (&__morestack_initial_sp.mask); sigemptyset (&__morestack_initial_sp.mask);
sigfillset (&__morestack_fullmask); sigfillset (&__morestack_fullmask);
#ifdef __GLIBC__ #if defined(__GLIBC__) && defined(__linux__)
/* In glibc, the first two real time signals are used by the NPTL /* In glibc, the first two real time signals are used by the NPTL
threading library. By taking them out of the set of signals, we threading library. By taking them out of the set of signals, we
avoiding copying the signal mask in pthread_sigmask. More avoiding copying the signal mask in pthread_sigmask. More
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment