Re: [RFA Darwin]: Add push_dummy_call for i386

H.J. Lu
2009-07-04T15:31:52Z

On Fri, Jul 3, 2009 at 8:51 AM, Tristan Gingold<gingold@adacore.com> wrote:
> Hi,
>
> Darwin i386 ABI is slightly different from the SVR4 one.  In particular
> stack alignment is 16.  As a consquence, i386 Darwin can't use the standard
> i386-tdeo.c push_dummy_call and this patch provides a Darwin version of this
> call.
>

Well, the code generated by gcc for Linux/i386 assumes that the incoming
stack is aligned at 16byte. If not, functions using SSE registers may crash.

--
H.J.