From: Mike Frysinger Date: Thu, 23 Jul 2015 07:27:04 +0000 (-0400) Subject: ia64: sigaction.h: fix sa_flags ordering X-Git-Tag: glibc-2.22~36 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=992f71ddd34b0caf8fb04bc99e4bab8cb7badf83;p=glibc.git 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 --- diff --git a/ChangeLog b/ChangeLog index 25abba6213..47afb89d6a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-07-23 Mike Frysinger + + * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction): + Swap __glibc_reserved0 and sa_flags order. + 2015-07-23 Siddhesh Poyarekar [BZ #18657] diff --git a/sysdeps/unix/sysv/linux/ia64/bits/sigaction.h b/sysdeps/unix/sysv/linux/ia64/bits/sigaction.h index 46d03faefe..912307ec3a 100644 --- a/sysdeps/unix/sysv/linux/ia64/bits/sigaction.h +++ b/sysdeps/unix/sysv/linux/ia64/bits/sigaction.h @@ -40,8 +40,8 @@ struct sigaction #endif /* Special flags. */ - int __glibc_reserved0; int sa_flags; + int __glibc_reserved0; /* Additional set of signals to be blocked. */ __sigset_t sa_mask;