Subject: Re: Powerpc signal handler with floating point registers
To: Matt Thomas <matt@3am-software.com>
From: Nathan J. Williams <nathanw@wasabisystems.com>
List: port-powerpc
Date: 02/28/2005 19:37:53
Matt Thomas <matt@3am-software.com> writes:

> At 06:02 PM 2/25/2005, you wrote:
> >Just tried -current (NetBSD 2.99.16). Still doesn't
> >seem to work.
> 
> You need use sigaction and specify SA_SIGINFO.
> Only in that case will FP (or AltiVec) registers be preserved.

What's the justification for this restriction? I'm not aware of any
language in SUSv3 or the PPC ABI that restricts FP code in signal
handlers.

        - Nathan