Re:Assembler generated by gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



hi,
  the instructions before the movl are the default prologue generated
for a function for setting up the activation record for it.It sets up
the stack and frame pointer for the fundtion's code to work properly.In
case of such simple functions,where stack is not needed you can do away
with it.gcc -O2 <file> -S may be more to ur liking :)

saurabh


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux