tags +patch
thanks

The appended update to the powerpc patch in libatomic-ops makes
the test failure go away and leads to a successful build.

Be warned that I have no idea what it does, I followed blindly
the example given in http://gcc.gnu.org/ml/gcc/2008-03/msg01094.html.


Thiemo


--- ../libatomic-ops-1.2/src/atomic_ops/sysdeps/gcc/powerpc.h   2006-03-29 
09:49:14.000000000 +1100
+++ src/atomic_ops/sysdeps/gcc/powerpc.h        2007-08-27 10:51:00.000000000 
+1000
@@ -72,7 +72,7 @@
   /* registers.  I always got "impossible constraint" when I   */
   /* tried the "y" constraint.                                 */
   __asm__ __volatile__ (
-    "lwz %0,%1\n"
+    "lwz%U1%X1 %0,%1\n"
     "cmpw cr7,%0,%0\n"
     "bne- cr7,1f\n"
     "1: isync\n"



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to