Subject: Re: port-i386/34112: i386 __sigtramp_siginfo_2 violates C calling
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Drochner <M.Drochner@fz-juelich.de>
List: netbsd-bugs
Date: 07/31/2006 14:40:02
The following reply was made to PR port-i386/34112; it has been noted by GNATS.

From: Matthias Drochner <M.Drochner@fz-juelich.de>
To: gnats-bugs@NetBSD.org
Cc: port-i386-maintainer@NetBSD.org, gnats-admin@NetBSD.org,
	netbsd-bugs@NetBSD.org
Subject: Re: port-i386/34112: i386 __sigtramp_siginfo_2 violates C calling 
 convention
Date: Mon, 31 Jul 2006 16:38:30 +0200

 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