Fix tile SA_* conditions for POSIX.1:2008 (bug 21622).
commit9649350d2ee47fae00794d57e2526aa5d67d900e
authorJoseph Myers <joseph@codesourcery.com>
Wed, 21 Jun 2017 17:35:24 +0000 (21 17:35 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Wed, 21 Jun 2017 17:35:24 +0000 (21 17:35 +0000)
tree4df0b2b5bbe6258a10ca35f3e0f57b5fa14d44aa
parent03feacb562650cc3d51e9e76cd97e80e648aad84
Fix tile SA_* conditions for POSIX.1:2008 (bug 21622).

As shown by conform/ tests once the remaining namespace issues are
fixed, the tile bits/sigaction.h fails to declare SA_RESETHAND,
SA_RESTART and SA_NODEFER for non-XSI POSIX.1:2008 as other versions
do.  Those constants were moved from XSI to Base in the 2008 edition
of POSIX.  This patch fixes the conditions to match other versions of
this header.

Tested (compilation only) for tilegx-linux-gnu with
build-many-glibcs.py.

[BZ #21622]
* sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
__USE_MISC].
(SA_NODEFER): Likewise.
(SA_RESETHAND): Likewise.
ChangeLog
sysdeps/unix/sysv/linux/tile/bits/sigaction.h