This patch was suggested by Juergen Keil.

It prevents a crash by qemu when running the arm-test on Solaris/Sparc.

Removing the previous arm patch for sparc uncovered a use
of global registers o0-05 which hadn't been defined previously.
 
Ben
--- qemu-ORIG/cpu-exec.c	2007-03-16 19:58:11.000000000 -0400
+++ qemu/cpu-exec.c	2007-03-19 15:14:21.930962000 -0400
@@ -648,6 +648,7 @@
                                      : /* no outputs */
                                      : "r" (gen_func) 
                                      : "i0", "i1", "i2", "i3", "i4", "i5",
+                                       "o0", "o1", "o2", "o3", "o4", "o5",
                                        "l0", "l1", "l2", "l3", "l4", "l5",
                                        "l6", "l7");
 #elif defined(__arm__)
_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

Reply via email to