Re: Stack frame question on x86 code generation

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

 



You are right! Thanks!
Now, it makes sense.

Best regards,

--- James E Wilson <wilson@xxxxxxxxxxxxxxx> wrote:

> On Mon, 2005-04-25 at 18:22, Gang-Ryung Uh wrote:
> > of the current development gcc version is not
> aligned
> > with 16 bytes with -40. How you can make it 16
> bytes
> > aligned with -8? 
> 
> push/push/subl -40 gives -48 which is 16-byte
> aligned.  Or perhaps that
> is call/push/subl -40 which gives the -48.  I'm not
> sure how x86 call
> insns work.
> 
> subl -8/push/push gives -16 which is 16 byte
> aligned.
> 
> You can step through code in gdb with display/x $sp
> if you want to
> follow this, and see what the real stack pointer
> value is.
> -- 
> Jim Wilson, GNU Tools Support,
> http://www.SpecifixInc.com
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux