Subject: Re: SRR1 bits in signal trampolines
To: Aymeric Vincent <vincent@labri.fr>
From: Aymeric Vincent <vincent@labri.fr>
List: port-powerpc
Date: 04/20/2004 17:42:32
Hi,
for the record, it looks like Matt Thomas was working on this issue
because he committed fixes for this without noticing my e-mail.
Aymeric
Aymeric Vincent wrote:
> The problem is with the following test in
> powerpc/powerpc/compat_16_machdep.c:compat_16_sys___sigreturn14():
>
> if ((sc.sc_frame.srr1 & PSL_USERSTATIC) != (tf->srr1
> &PSL_USERSTATIC))
> return (EINVAL);