This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Don't use bit field on swap_operand
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sourceware dot org
- Date: Fri, 13 Nov 2009 17:46:03 -0800
- Subject: PATCH: Don't use bit field on swap_operand
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
There is only one variable for _i386_insn. No need to use bit field.
I checked it in.
H.J.
---
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 246c7e6..f61097c 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2009-11-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config/tc-i386.c (_i386_insn): Don't use bit field on
+ swap_operand.
+
2009-11-12 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (LOCKREP_PREFIX): Removed.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 4f80e98..6aa9949 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -257,7 +257,7 @@ struct _i386_insn
vex_prefix vex;
/* Swap operand in encoding. */
- unsigned int swap_operand : 1;
+ unsigned int swap_operand;
};
typedef struct _i386_insn i386_insn;