提交 98f56b12 编写于 作者: R Rich Felker

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.
上级 144dc4f4
...@@ -55,14 +55,9 @@ typedef struct __ucontext { ...@@ -55,14 +55,9 @@ typedef struct __ucontext {
stack_t uc_stack; stack_t uc_stack;
int uc_pad[7]; int uc_pad[7];
mcontext_t *uc_regs; mcontext_t *uc_regs;
sigset_t uc_sigmask; sigset_t uc_sigmask;
int uc_maskext[30];
int uc_pad2[3]; int uc_pad2[3];
mcontext_t uc_mcontext; mcontext_t uc_mcontext;
char uc_reg_space[sizeof(mcontext_t) + 12];
} ucontext_t; } ucontext_t;
#define SA_NOCLDSTOP 1U #define SA_NOCLDSTOP 1U
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册