aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/i386-opc.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index ca144ea..453d3a7 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i386-opc.h (Byte): Fix a typo.
+
2008-01-12 H.J. Lu <hongjiu.lu@intel.com>
PR gas/5534
diff --git a/opcodes/i386-opc.h b/opcodes/i386-opc.h
index 63a027c..92c3ebd 100644
--- a/opcodes/i386-opc.h
+++ b/opcodes/i386-opc.h
@@ -353,7 +353,7 @@ typedef struct i386_opcode_modifier
be encoded in the regmem field. */
#define RegMem (EsSeg + 1)
/* BYTE memory. */
-#define Byte (RegMem)
+#define Byte (RegMem + 1)
/* WORD memory. 2 byte */
#define Word (Byte + 1)
/* DWORD memory. 4 byte */