diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-27 18:50:45 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-02-27 18:50:45 +0000 |
commit | 8d2259c83f94c082ad8a00b5d00bb639ce24efce (patch) | |
tree | 3a078170bdfb91e94da6ef3629094a791b697015 /libgcc/generic-morestack.c | |
parent | e770c5fcf4ebef4b12f34ecea3544d1e4758ebe5 (diff) | |
download | gcc-8d2259c83f94c082ad8a00b5d00bb639ce24efce.tar.gz |
PR target/52390
* generic-morestack.c (__generic_morestack_set_initial_sp): Test
for __linux__ when removing signals from __morestack_fullmask.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@184606 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc/generic-morestack.c')
-rw-r--r-- | libgcc/generic-morestack.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgcc/generic-morestack.c b/libgcc/generic-morestack.c index 96a8210f912..6182a379558 100644 --- a/libgcc/generic-morestack.c +++ b/libgcc/generic-morestack.c @@ -507,7 +507,7 @@ __generic_morestack_set_initial_sp (void *sp, size_t len) sigemptyset (&__morestack_initial_sp.mask); sigfillset (&__morestack_fullmask); -#ifdef __GLIBC__ +#if defined(__GLIBC__) && defined(__linux__) /* 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 |