This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Update comments
- From: "H.J. Lu" <hongjiu dot lu at intel dot com>
- To: binutils at sourceware dot org
- Date: Wed, 13 Jan 2010 08:06:55 -0800
- Subject: PATCH: Update comments
- Reply-to: "H.J. Lu" <hjl dot tools at gmail dot com>
Checked it in.
H.J.
---
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 9c9334b..8c2b523 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-13 H.J. Lu <hongjiu.lu@intel.com>
+
+ * i386-dis.c (print_insn): Update comments.
+
2010-01-12 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (rex_original): Removed.
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index fc7859a..40f10ac 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -12339,19 +12339,19 @@ print_insn (bfd_vma pc, disassemble_info *info)
if (rex_ignored == 0 && (rex ^ rex_used) == 0)
all_prefixes[last_rex_prefix] = 0;
- /* Check if the SEG prefix used. */
+ /* Check if the SEG prefix is used. */
if ((prefixes & (PREFIX_CS | PREFIX_SS | PREFIX_DS | PREFIX_ES
| PREFIX_FS | PREFIX_GS)) != 0
&& (used_prefixes
& seg_prefix (all_prefixes[last_seg_prefix])) != 0)
all_prefixes[last_seg_prefix] = 0;
- /* Check if the ADDR prefix used. */
+ /* Check if the ADDR prefix is used. */
if ((prefixes & PREFIX_ADDR) != 0
&& (used_prefixes & PREFIX_ADDR) != 0)
all_prefixes[last_addr_prefix] = 0;
- /* Check if the DATA prefix used. */
+ /* Check if the DATA prefix is used. */
if ((prefixes & PREFIX_DATA) != 0
&& (used_prefixes & PREFIX_DATA) != 0)
all_prefixes[last_data_prefix] = 0;