Index: sys/powerpc/powerpc/exec_machdep.c =================================================================== --- sys/powerpc/powerpc/exec_machdep.c +++ sys/powerpc/powerpc/exec_machdep.c @@ -130,6 +130,21 @@ extern struct sysentvec elf64_freebsd_sysvec_v2; #endif +#ifdef __powerpc64__ +_Static_assert(sizeof(mcontext_t) == 1392, "mcontext_t bogusly changed size"); +_Static_assert(sizeof(ucontext_t) == 1472, "mcontext_t bogusly changed size"); +_Static_assert(sizeof(siginfo_t) == 80, "siginfo_t bogusly changed size"); +#ifdef COMPAT_FREEBSD32 +_Static_assert(sizeof(mcontext32_t) == 1224, "mcontext32_t bogusly changed size"); +_Static_assert(sizeof(ucontext32_t) == 1280, "ucontext32_t bogusly changed size"); +_Static_assert(sizeof(struct siginfo32) == 64, "siginfo_t bogusly changed size"); +#endif /* COMPAT_FREEBSD32 */ +#else /* powerpc */ +_Static_assert(sizeof(mcontext_t) == 1224, "mcontext_t bogusly changed size"); +_Static_assert(sizeof(ucontext_t) == 1280, "mcontext_t bogusly changed size"); +_Static_assert(sizeof(siginfo_t) == 64, "siginfo_t bogusly changed size"); +#endif + void sendsig(sig_t catcher, ksiginfo_t *ksi, sigset_t *mask) {