I think you're seeing a difference in the value of
|-mpreferred-stack-boundary
I did a quick google search to see if I could find a good link on that
subject and/or something that indicated a version number of gcc in which
that had been changed. I didn't find anything.
You might find some explanation by looking that up in the documentation
of the two versions of gcc you have installed.
|
pierre wrote:
gcc 3.4.6 does calculate 4 bytes ( SUB $ 0x4, %esp )
gcc 4.1.2 does calculate 16 bytes to be substracted to %esp register
( SUB $ 0x10, %esp )