aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorPeter Bergner <bergner@vnet.ibm.com>2009-10-01 19:24:48 +0000
committerPeter Bergner <bergner@vnet.ibm.com>2009-10-01 19:24:48 +0000
commit634b50f2a6239deaa1eb3a9811b6b11659fa2e1b (patch)
tree6b7fee79372ce3cce5bf8b4bdefd54a5daa0709e /opcodes
parent209f53f5248aa219cad6261bdd6622c804c485e9 (diff)
downloadgdb-634b50f2a6239deaa1eb3a9811b6b11659fa2e1b.zip
gdb-634b50f2a6239deaa1eb3a9811b6b11659fa2e1b.tar.gz
gdb-634b50f2a6239deaa1eb3a9811b6b11659fa2e1b.tar.bz2
gas/
* config/tc-ppc.c (md_show_usage): Rename "ppca2" to "a2". * doc/c-ppc.texi (PowerPC-Opts): Likewise. gas/testsuite/ * gas/ppc/a2.d: Rename "ppca2" to "a2". include/opcode/ * ppc.h (PPC_OPCODE_A2): Rename from PPC_OPCODE_PPCA2. opcodes/ * ppc-opc.c (PPCA2): Use renamed mask PPC_OPCODE_A2. * ppc-dis.c (ppc_opts): Likewise. Rename "ppca2" to "a2".
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/ppc-dis.c4
-rw-r--r--opcodes/ppc-opc.c2
3 files changed, 9 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 5be200c..fd7f346 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,9 @@
+2009-10-01 Peter Bergner <bergner@vnet.ibm.com>
+
+ * ppc-opc.c (PPCA2): Use renamed mask PPC_OPCODE_A2.
+ * ppc-dis.c (ppc_opts): Likewise.
+ Rename "ppca2" to "a2".
+
2009-10-01 M R Swami Reddy <MR.Swami.Reddy@nsc.com>
* crx-dis.c (match_opcode): Truncate mcode to 32-bit.
diff --git a/opcodes/ppc-dis.c b/opcodes/ppc-dis.c
index 70d2bee..3af02bc 100644
--- a/opcodes/ppc-dis.c
+++ b/opcodes/ppc-dis.c
@@ -141,9 +141,9 @@ struct ppc_mopt ppc_opts[] = {
{ "ppc64bridge", (PPC_OPCODE_PPC | PPC_OPCODE_CLASSIC | PPC_OPCODE_64_BRIDGE
| PPC_OPCODE_64),
0 },
- { "ppca2", (PPC_OPCODE_PPC | PPC_OPCODE_CLASSIC | PPC_OPCODE_ISEL
+ { "a2", (PPC_OPCODE_PPC | PPC_OPCODE_CLASSIC | PPC_OPCODE_ISEL
| PPC_OPCODE_POWER4 | PPC_OPCODE_POWER5 | PPC_OPCODE_CACHELCK
- | PPC_OPCODE_64 | PPC_OPCODE_PPCA2),
+ | PPC_OPCODE_64 | PPC_OPCODE_A2),
0 },
{ "ppcps", (PPC_OPCODE_PPC | PPC_OPCODE_PPCPS),
0 },
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index 8420bb6..4b1b990 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -1933,7 +1933,7 @@ extract_dm (unsigned long insn,
#define PPCCHLK PPC_OPCODE_CACHELCK
#define PPCRFMCI PPC_OPCODE_RFMCI
#define E500MC PPC_OPCODE_E500MC
-#define PPCA2 PPC_OPCODE_PPCA2
+#define PPCA2 PPC_OPCODE_A2
/* The opcode table.