ia64: sigaction.h: fix sa_flags ordering

Since ia64 is little endian, sa_flags has to come before the padding
when splitting it from 64bits to 32bits.

Reported-by: Joseph Myers <joseph@codesourcery.com>
This commit is contained in:
Mike Frysinger 2015-07-23 03:27:04 -04:00
parent 90b37cac8b
commit 992f71ddd3
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-07-23 Mike Frysinger <vapier@gentoo.org>
* sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
Swap __glibc_reserved0 and sa_flags order.
2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com> 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
[BZ #18657] [BZ #18657]

View File

@ -40,8 +40,8 @@ struct sigaction
#endif #endif
/* Special flags. */ /* Special flags. */
int __glibc_reserved0;
int sa_flags; int sa_flags;
int __glibc_reserved0;
/* Additional set of signals to be blocked. */ /* Additional set of signals to be blocked. */
__sigset_t sa_mask; __sigset_t sa_mask;