Subject: Re: port-i386/34112: i386 __sigtramp_siginfo_2 violates C calling convention
To: None <jld@NetBSD.org, gnats-admin@netbsd.org, netbsd-bugs@netbsd.org,>
From: Jed Davis <jld@NetBSD.org>
List: netbsd-bugs
Date: 08/02/2006 04:25:01
The following reply was made to PR port-i386/34112; it has been noted by GNATS.

From: Jed Davis <jld@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-i386/34112: i386 __sigtramp_siginfo_2 violates C calling convention
Date: Wed, 2 Aug 2006 00:20:01 -0400

 On Mon, Jul 31, 2006 at 02:40:02PM +0000, Matthias Drochner wrote:
 >  
 >  Could you just replace the first line of __sigtramp_siginfo_2 by
 >          leal    140(%esp),%eax  /* get pointer to ucontext */
 
 I've tested that, and indeed it works -- as does the clearer 12+128 from
 your larger patch on tech-kern.  (And I notice si_pad, which removes the
 question I had about the magicness of that number.)
 
 So, I've committed that change.  I'll go change some GNATS fields now.