From f6d53bb4648bffecc7dbe02230df5c7596efa5a9 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Thu, 5 Jun 2008 20:52:45 +0000 Subject: libatomic_ops: added forgotten patch git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4590 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- .../fedora/libatomic_ops-1.2-ppclwzfix.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 meta-openmoko/packages/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch diff --git a/meta-openmoko/packages/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch b/meta-openmoko/packages/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch new file mode 100644 index 0000000000..51161dbe0f --- /dev/null +++ b/meta-openmoko/packages/pulseaudio/libatomics-ops/fedora/libatomic_ops-1.2-ppclwzfix.patch @@ -0,0 +1,15 @@ +http://cvs.fedoraproject.org/viewcvs/devel/libatomic_ops/libatomic_ops-1.2-ppclwzfix.patch + +* add fix for bad variable handling on PPC + +--- 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" -- cgit v1.2.3