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]

stack frame of gcc?


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


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