This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

PATCH: Update comments


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;


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]