about summary refs log tree commit diff
path: root/sysdeps/unix
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2015-07-23 03:27:04 -0400
committerMike Frysinger <vapier@gentoo.org>2015-07-23 03:28:13 -0400
commit992f71ddd34b0caf8fb04bc99e4bab8cb7badf83 (patch)
tree1a4740d018296fe44ae4f607f18a58693c54fd53 /sysdeps/unix
parent90b37cac8b5a3e1548c29d91e3e0bff1014d2e5c (diff)
downloadglibc-992f71ddd34b0caf8fb04bc99e4bab8cb7badf83.tar.gz
glibc-992f71ddd34b0caf8fb04bc99e4bab8cb7badf83.tar.xz
glibc-992f71ddd34b0caf8fb04bc99e4bab8cb7badf83.zip
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>
Diffstat (limited to 'sysdeps/unix')
-rw-r--r--sysdeps/unix/sysv/linux/ia64/bits/sigaction.h2
1 files changed, 1 insertions, 1 deletions
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;