This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
stack frame of gcc?
- To: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
- Subject: stack frame of gcc?
- From: "Wang, Freeman (Xiaoguang)" <Freeman dot Wang at Marconi dot com>
- Date: Thu, 16 Aug 2001 18:56:29 -0400
Hi,
What controls the stack frame of functions when compiled with gcc?
I found in some code that most of the functions follow the same convention:
pushl %ebp
movl %esp,%ebp
but there are still some functions have a strange header.
If the options are : -fno-defer-pop -funsigned-char -fdollars-in-identifiers
-nostdinc -fno-builtin -fvolatile -O2 -pipe -march=pentium, -DCPU=PENTIUM,
which kinds of functions will be assigned the conventional header?
How many variations?
Thanks
Freeman