summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog16
-rw-r--r--sysdeps/unix/sysv/linux/hppa/bits/sigaction.h7
2 files changed, 22 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 8a19531927..b8d1c338c7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,21 @@
 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
 
+	* sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
+	(struct sigaction): Change sa_flags from a long to an int, and add
+	__glibc_reserved0 before it for padding when __WORDSIZE is 64.
+
+2015-07-30  Mike Frysinger  <vapier@gentoo.org>
+
+	* hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
+	* sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
+	sysdeps/generic/sysdep.h include.
+	* sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
+	_LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
+	sysdeps/hppa/sysdep.h.
+	(ENTRY, PSEUDO): Undefine before defining.
+
+2015-07-30  Mike Frysinger  <vapier@gentoo.org>
+
 	* sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
 	from scratch to use INTERNAL_SYSCALL.
 
diff --git a/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h b/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
index ee41396394..ebe375fb1e 100644
--- a/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
+++ b/sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
@@ -20,6 +20,8 @@
 # error "Never include <bits/sigaction.h> directly; use <signal.h> instead."
 #endif
 
+#include <bits/wordsize.h>
+
 /* Structure describing the action to be taken when a signal arrives.  */
 struct sigaction
   {
@@ -40,7 +42,10 @@ struct sigaction
 #endif
 
     /* Special flags.  */
-    unsigned long int sa_flags;
+#if __WORDSIZE == 64
+    int __glibc_reserved0;
+#endif
+    int sa_flags;
 
     /* Additional set of signals to be blocked.  */
     __sigset_t sa_mask;