From: Rich Felker Date: Sat, 24 Nov 2012 00:54:56 +0000 (-0500) Subject: fix powerpc ucontext, again.. X-Git-Tag: v0.9.8~9 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=98f56b12ceddba183c4fdba881ec753bbeea4e9f;p=oweals%2Fmusl.git fix powerpc ucontext, again.. it should now really match the kernel. some of the removed padding corresponded to the difference between user and kernel sigset_t. the space at the end was redundant with the uc_mcontext member and seems to have been added as a result of misunderstanding glibc's definition versus the kernel's. --- diff --git a/arch/powerpc/bits/signal.h b/arch/powerpc/bits/signal.h index 5699e6c8..7ee38fba 100644 --- a/arch/powerpc/bits/signal.h +++ b/arch/powerpc/bits/signal.h @@ -55,14 +55,9 @@ typedef struct __ucontext { stack_t uc_stack; int uc_pad[7]; mcontext_t *uc_regs; - sigset_t uc_sigmask; - - int uc_maskext[30]; int uc_pad2[3]; - mcontext_t uc_mcontext; - char uc_reg_space[sizeof(mcontext_t) + 12]; } ucontext_t; #define SA_NOCLDSTOP 1U