[OE-core] [PATCH 1/1] qemugl: Use local variable rather than "push" to save register

Richard Purdie richard.purdie at linuxfoundation.org
Thu Sep 22 06:47:59 UTC 2011


On Thu, 2011-09-22 at 13:51 +0800, edwin.zhai at intel.com wrote:
> From: Zhai Edwin <edwin.zhai at intel.com>
> 
> New gcc uses "%esp" rather than "%ebp" to index local variable in stack, and
> push between save-to/restore-from stack decrease "%esp", which leads wrong
> index. Saving registers via local variables to make gcc aware of this and avoid
> stack disorder.
> 
> [YOCTO #1442] got fixed
> 
> Signed-off-by: Zhai Edwin <edwin.zhai at intel.com>

Merged to master, good catch!

Cheers,

Richard





More information about the Openembedded-core mailing list