diff options
author | Nick Clifton <nickc@redhat.com> | 2002-09-04 12:37:30 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-09-04 12:37:30 +0000 |
commit | c4dc0f270c37cc43d32bed24cd61ce197f24a79e (patch) | |
tree | c5ce5d4679a73b8bffbafbd361be47538c02fa90 /opcodes | |
parent | 5c4e148a4e75b74182022de7df55ec7b6dc5cfb4 (diff) | |
download | gdb-c4dc0f270c37cc43d32bed24cd61ce197f24a79e.tar.gz |
Do not insert non-BookE32 instructions into the hash table if the target cpu
is the BookE32. (case 107575)
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rw-r--r-- | opcodes/ppc-opc.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 9f0d0d193bb..f1c202822dc 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,5 +1,9 @@ 2002-09-04 Nick Clifton <nickc@redhat.com> + * ppc-opc.c (extsw, extsw.): Do not allow for the BookE32. + +2002-09-04 Nick Clifton <nickc@redhat.com> + * disassemble.c (disassembler_usage): Add invocation of print_ppc_disassembler_options. * ppc-dis.c (print_ppc_disassembler_options): New function. diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c index ff7e8d76280..1a8627f7eb2 100644 --- a/opcodes/ppc-opc.c +++ b/opcodes/ppc-opc.c @@ -4238,8 +4238,8 @@ const struct powerpc_opcode powerpc_opcodes[] = { { "stfiwx", X(31,983), X_MASK, PPC, { FRS, RA, RB } }, -{ "extsw", XRC(31,986,0), XRB_MASK, PPC, { RA, RS } }, -{ "extsw.", XRC(31,986,1), XRB_MASK, PPC, { RA, RS } }, +{ "extsw", XRC(31,986,0), XRB_MASK, PPC | BOOKE64, { RA, RS } }, +{ "extsw.", XRC(31,986,1), XRB_MASK, PPC | BOOKE64, { RA, RS } }, { "icread", X(31,998), XRT_MASK, PPC403, { RA, RB } }, |