Stack frame question on x86 code generation
Ian Lance Taylor
Mon Apr 25 01:55:00 GMT 2005
Gang-Ryung Uh <firstname.lastname@example.org> writes:
> Please allow me to ask one more question. How about
> incoming parameters? (the running example that I used
> three int type arguments - in other words, caller
> (main) will
> pushl 3 times to pass the arguments in the stack).
> incoming parameters considered as the part of
> record (stack frame)?
gcc will try to align the stack to the preferred stack boundary
(default 16) at function entry. For this purpose the incoming
parameters are part of the caller's stack frame.
More information about the Gcc-help