summaryrefslogtreecommitdiff
path: root/dev-libs/libatomic_ops/files/libatomic_ops-1.2-ppc-asm.patch
blob: 41171ed86e69f3432cc35dc4e25e89542598ac4d (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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%X1 %0,%1\n"
     "cmpw cr7,%0,%0\n"
     "bne- cr7,1f\n"
     "1: isync\n"