]> code.ossystems Code Review - openembedded-core.git/commit
qemugl: Use local variable rather than "push" to save register
authorZhai Edwin <edwin.zhai@intel.com>
Thu, 22 Sep 2011 05:51:24 +0000 (13:51 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Sep 2011 20:05:08 +0000 (21:05 +0100)
commitb0cf6e6628f323cde01d5e41592230d5a4c98f5d
treec5b64679b4299cb3db6086e4678881de17a69bce
parent9b9f61ffa841833dafc6d097723dc1aaa37908be
qemugl: Use local variable rather than "push" to save register

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@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/mesa/qemugl/call_opengl_fix.patch [new file with mode: 0644]
meta/recipes-graphics/mesa/qemugl_git.bb