// LP64todo - should this move?
#ifdef BSD_KERNEL_PRIVATE
-#if __DARWIN_ALIGN_NATURAL
-#pragma options align=natural
-#endif
-
union user_sigval {
struct {
int pad; /* assumes Motorolla byte order */
user_addr_t sigev_notify_attributes; /* Notify attributes */
};
-#if __DARWIN_ALIGN_NATURAL
-#pragma options align=reset
-#endif
-
#endif /* BSD_KERNEL_PRIVATE */
typedef struct __siginfo {
#ifdef BSD_KERNEL_PRIVATE
-#if __DARWIN_ALIGN_NATURAL
-#pragma options align=natural
-#endif
-
typedef struct __user_siginfo {
int si_signo; /* signal number */
int si_errno; /* errno association */
user_ulong_t pad[7]; /* Reserved for Future Use */
} user_siginfo_t;
-#if __DARWIN_ALIGN_NATURAL
-#pragma options align=reset
-#endif
-
#endif /* BSD_KERNEL_PRIVATE */
/*
#ifdef BSD_KERNEL_PRIVATE
#include <machine/types.h>
-#if __DARWIN_ALIGN_NATURAL
-#pragma options align=natural
-#endif
-
union __user_sigaction_u {
user_addr_t __sa_handler;
user_addr_t __sa_sigaction;
int sa_flags; /* see signal options below */
};
-#if __DARWIN_ALIGN_NATURAL
-#pragma options align=reset
-#endif
-
#undef SIG_DFL
#undef SIG_IGN
#undef SIG_ERR
*/
#ifdef BSD_KERNEL_PRIVATE
-#if __DARWIN_ALIGN_NATURAL
-#pragma options align=natural
-#endif
-
struct user_sigaltstack {
user_addr_t ss_sp; /* signal stack base */
user_size_t ss_size; /* signal stack length */
- int ss_flags; /* SA_DISABLE and/or SA_ONSTACK */
+ int ss_flags __attribute((aligned(8))); /* SA_DISABLE and/or SA_ONSTACK */
};
-#if __DARWIN_ALIGN_NATURAL
-#pragma options align=reset
-#endif
-
#endif /* BSD_KERNEL_PRIVATE */
#ifndef _STACK_T