From 5e6718e49cb919fc92a045c3e1fd69b47573e170 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 13 Jan 2010 16:06:12 +0000 Subject: [PATCH] Update comments 2010-01-13 H.J. Lu * i386-dis.c (print_insn): Update comments. --- opcodes/ChangeLog | 4 ++++ opcodes/i386-dis.c | 6 +++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 9c9334be27c..8c2b5235bd9 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,7 @@ +2010-01-13 H.J. Lu + + * i386-dis.c (print_insn): Update comments. + 2010-01-12 H.J. Lu * i386-dis.c (rex_original): Removed. diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index fc7859adae1..40f10ac4571 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; -- 2.30.2