diff options
author | Zhai Edwin <edwin.zhai@intel.com> | 2011-09-22 13:51:24 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-09-22 22:28:09 +0100 |
commit | d513e5f92c180650186b92d30900e8d11ecaa4f2 (patch) | |
tree | 63d52703bf8b76cdbd4631461a5d1230085b62d3 /meta/recipes-graphics/mesa/qemugl_git.bb | |
parent | e9f8b99215447091a7a61b34373f0073089de255 (diff) | |
download | poky-d513e5f92c180650186b92d30900e8d11ecaa4f2.tar.gz |
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
(From OE-Core rev: afc9edc27e77e80fdd24b4c8c538f91672940e75)
Signed-off-by: Zhai Edwin <edwin.zhai@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/qemugl_git.bb')
-rw-r--r-- | meta/recipes-graphics/mesa/qemugl_git.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/qemugl_git.bb b/meta/recipes-graphics/mesa/qemugl_git.bb index 9d5115f43d..1658759258 100644 --- a/meta/recipes-graphics/mesa/qemugl_git.bb +++ b/meta/recipes-graphics/mesa/qemugl_git.bb | |||
@@ -11,13 +11,14 @@ COMPATIBLE_HOST = '(x86_64.*|i.86.*)-(linux|freebsd.*)' | |||
11 | 11 | ||
12 | SRC_URI = "git://git.o-hand.com/qemugl.git;protocol=git \ | 12 | SRC_URI = "git://git.o-hand.com/qemugl.git;protocol=git \ |
13 | file://versionfix.patch \ | 13 | file://versionfix.patch \ |
14 | file://remove-x11r6-lib-dir.patch" | 14 | file://remove-x11r6-lib-dir.patch \ |
15 | file://call_opengl_fix.patch" | ||
15 | S = "${WORKDIR}/git" | 16 | S = "${WORKDIR}/git" |
16 | 17 | ||
17 | SRCREV = "d888bbc723c00d197d34a39b5b7448660ec1b1c0" | 18 | SRCREV = "d888bbc723c00d197d34a39b5b7448660ec1b1c0" |
18 | 19 | ||
19 | PV = "0.0+git${SRCPV}" | 20 | PV = "0.0+git${SRCPV}" |
20 | PR = "r7" | 21 | PR = "r8" |
21 | 22 | ||
22 | DEFAULT_PREFERENCE = "-1" | 23 | DEFAULT_PREFERENCE = "-1" |
23 | 24 | ||