Blame SOURCES/qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm.patch

01fa84
diff -ur qt-x11-opensource-src-4.5.0/src/corelib/arch/qatomic_i386.h qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm/src/corelib/arch/qatomic_i386.h
01fa84
--- qt-x11-opensource-src-4.5.0/src/corelib/arch/qatomic_i386.h	2009-02-25 22:09:21.000000000 +0100
01fa84
+++ qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm/src/corelib/arch/qatomic_i386.h	2009-04-01 17:54:21.000000000 +0200
01fa84
@@ -115,8 +115,8 @@
01fa84
     asm volatile("lock\n"
01fa84
                  "incl %0\n"
01fa84
                  "setne %1"
01fa84
-                 : "=m" (_q_value), "=qm" (ret)
01fa84
-                 : "m" (_q_value)
01fa84
+                 : "+m" (_q_value), "=qm" (ret)
01fa84
+                 :
01fa84
                  : "memory");
01fa84
     return ret != 0;
01fa84
 }
01fa84
@@ -127,8 +127,8 @@
01fa84
     asm volatile("lock\n"
01fa84
                  "decl %0\n"
01fa84
                  "setne %1"
01fa84
-                 : "=m" (_q_value), "=qm" (ret)
01fa84
-                 : "m" (_q_value)
01fa84
+                 : "+m" (_q_value), "=qm" (ret)
01fa84
+                 :
01fa84
                  : "memory");
01fa84
     return ret != 0;
01fa84
 }
01fa84
diff -ur qt-x11-opensource-src-4.5.0/src/corelib/arch/qatomic_x86_64.h qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm/src/corelib/arch/qatomic_x86_64.h
01fa84
--- qt-x11-opensource-src-4.5.0/src/corelib/arch/qatomic_x86_64.h	2009-02-25 22:09:21.000000000 +0100
01fa84
+++ qt-x11-opensource-src-4.5.0-fix-qatomic-inline-asm/src/corelib/arch/qatomic_x86_64.h	2009-04-01 17:54:32.000000000 +0200
01fa84
@@ -116,8 +116,8 @@
01fa84
     asm volatile("lock\n"
01fa84
                  "incl %0\n"
01fa84
                  "setne %1"
01fa84
-                 : "=m" (_q_value), "=qm" (ret)
01fa84
-                 : "m" (_q_value)
01fa84
+                 : "+m" (_q_value), "=qm" (ret)
01fa84
+                 :
01fa84
                  : "memory");
01fa84
     return ret != 0;
01fa84
 }
01fa84
@@ -128,8 +128,8 @@
01fa84
     asm volatile("lock\n"
01fa84
                  "decl %0\n"
01fa84
                  "setne %1"
01fa84
-                 : "=m" (_q_value), "=qm" (ret)
01fa84
-                 : "m" (_q_value)
01fa84
+                 : "+m" (_q_value), "=qm" (ret)
01fa84
+                 :
01fa84
                  : "memory");
01fa84
     return ret != 0;
01fa84
 }