diff options
author | Roman I Khimov <khimov@altell.ru> | 2010-03-08 11:50:21 +0300 |
---|---|---|
committer | Jesse Gilles <jgilles@multitech.com> | 2010-04-26 11:35:50 -0500 |
commit | 2b0109cdd8be5a58d230db249da51abf617d2ca0 (patch) | |
tree | 4ed1cd5ac707262ca98965e13618adac78faf5f6 /recipes/qemu/qemu-0.12.3/64_ppc_asm_constraints.patch | |
parent | 89f3a006a15986d045cddc0f405ecac78d11bb9a (diff) |
qemu: add version 0.12.3
qemu-native tested to compile on openSUSE 11.2 and Debian Lenny. Binary
locale generation tested for qemuarm/glibc, simpad/glibc,
x86-prescott/eglibc, efika/glibc.
Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/qemu/qemu-0.12.3/64_ppc_asm_constraints.patch')
-rw-r--r-- | recipes/qemu/qemu-0.12.3/64_ppc_asm_constraints.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/recipes/qemu/qemu-0.12.3/64_ppc_asm_constraints.patch b/recipes/qemu/qemu-0.12.3/64_ppc_asm_constraints.patch new file mode 100644 index 0000000000..7562daf77b --- /dev/null +++ b/recipes/qemu/qemu-0.12.3/64_ppc_asm_constraints.patch @@ -0,0 +1,18 @@ +#DPATCHLEVEL=1 +--- +# cpu-all.h | 2 +- +# 1 file changed, 1 insertion(+), 1 deletion(-) +# +Index: qemu-0.10.3/cpu-all.h +=================================================================== +--- qemu-0.10.3.orig/cpu-all.h 2009-05-01 21:02:44.000000000 +0400 ++++ qemu-0.10.3/cpu-all.h 2009-05-19 17:59:28.357103179 +0400 +@@ -288,7 +288,7 @@ + static inline void stl_le_p(void *ptr, int v) + { + #ifdef _ARCH_PPC +- __asm__ __volatile__ ("stwbrx %1,0,%2" : "=m" (*(uint32_t *)ptr) : "r" (v), "r" (ptr)); ++ __asm__ __volatile__ ("stwbrx %0,0,%1" : : "r" (v), "r" (ptr) : "memory"); + #else + uint8_t *p = ptr; + p[0] = v; |