Re: PATCH: Check __GLIBC__ when using __SIGRTMIN in generic-morestack.c

2011-12-14 Thread Ian Lance Taylor
"H.J. Lu" writes: > On Wed, Dec 14, 2011 at 10:38 AM, Ian Lance Taylor wrote: >> "H.J. Lu" writes: >> >>> Since __SIGRTMIN is for the NPTL threading library, should we check >>> __GLIBC__ instead of __linux__?  Otherwise, it fails to build with >>> Bionic library on Android. >> >> This is OK.  

Re: PATCH: Check __GLIBC__ when using __SIGRTMIN in generic-morestack.c

2011-12-14 Thread H.J. Lu
On Wed, Dec 14, 2011 at 10:38 AM, Ian Lance Taylor wrote: > "H.J. Lu" writes: > >> Since __SIGRTMIN is for the NPTL threading library, should we check >> __GLIBC__ instead of __linux__?  Otherwise, it fails to build with >> Bionic library on Android. > > This is OK.  But please just fix the exist

Re: PATCH: Check __GLIBC__ when using __SIGRTMIN in generic-morestack.c

2011-12-14 Thread Ian Lance Taylor
"H.J. Lu" writes: > Since __SIGRTMIN is for the NPTL threading library, should we check > __GLIBC__ instead of __linux__? Otherwise, it fails to build with > Bionic library on Android. This is OK. But please just fix the existing comment to say glibc instead of Linux, or something like that.

PATCH: Check __GLIBC__ when using __SIGRTMIN in generic-morestack.c

2011-12-14 Thread H.J. Lu
Since __SIGRTMIN is for the NPTL threading library, should we check __GLIBC__ instead of __linux__? Otherwise, it fails to build with Bionic library on Android. H.J. --- libgcc/ChangeLog.hjl |4 libgcc/generic-morestack.c |5 - 2 files changed, 8 insertions(+), 1 deletion