summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2001-01-13 09:05:55 +0000
committerJan Hubicka <jh@suse.cz>2001-01-13 09:05:55 +0000
commit8025d7f478ad4c74753f9e3bbb2df7bd8f8bcf8b (patch)
tree505b3e7d7a1e87dd10eaa755f768d2cc738566ca /opcodes
parent62ae13ac008e71bd2d805317c7525275b3eb1186 (diff)
downloadbinutils-redhat-8025d7f478ad4c74753f9e3bbb2df7bd8f8bcf8b.tar.gz
* i386.c (md_assemble): Check cpu_flags even for nullary instructions.
* i386.h (i386_optab): Fix pusha and ret templates. * i386-dis.c (dis386_att, disx86_64_att): Fix ret, lret and iret templates.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/i386-dis.c16
2 files changed, 13 insertions, 8 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 9612b66bcf..eba00c6c85 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+Sat Jan 13 01:48:24 MET 2001 Jan Hubicka <jh@suse.cz>
+
+ * i386-dis.c (dis386_att, disx86_64_att): Fix ret, lret and iret
+ templates.
+
2001-01-11 Peter Targett <peter.targett@arccores.com>
* configure.in: Add arc-ext.lo for bfd_arc_arch selection.
diff --git a/opcodes/i386-dis.c b/opcodes/i386-dis.c
index ca9c39d81f..5667d77cda 100644
--- a/opcodes/i386-dis.c
+++ b/opcodes/i386-dis.c
@@ -661,8 +661,8 @@ static const struct dis386 dis386_att[] = {
/* c0 */
{ GRP2b },
{ GRP2S },
- { "retP", Iw, XX, XX },
- { "retP", XX, XX, XX },
+ { "retI", Iw, XX, XX },
+ { "retI", XX, XX, XX },
{ "lesS", Gv, Mp, XX },
{ "ldsS", Gv, Mp, XX },
{ "movA", Eb, Ib, XX },
@@ -670,12 +670,12 @@ static const struct dis386 dis386_att[] = {
/* c8 */
{ "enterI", Iw, Ib, XX },
{ "leaveI", XX, XX, XX },
- { "lretI", Iw, XX, XX },
- { "lretI", XX, XX, XX },
+ { "lretP", Iw, XX, XX },
+ { "lretP", XX, XX, XX },
{ "int3", XX, XX, XX },
{ "int", Ib, XX, XX },
{ "into", XX, XX, XX},
- { "iretI", XX, XX, XX },
+ { "iretP", XX, XX, XX },
/* d0 */
{ GRP2b_one },
{ GRP2S_one },
@@ -1256,12 +1256,12 @@ static const struct dis386 disx86_64_att[] = {
/* c8 */
{ "enterI", Iw, Ib, XX },
{ "leaveI", XX, XX, XX },
- { "lretI", Iw, XX, XX },
- { "lretI", XX, XX, XX },
+ { "lretP", Iw, XX, XX },
+ { "lretP", XX, XX, XX },
{ "int3", XX, XX, XX },
{ "int", Ib, XX, XX },
{ "(bad)", XX, XX, XX }, /* reserved. */
- { "iretI", XX, XX, XX },
+ { "iretP", XX, XX, XX },
/* d0 */
{ GRP2b_one },
{ GRP2S_one },