[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/libatomic_ops/devel libatomic_ops-1.2-ppclwzfix.patch, NONE, 1.1 libatomic_ops.spec, 1.2, 1.3



Author: drzeus

Update of /cvs/extras/rpms/libatomic_ops/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18876

Modified Files:
	libatomic_ops.spec 
Added Files:
	libatomic_ops-1.2-ppclwzfix.patch 
Log Message:
add fix for bad variable handling on PPC


libatomic_ops-1.2-ppclwzfix.patch:

--- NEW FILE libatomic_ops-1.2-ppclwzfix.patch ---
--- libatomic_ops-1.2.orig/src/atomic_ops/sysdeps/gcc/powerpc.h	2007-05-29 19:29:52.000000000 +0200
+++ libatomic_ops-1.2/src/atomic_ops/sysdeps/gcc/powerpc.h	2007-05-29 19:30:48.000000000 +0200
@@ -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"


Index: libatomic_ops.spec
===================================================================
RCS file: /cvs/extras/rpms/libatomic_ops/devel/libatomic_ops.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- libatomic_ops.spec	10 Nov 2006 12:35:34 -0000	1.2
+++ libatomic_ops.spec	29 May 2007 17:38:31 -0000	1.3
@@ -4,7 +4,7 @@
 
 Name:           libatomic_ops
 Version:        1.2
-Release:        1%{?dist}
+Release:        2%{?dist}
 Summary:        Atomic memory update operations
 
 Group:          Development/Libraries
@@ -13,6 +13,8 @@
 Source0:        http://www.hpl.hp.com/research/linux/atomic_ops/download/%{name}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+Patch1:		libatomic_ops-1.2-ppclwzfix.patch
+
 %description
 Provides implementations for atomic memory update operations on a
 number of architectures. This allows direct use of these in reasonably
@@ -35,6 +37,7 @@
 
 %prep
 %setup -q
+%patch1 -p1
 chmod a-x src/*.h
 
 %build
@@ -63,6 +66,9 @@
 
 
 %changelog
+* Tue May 29 2007 Pierre Ossman <drzeus drzeus cx> 1.2-2
+- Added fix for PPC AO_load_acquire.
+
 * Fri Nov 10 2006 Pierre Ossman <drzeus drzeus cx> 1.2-1
 - Update to 1.2.
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]