Subject: Re: port-i386/34112: i386 __sigtramp_siginfo_2 violates C calling
To: None <gnats-bugs@NetBSD.org>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: netbsd-bugs
Date: 07/31/2006 16:38:30
jld@NetBSD.org said:
> __sigtramp_siginfo_2 attempts to read the ucontext_t* to setcontext
> back to from the location in which it was passed at the sigaction
> function's third argument

Could you just replace the first line of __sigtramp_siginfo_2 by
        leal    140(%esp),%eax  /* get pointer to ucontext */

(Sorry, can't provide a clean patch due to local mods.)

best regards
Matthias