aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>1999-05-17 08:35:41 +0000
committerAlan Modra <amodra@gmail.com>1999-05-17 08:35:41 +0000
commit5028a927f6d1e8bd66ce355ff56bd950ae4f6214 (patch)
treea86d6609044667f198c80f06dd1301c375311dcc /opcodes
parentf4497960b0a94d7583630c21b2b6bb615985f2ff (diff)
downloadfsf-binutils-gdb-5028a927f6d1e8bd66ce355ff56bd950ae4f6214.zip
fsf-binutils-gdb-5028a927f6d1e8bd66ce355ff56bd950ae4f6214.tar.gz
fsf-binutils-gdb-5028a927f6d1e8bd66ce355ff56bd950ae4f6214.tar.bz2
a
Add missing files from last change in gas/testsuite. i386-dis.c: Catch a number of cases where an invalid modrm would result in bogus disassembly. const lots of places.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog33
1 files changed, 33 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 6a44467..5f90842 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,36 @@
+1999-05-18 Alan Modra <alan@spri.levels.unisa.edu.au>
+
+ * i386-dis.c (Ed): Define.
+ (dis386_twobyte_att, dis386_twobyte_intel): Use Ed for movd.
+ (Rw): Remove.
+ (OP_rm): Rename to OP_Rd.
+ (ONE): Remove.
+ (OP_ONE): Remove.
+ (putop): Add const to template and p.
+ (print_insn_x86): Delete.
+ (print_insn_i386): Merge old function print_insn_x86. Add const
+ to dp.
+ (struct dis386): Add const to name.
+ (dis386_att, dis386_intel): Add const.
+ (dis386_twobyte_att, dis386_twobyte_intel): Add const.
+ (names32, names16, names8, names_seg, index16): Add const.
+ (grps, prefix_user_table, float_reg): Add const.
+ (float_mem_att, float_mem_intel): Add const.
+ (oappend): Add const to s.
+ (OP_REG): Add const to s.
+ (ptr_reg): Add const to s.
+ (dofloat): Add const to dp.
+ (OP_C): Don't skip modrm, it's now done in OP_Rd.
+ (OP_D): Ditto.
+ (OP_T): Ditto.
+ (OP_Rd): Check for valid mod. Call Op_E to print.
+ (OP_E): Handle d_mode arg. Check for bad sfence,lea,lds etc.
+ (OP_MS): Check for valid mod. Call Op_EM to print.
+ (OP_3DNowSuffix): Set obufp and use oappend rather than
+ strcat. Call BadOp() for errors.
+ (OP_SIMD_Suffix): Likewise.
+ (BadOp): New function.
+
1999-05-12 Alan Modra <alan@spri.levels.unisa.edu.au>
* i386-dis.c (dis386_intel): Remove macro chars, except for