Various build fixes.
[mingw-build.git] / binutils2.patch
diff --git a/binutils2.patch b/binutils2.patch
new file mode 100644 (file)
index 0000000..bae0803
--- /dev/null
@@ -0,0 +1,12 @@
+diff -Naur gas/config/tc-i386.c gas/config/tc-i386.c
+--- a/gas/config/tc-i386.c     2013-11-26 12:37:33.000000000 +0100
++++ b/gas/config/tc-i386.c     2015-05-22 11:42:24.647713050 +0200
+@@ -6140,7 +6140,7 @@
+             op.bitfield.regmem = 0;
+             if ((dest + 1) >= i.operands
+                 || (op.bitfield.reg32 != 1
+-                    && !op.bitfield.reg64 != 1
++                    && !!op.bitfield.reg64
+                     && !operand_type_equal (&op, &regxmm)
+                     && !operand_type_equal (&op, &regymm)
+                     && !operand_type_equal (&op, &regzmm)