Jerry Jelinek wrote:
Because its not right above, all of the other register values are
also pushed on the stack, so we need to go through the SSP to get
to the right spot. I can add a comment explaining this but the
32bit and 64bit stacks are not identical.
Actually, what I said above is not quite right. I think that
its not the other registers but the alignment that is making
the stacks different. I took another look at the AMD64 Architecture
Programmers Manual, Volume 2: System Programming manual. This is
discussed in section 8.9 Long-Mode Interrupt Control Transfers. You
can see how the stack is different vs. the discussion in section 8.7.
zones-discuss mailing list