DragonFly users List (threaded) for 2007-11
DragonFly BSD
DragonFly users List (threaded) for 2007-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

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


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Mon, 12 Nov 2007 21:21:12 +0100
Mail-followup-to: users@crater.dragonflybsd.org

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]