Current-Users archive

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

Re: Stack alignement with pthreads

On Friday, at 09:44, Martin Husemann wrote:
| The stack base alignement provided for threads depends on the architecture.
| What alignement does gcc expect on i386?

I think (?) it expects 16 bytes alignment, since the main starts with
  andl      $-16, %esp

and that the aligned(16) variables are not aligned properly.


Home | Main Index | Thread Index | Old Index