On 14/06/2013 12:48, Nathan Kurz wrote:
But why is it being pushed and popped with no intervening function call? Is the ghost it leaves on the stack used for something?
Yes, it's used to get backtraces for not-so-smart debuggers or if there's no debugging information in the binary. Newer GCC/GDB versions can debug without frame pointer, so it's omitted by default when compiling with -O2.
Nick
