aboutsummaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorPeter Bergner <bergner@vnet.ibm.com>2015-06-12 15:06:07 -0500
committerPeter Bergner <bergner@vnet.ibm.com>2015-06-12 15:06:07 -0500
commit99a2c56121247207d4846fe7e28b5e7e18e0bfa0 (patch)
tree6f054770352faa510ef4c487d3052ad83c4a3cb3 /opcodes
parent279a6fed95275b480d50f6f1d80a4f3970a9c5bc (diff)
downloadfsf-binutils-gdb-99a2c56121247207d4846fe7e28b5e7e18e0bfa0.zip
fsf-binutils-gdb-99a2c56121247207d4846fe7e28b5e7e18e0bfa0.tar.gz
fsf-binutils-gdb-99a2c56121247207d4846fe7e28b5e7e18e0bfa0.tar.bz2
Remove unused MTMSRD_L macro and re-add accidentally deleted comment.
In the commit that added PowerPC Pair Singles, Ben accidentally removed a comment and re-added an unused MTMSRD_L macro Alan had recently deleted. This was probably just an oversite when he was refreshing his patch to trunk. opcodes/ * ppc-opc.c: Add comment accidentally removed by old commit. (MTMSRD_L): Delete.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/ppc-opc.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 72a4b62..bf54219 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+2015-06-12 Peter Bergner <bergner@vnet.ibm.com>
+
+ * ppc-opc.c: Add comment accidentally removed by old commit.
+ (MTMSRD_L): Delete.
+
2015-06-04 Nick Clifton <nickc@redhat.com>
PR 18474
diff --git a/opcodes/ppc-opc.c b/opcodes/ppc-opc.c
index 8f0ee04..b3dc945 100644
--- a/opcodes/ppc-opc.c
+++ b/opcodes/ppc-opc.c
@@ -747,12 +747,12 @@ const struct powerpc_operand powerpc_operands[] =
#define PSD PSQM + 1
{ 0xfff, 0, 0, 0, PPC_OPERAND_PARENS | PPC_OPERAND_SIGNED },
+ /* The L field in an mtmsrd or A form instruction or W in an X form. */
#define A_L PSD + 1
#define W A_L
-#define MTMSRD_L W
{ 0x1, 16, NULL, NULL, PPC_OPERAND_OPTIONAL },
-#define RMC MTMSRD_L + 1
+#define RMC A_L + 1
{ 0x3, 9, NULL, NULL, 0 },
#define R RMC + 1