]> 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 07:47:22 +0000 (08:47 +0100)
commitafc9edc27e77e80fdd24b4c8c538f91672940e75
tree28700a5150566a5b2212a0ce5b3e0482e983d9ea
parent974cdb88680359aac5aefd11b84c4a374ab3a753
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