gcc update (was: Re: va_copy() problem)

Joerg Sonnenberger joerg at britannica.bec.de
Mon Nov 12 12:39:35 PST 2007


On Mon, Nov 12, 2007 at 09:27:17PM +0100, Simon 'corecode' Schubert wrote:
> No, the problem is that gcc uses %ebx after a function call, which it is
> not allowed to do:

It is allowed to. From the i386 ABI:

If necessary, a function saves the values of %edi, %esi, and %ebx in the
positions shown and restores their values before returning to the caller.

Joerg





More information about the Users mailing list