aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-01-29 08:24:43 +0000
committerAlan Modra <amodra@gmail.com>2008-01-29 08:24:43 +0000
commit930bb4cfae30f3816321b8843b87fab945c57515 (patch)
treed6c4da91181f8f8e3afd38853216a0c693bc17f6 /opcodes
parent90518ff484bccecf218e6e0b3964d0a0ccec40de (diff)
downloadgdb-930bb4cfae30f3816321b8843b87fab945c57515.zip
gdb-930bb4cfae30f3816321b8843b87fab945c57515.tar.gz
gdb-930bb4cfae30f3816321b8843b87fab945c57515.tar.bz2
* ppc-opc.c: Support optional L form mtmsr.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog4
-rw-r--r--opcodes/ppc-opc.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 92d72fe..9e40103 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-29 Alan Modra <amodra@bigpond.net.au>
+
+ * ppc-opc.c: Support optional L form mtmsr.
+
2008-01-24 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (OP_E_extended): Handle r12 like rsp.
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index 4f29159..6b1cc65 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -1,6 +1,6 @@
/* ppc-opc.c -- PowerPC opcode list
Copyright 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2004,
- 2005, 2006, 2007 Free Software Foundation, Inc.
+ 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Cygnus Support
This file is part of the GNU opcodes library.
@@ -3373,7 +3373,7 @@ const struct powerpc_opcode powerpc_opcodes[] = {
{ "mtcr", XFXM(31,144,0xff,0), XRARB_MASK, COM, { RS }},
{ "mtcrf", X(31,144), XFXFXM_MASK, COM, { FXM, RS } },
-{ "mtmsr", X(31,146), XRARB_MASK, COM, { RS } },
+{ "mtmsr", X(31,146), XRLARB_MASK, COM, { RS, A_L } },
{ "stdx", X(31,149), X_MASK, PPC64, { RS, RA0, RB } },