This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Beginner] disassembling gcc 3.4 and 4.1


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 )






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]