aboutsummaryrefslogtreecommitdiff
path: root/include/opcode
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-05-23 00:36:39 +0000
committerAlan Modra <amodra@gmail.com>2000-05-23 00:36:39 +0000
commitb722f2be22e42bca41b461e4fb16e41c4a71b95a (patch)
tree93d13db9eb3a28fbc9f47ce2790b164727c26736 /include/opcode
parent176355da9935d29e302b00cef227c2c9946492c3 (diff)
downloadgdb-b722f2be22e42bca41b461e4fb16e41c4a71b95a.zip
gdb-b722f2be22e42bca41b461e4fb16e41c4a71b95a.tar.gz
gdb-b722f2be22e42bca41b461e4fb16e41c4a71b95a.tar.bz2
Allow d suffix on iret
Diffstat (limited to 'include/opcode')
-rw-r--r--include/opcode/ChangeLog4
-rw-r--r--include/opcode/i386.h5
2 files changed, 7 insertions, 2 deletions
diff --git a/include/opcode/ChangeLog b/include/opcode/ChangeLog
index 0733930..e8bc6ed 100644
--- a/include/opcode/ChangeLog
+++ b/include/opcode/ChangeLog
@@ -1,3 +1,7 @@
+2000-05-23 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
+
+ * i386.h: Allow d suffix on iret, and add DefaultSize modifier.
+
2000-05-17 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
* i386.h: Use sl_FP, not sl_Suf for fild.
diff --git a/include/opcode/i386.h b/include/opcode/i386.h
index a63da46..d9c151e 100644
--- a/include/opcode/i386.h
+++ b/include/opcode/i386.h
@@ -1,5 +1,6 @@
/* opcode/i386.h -- Intel 80386 opcode table
- Copyright 1989, 91, 92, 93, 94, 95, 96, 97, 98, 1999 Free Software Foundation.
+ Copyright 1989, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000
+ Free Software Foundation.
This file is part of GAS, the GNU Assembler, and GDB, the GNU Debugger.
@@ -481,7 +482,7 @@ static const template i386_optab[] = {
{"int", 1, 0xcd, X, 0, NoSuf, { Imm8, 0, 0} },
{"int3", 0, 0xcc, X, 0, NoSuf, { 0, 0, 0} },
{"into", 0, 0xce, X, 0, NoSuf, { 0, 0, 0} },
-{"iret", 0, 0xcf, X, 0, wl_Suf, { 0, 0, 0} },
+{"iret", 0, 0xcf, X, 0, wld_Suf|DefaultSize, { 0, 0, 0} },
/* i386sl, i486sl, later 486, and Pentium. */
{"rsm", 0, 0x0faa, X, Cpu386, NoSuf, { 0, 0, 0} },