On Sun, Feb 5, 2012 at 00:00, Peter Maydell <peter.mayd...@linaro.org> wrote: > On 4 February 2012 14:26, Alex Barcelo <abarc...@ac.upc.edu> wrote: >> (...) > This looks like a bug, yes -- the other architectures have the ! > (or equivalent code) in their get_sigframe() implementations so > probably ppc is just wrong here. Yes, indeed. They do the check in some fancy ways (with a "!", with a "==0") but they all do the same.
> There are a few other architectures whose get_sigframe doesn't call > sas_ss_flags() at all -- they might also be wrong but I haven't checked. I checked some of them, and it seemed me correct because not all architectures have sigaltstack enabled. But I have not done a thorough check. Just sent a trivial patch, hope is ok.