aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.6/libgcc/generic-morestack.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.6/libgcc/generic-morestack.c')
-rw-r--r--gcc-4.6/libgcc/generic-morestack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc-4.6/libgcc/generic-morestack.c b/gcc-4.6/libgcc/generic-morestack.c
index 7e29bbc..77344a9 100644
--- a/gcc-4.6/libgcc/generic-morestack.c
+++ b/gcc-4.6/libgcc/generic-morestack.c
@@ -459,8 +459,8 @@ __generic_morestack_set_initial_sp (void *sp, size_t len)
sigemptyset (&__morestack_initial_sp.mask);
sigfillset (&__morestack_fullmask);
-#ifdef __linux__
- /* On Linux, the first two real time signals are used by the NPTL
+#ifdef __GLIBC__
+ /* 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
avoiding copying the signal mask in pthread_sigmask. More
importantly, pthread_sigmask uses less stack space on x86_64. */