[Pkg-libatomic-ops-commits] r4 - in trunk/debian: . patches

ianw at alioth.debian.org ianw at alioth.debian.org
Mon Aug 27 01:18:33 UTC 2007


Author: ianw
Date: 2007-08-27 01:18:32 +0000 (Mon, 27 Aug 2007)
New Revision: 4

Added:
   trunk/debian/patches/05_powerpc_asm.patch
Modified:
   trunk/debian/changelog
Log:
fix for 432654


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-05-25 02:02:22 UTC (rev 3)
+++ trunk/debian/changelog	2007-08-27 01:18:32 UTC (rev 4)
@@ -1,3 +1,12 @@
+libatomic-ops (1.2-2) unstable; urgency=low
+
+  * Add patches/05_powerpc_asm.patch to fix invalid ASM in PowerPC, as per
+    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33171 (Closes: #432654).
+    Thanks to Sjoerd Simons <sjoerd at luon.net> for isolating the bug, and
+    Andrew Pinkski for solution.
+
+ -- Ian Wienand <ianw at debian.org>  Mon, 27 Aug 2007 11:13:13 +1000
+
 libatomic-ops (1.2-1) unstable; urgency=low
 
   * New upstream

Added: trunk/debian/patches/05_powerpc_asm.patch
===================================================================
--- trunk/debian/patches/05_powerpc_asm.patch	                        (rev 0)
+++ trunk/debian/patches/05_powerpc_asm.patch	2007-08-27 01:18:32 UTC (rev 4)
@@ -0,0 +1,11 @@
+--- ../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%X1 %0,%1\n"
+     "cmpw cr7,%0,%0\n"
+     "bne- cr7,1f\n"
+     "1: isync\n"




More information about the Pkg-libatomic-ops-commits mailing list