diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2005-07-19 04:11:19 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2005-07-19 04:11:19 +0000 |
commit | 22cbf2e74af43dfe9ff6f8e141ffc5f8c8b679ed (patch) | |
tree | 15157f8ce916aa29a36a9fc1e0ec243c7e27c7b4 /opcodes/i386-dis.c | |
parent | 18b3bdfca08aa6e11b2dd3ef761ba46e5d801af9 (diff) | |
download | binutils-gdb-22cbf2e74af43dfe9ff6f8e141ffc5f8c8b679ed.tar.gz |
gas/testsuite/
2005-07-18 H.J. Lu <hongjiu.lu@intel.com>
* gas/i386/i386.exp: Add suffix.
* gas/i386/suffix.d: New file.
* gas/i386/suffix.s: Likewise.
opcodes/
2005-07-18 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (PNI_Fixup): Update comment.
(VMX_Fixup): Properly handle the suffix check.
Diffstat (limited to 'opcodes/i386-dis.c')
-rw-r--r-- | opcodes/i386-dis.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c index 692562d990f..ae16759c286 100644 --- a/opcodes/i386-dis.c +++ b/opcodes/i386-dis.c @@ -4419,7 +4419,7 @@ PNI_Fixup (int extrachar ATTRIBUTE_UNUSED, int sizeflag) /* Override "sidt". */ char *p = obuf + strlen (obuf) - 4; - /* We might have a suffix. */ + /* We might have a suffix when disassembling with -Msuffix. */ if (*p == 'i') --p; @@ -4617,8 +4617,8 @@ VMX_Fixup (int extrachar ATTRIBUTE_UNUSED, int sizeflag) /* Override "sgdt". */ char *p = obuf + strlen (obuf) - 4; - /* We might have a suffix. */ - if (*p == 'i') + /* We might have a suffix when disassembling with -Msuffix. */ + if (*p == 'g') --p; switch (rm) |