diff options
author | Jan Hubicka <jh@suse.cz> | 2001-01-13 09:05:55 +0000 |
---|---|---|
committer | Jan Hubicka <jh@suse.cz> | 2001-01-13 09:05:55 +0000 |
commit | e2914f484eed1dc5a9abd52301dae35f7500ff48 (patch) | |
tree | 219463cfd50346692bb759efd223bdfd6c2fb8ad /opcodes | |
parent | 272d76e0cbba693781509c939ddfda5941a50e9d (diff) | |
download | gdb-e2914f484eed1dc5a9abd52301dae35f7500ff48.zip gdb-e2914f484eed1dc5a9abd52301dae35f7500ff48.tar.gz gdb-e2914f484eed1dc5a9abd52301dae35f7500ff48.tar.bz2 |
* 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/ChangeLog | 5 | ||||
-rw-r--r-- | opcodes/i386-dis.c | 16 |
2 files changed, 13 insertions, 8 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 9612b66..eba00c6 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 ca9c39d..5667d77 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 }, |