This is the mail archive of the gcc@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: gcc restores wrong stack pointer value?


Doh, I suppose what I want is $sp, no, $fp, but that's where I'm
storing it, so I suppose I could just set $sp from $fp+const, yes?

It's an extra "restore sp from fp" but only when the frame size is
variable.


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