+2017-05-23 Joseph Myers <joseph@codesourcery.com>
+
+ [BZ #21457]
+ * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
+ <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
+ <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
+ <bits/types/__sigset_t.h>.
+ (ucontext_t): Use sigset_t instead of __sigset_t.
+ * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
+ <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
+ <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
+ <bits/types/__sigset_t.h>.
+ (ucontext_t): Use sigset_t instead of __sigset_t.
+ * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
+ <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
+ <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
+ <bits/types/__sigset_t.h>.
+ (ucontext_t): Use sigset_t instead of __sigset_t.
+ * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
+ <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
+ <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
+ <bits/types/__sigset_t.h>.
+ (ucontext_t): Use sigset_t instead of __sigset_t.
+ * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
+ <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
+ <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
+ <bits/types/__sigset_t.h>.
+ (ucontext_t): Use sigset_t instead of __sigset_t.
+ * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
+ <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
+ <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
+ <bits/types/__sigset_t.h>.
+ (ucontext_t): Use sigset_t instead of __sigset_t.
+ * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
+ <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
+ <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
+ <bits/types/__sigset_t.h>.
+ (ucontext_t): Use sigset_t instead of __sigset_t.
+ * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
+ <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
+ <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
+ <bits/types/__sigset_t.h>.
+ (ucontext_t): Use sigset_t instead of __sigset_t.
+ * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
+ <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
+ <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
+ <bits/types/__sigset_t.h>.
+ (ucontext_t): Use sigset_t instead of __sigset_t.
+ * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
+ <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
+ <bits/ss_flags.h>. Include <bits/types/sigset_t.h>.
+ * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
+ <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
+ <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
+ <bits/types/__sigset_t.h>.
+ (ucontext_t): Use sigset_t instead of __sigset_t.
+ * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
+ <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
+ <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
+ <bits/types/__sigset_t.h>.
+ (ucontext_t): Use sigset_t instead of __sigset_t.
+ * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
+ <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
+ <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
+ <bits/types/__sigset_t.h>.
+ (ucontext_t): Use sigset_t instead of __sigset_t.
+ * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
+ <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
+ <bits/ss_flags.h>.
+ * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
+ <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
+ <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
+ <bits/types/__sigset_t.h>.
+ (ucontext_t): Use sigset_t instead of __sigset_t.
+ * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
+ <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
+ <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
+ <bits/types/__sigset_t.h>.
+ (ucontext_t): Use sigset_t instead of __sigset_t.
+ * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
+ <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
+ <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
+ <bits/types/__sigset_t.h>.
+ (ucontext_t): Use sigset_t instead of __sigset_t.
+ * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
+ <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
+ <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
+ <bits/types/__sigset_t.h>.
+ (ucontext_t): Use sigset_t instead of __sigset_t.
+ * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
+ <bits/types.h>.
+ * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
+ <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
+ <bits/ss_flags.h>. Include <bits/types/sigset_t.h> instead of
+ <bits/types/__sigset_t.h>.
+ (ucontext_t): Use sigset_t instead of __sigset_t.
+
2017-05-22 Zack Weinberg <zackw@panix.com>
* sysdeps/unix/sysv/linux/bits/siginfo-consts.h
#define _SYS_UCONTEXT_H 1
#include <features.h>
-#include <signal.h>
-/* We need the signal context definitions even if they are not exposed
- by <signal.h>. */
-#include <bits/types/__sigset_t.h>
+#include <bits/types/sigset_t.h>
#include <bits/sigcontext.h>
-#include <bits/sigstack.h>
-#include <bits/types/struct_sigstack.h>
#include <bits/types/stack_t.h>
-#include <bits/ss_flags.h>
typedef int greg_t;
{
unsigned long int uc_flags;
struct ucontext *uc_link;
- __sigset_t uc_sigmask;
+ sigset_t uc_sigmask;
stack_t uc_stack;
mcontext_t uc_mcontext;
long int uc_filler[5];
#define _SYS_UCONTEXT_H 1
#include <features.h>
-#include <signal.h>
-/* We need the signal context definitions even if they are not exposed
- by <signal.h>. */
-#include <bits/types/__sigset_t.h>
+#include <bits/types/sigset_t.h>
#include <bits/sigcontext.h>
-#include <bits/sigstack.h>
-#include <bits/types/struct_sigstack.h>
#include <bits/types/stack_t.h>
-#include <bits/ss_flags.h>
typedef struct sigcontext mcontext_t;
struct ucontext *uc_link;
stack_t uc_stack;
mcontext_t uc_mcontext;
- __sigset_t uc_sigmask;
+ sigset_t uc_sigmask;
} ucontext_t;
#endif /* sys/ucontext.h */
#define _SYS_UCONTEXT_H 1
#include <features.h>
-#include <signal.h>
-/* We need the signal context definitions even if they are not exposed
- by <signal.h>. */
-#include <bits/types/__sigset_t.h>
+#include <bits/types/sigset_t.h>
#include <bits/sigcontext.h>
-#include <bits/sigstack.h>
-#include <bits/types/struct_sigstack.h>
#include <bits/types/stack_t.h>
-#include <bits/ss_flags.h>
/* Type for general register. */
{
unsigned long int uc_flags;
struct ucontext *uc_link;
- __sigset_t uc_sigmask;
+ sigset_t uc_sigmask;
stack_t uc_stack;
mcontext_t uc_mcontext;
long int uc_filler[5];
#define _SYS_UCONTEXT_H 1
#include <features.h>
-#include <signal.h>
-/* We need the signal context definitions even if they are not exposed
- by <signal.h>. */
-#include <bits/types/__sigset_t.h>
+#include <bits/types/sigset_t.h>
#include <bits/sigcontext.h>
-#include <bits/sigstack.h>
-#include <bits/types/struct_sigstack.h>
#include <bits/types/stack_t.h>
-#include <bits/ss_flags.h>
/* Type for general register. */
{
unsigned long int uc_flags;
struct ucontext *uc_link;
- __sigset_t uc_sigmask;
+ sigset_t uc_sigmask;
stack_t uc_stack;
mcontext_t uc_mcontext;
long int uc_filler[201];
#define _SYS_UCONTEXT_H 1
#include <features.h>
-#include <signal.h>
-/* We need the signal context definitions even if they are not exposed
- by <signal.h>. */
-#include <bits/types/__sigset_t.h>
+#include <bits/types/sigset_t.h>
#include <bits/sigcontext.h>
-#include <bits/sigstack.h>
-#include <bits/types/struct_sigstack.h>
#include <bits/types/stack_t.h>
-#include <bits/ss_flags.h>
#include <sgidefs.h>
__uint64_t uc_flags;
#endif
struct ucontext *uc_link;
- __sigset_t uc_sigmask;
+ sigset_t uc_sigmask;
stack_t uc_stack;
mcontext_t uc_mcontext;
int uc_filler[48];
#define _SYS_UCONTEXT_H 1
#include <features.h>
-#include <signal.h>
-/* We need the signal context definitions even if they are not exposed
- by <signal.h>. */
-#include <bits/types/__sigset_t.h>
+#include <bits/types/sigset_t.h>
#include <bits/sigcontext.h>
-#include <bits/sigstack.h>
-#include <bits/types/struct_sigstack.h>
#include <bits/types/stack_t.h>
-#include <bits/ss_flags.h>
#ifdef __USE_MISC
# include <sys/procfs.h>
unsigned long uc_flags;
struct ucontext *uc_link;
stack_t uc_stack;
- __sigset_t uc_sigmask;
+ sigset_t uc_sigmask;
mcontext_t uc_mcontext;
} ucontext_t;
#define _SYS_UCONTEXT_H 1
#include <features.h>
-#include <signal.h>
-/* We need the signal context definitions even if they are not exposed
- by <signal.h>. */
-#include <bits/types/__sigset_t.h>
+#include <bits/types/sigset_t.h>
#include <bits/sigcontext.h>
-#include <bits/sigstack.h>
-#include <bits/types/struct_sigstack.h>
#include <bits/types/stack_t.h>
-#include <bits/ss_flags.h>
/* Type for general register. */
unsigned long __uc_osf_sigmask;
stack_t uc_stack;
mcontext_t uc_mcontext;
- __sigset_t uc_sigmask;
+ sigset_t uc_sigmask;
} ucontext_t;
#endif /* sys/ucontext.h */
#define _SYS_UCONTEXT_H 1
#include <features.h>
-#include <signal.h>
-/* We need the signal context definitions even if they are not exposed
- by <signal.h>. */
-#include <bits/types/__sigset_t.h>
+#include <bits/types/sigset_t.h>
#include <bits/sigcontext.h>
-#include <bits/sigstack.h>
-#include <bits/types/struct_sigstack.h>
#include <bits/types/stack_t.h>
-#include <bits/ss_flags.h>
#ifdef __USE_MISC
struct ucontext *uc_link;
stack_t uc_stack;
mcontext_t uc_mcontext;
- __sigset_t uc_sigmask;
+ sigset_t uc_sigmask;
unsigned long uc_regspace[128] __attribute__((__aligned__(8)));
} ucontext_t;
#define _SYS_UCONTEXT_H 1
#include <features.h>
-#include <signal.h>
-/* We need the signal context definitions even if they are not exposed
- by <signal.h>. */
-#include <bits/types/__sigset_t.h>
+#include <bits/types/sigset_t.h>
#include <bits/sigcontext.h>
-#include <bits/sigstack.h>
-#include <bits/types/struct_sigstack.h>
#include <bits/types/stack_t.h>
-#include <bits/ss_flags.h>
#ifdef __USE_MISC
struct ucontext *uc_link;
stack_t uc_stack;
mcontext_t uc_mcontext;
- __sigset_t uc_sigmask;
+ sigset_t uc_sigmask;
} ucontext_t;
#endif /* sys/ucontext.h */
#define _SYS_UCONTEXT_H 1
#include <features.h>
-#include <signal.h>
-/* We need the signal context definitions even if they are not exposed
- by <signal.h>. */
+#include <bits/types/sigset_t.h>
#include <bits/sigcontext.h>
-#include <bits/sigstack.h>
-#include <bits/types/struct_sigstack.h>
#include <bits/types/stack_t.h>
-#include <bits/ss_flags.h>
/*
#define _SYS_UCONTEXT_H 1
#include <features.h>
-#include <signal.h>
-/* We need the signal context definitions even if they are not exposed
- by <signal.h>. */
-#include <bits/types/__sigset_t.h>
+#include <bits/types/sigset_t.h>
#include <bits/sigcontext.h>
-#include <bits/sigstack.h>
-#include <bits/types/struct_sigstack.h>
#include <bits/types/stack_t.h>
-#include <bits/ss_flags.h>
/* Type for general register. */
stack_t uc_stack;
mcontext_t uc_mcontext;
unsigned long uc_filler[80];
- __sigset_t uc_sigmask;
+ sigset_t uc_sigmask;
} ucontext_t;
#endif /* sys/ucontext.h */
#define _SYS_UCONTEXT_H 1
#include <features.h>
-#include <signal.h>
-/* We need the signal context definitions even if they are not exposed
- by <signal.h>. */
-#include <bits/types/__sigset_t.h>
+#include <bits/types/sigset_t.h>
#include <bits/sigcontext.h>
-#include <bits/sigstack.h>
-#include <bits/types/struct_sigstack.h>
#include <bits/types/stack_t.h>
-#include <bits/ss_flags.h>
#include <sgidefs.h>
struct ucontext *uc_link;
stack_t uc_stack;
mcontext_t uc_mcontext;
- __sigset_t uc_sigmask;
+ sigset_t uc_sigmask;
} ucontext_t;
#endif /* sys/ucontext.h */
#define _SYS_UCONTEXT_H 1
#include <features.h>
-#include <signal.h>
-/* We need the signal context definitions even if they are not exposed
- by <signal.h>. */
-#include <bits/types/__sigset_t.h>
+#include <bits/types/sigset_t.h>
#include <bits/sigcontext.h>
-#include <bits/sigstack.h>
-#include <bits/types/struct_sigstack.h>
#include <bits/types/stack_t.h>
-#include <bits/ss_flags.h>
/* These definitions must be in sync with the kernel. */
struct ucontext *uc_link;
stack_t uc_stack;
mcontext_t uc_mcontext;
- __sigset_t uc_sigmask;
+ sigset_t uc_sigmask;
} ucontext_t;
#endif /* sys/ucontext.h */
#include <features.h>
-/* We need the signal context definitions even if they are not exposed
- by <signal.h>. */
#include <bits/sigcontext.h>
-#include <bits/sigstack.h>
#include <bits/types/sigset_t.h>
-#include <bits/types/struct_sigstack.h>
#include <bits/types/stack_t.h>
-#include <bits/ss_flags.h>
#if __WORDSIZE == 32
#define _SYS_UCONTEXT_H 1
#include <features.h>
-#include <signal.h>
-/* We need the signal context definitions even if they are not exposed
- by in <signal.h>. */
-#include <bits/types/__sigset_t.h>
+#include <bits/types/sigset_t.h>
#include <bits/sigcontext.h>
-#include <bits/sigstack.h>
-#include <bits/types/struct_sigstack.h>
#include <bits/types/stack_t.h>
-#include <bits/ss_flags.h>
/* Type for a program status word. */
struct ucontext *uc_link;
stack_t uc_stack;
mcontext_t uc_mcontext;
- __sigset_t uc_sigmask;
+ sigset_t uc_sigmask;
} ucontext_t;
#define _SYS_UCONTEXT_H 1
#include <features.h>
-#include <signal.h>
-/* We need the signal context definitions even if they are not exposed
- by <signal.h>. */
-#include <bits/types/__sigset_t.h>
+#include <bits/types/sigset_t.h>
#include <bits/sigcontext.h>
-#include <bits/sigstack.h>
-#include <bits/types/struct_sigstack.h>
#include <bits/types/stack_t.h>
-#include <bits/ss_flags.h>
typedef int greg_t;
struct ucontext *uc_link;
stack_t uc_stack;
mcontext_t uc_mcontext;
- __sigset_t uc_sigmask;
+ sigset_t uc_sigmask;
} ucontext_t;
#endif /* sys/ucontext.h */
#define _SYS_UCONTEXT_H 1
#include <features.h>
-#include <signal.h>
-/* We need the signal context definitions even if they are not exposed
- by <signal.h>. */
-#include <bits/types/__sigset_t.h>
+#include <bits/types/sigset_t.h>
#include <bits/sigcontext.h>
-#include <bits/sigstack.h>
-#include <bits/types/struct_sigstack.h>
#include <bits/types/stack_t.h>
-#include <bits/ss_flags.h>
#include <bits/wordsize.h>
unsigned long __uc_sigmask;
mcontext_t uc_mcontext;
stack_t uc_stack;
- __sigset_t uc_sigmask;
+ sigset_t uc_sigmask;
} ucontext_t;
#endif /* __WORDISIZE == 64 */
{
unsigned long uc_flags;
struct ucontext *uc_link;
- __sigset_t uc_sigmask;
+ sigset_t uc_sigmask;
stack_t uc_stack;
mcontext_t uc_mcontext;
} ucontext_t;
#define _SYS_UCONTEXT_H 1
#include <features.h>
-#include <signal.h>
-/* We need the signal context definitions even if they are not exposed
- by <signal.h>. */
-#include <bits/types/__sigset_t.h>
+#include <bits/types/sigset_t.h>
#include <bits/sigcontext.h>
-#include <bits/sigstack.h>
-#include <bits/types/struct_sigstack.h>
#include <bits/types/stack_t.h>
-#include <bits/ss_flags.h>
#ifdef __USE_MISC
/* Get register type and register names. */
struct ucontext *uc_link;
stack_t uc_stack;
mcontext_t uc_mcontext;
- __sigset_t uc_sigmask;
+ sigset_t uc_sigmask;
} ucontext_t;
#endif /* sys/ucontext.h */
# error "Never use <bits/sigcontext.h> directly; include <signal.h> instead."
#endif
+#include <bits/types.h>
+
#define FP_XSTATE_MAGIC1 0x46505853U
#define FP_XSTATE_MAGIC2 0x46505845U
#define FP_XSTATE_MAGIC2_SIZE sizeof(FP_XSTATE_MAGIC2)
#define _SYS_UCONTEXT_H 1
#include <features.h>
-#include <signal.h>
-/* We need the signal context definitions even if they are not exposed
- by <signal.h>. */
-#include <bits/types/__sigset_t.h>
+#include <bits/types/sigset_t.h>
#include <bits/sigcontext.h>
-#include <bits/sigstack.h>
-#include <bits/types/struct_sigstack.h>
#include <bits/types/stack_t.h>
-#include <bits/ss_flags.h>
#ifdef __x86_64__
struct ucontext *uc_link;
stack_t uc_stack;
mcontext_t uc_mcontext;
- __sigset_t uc_sigmask;
+ sigset_t uc_sigmask;
struct _libc_fpstate __fpregs_mem;
} ucontext_t;
struct ucontext *uc_link;
stack_t uc_stack;
mcontext_t uc_mcontext;
- __sigset_t uc_sigmask;
+ sigset_t uc_sigmask;
struct _libc_fpstate __fpregs_mem;
} ucontext_t;