This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] Remove unused MTMSRD_L macro and re-add accidentally deleted comment.
- From: Peter Bergner <bergner at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 12 Jun 2015 20:06:19 -0000
- Subject: [binutils-gdb] Remove unused MTMSRD_L macro and re-add accidentally deleted comment.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=99a2c56121247207d4846fe7e28b5e7e18e0bfa0
commit 99a2c56121247207d4846fe7e28b5e7e18e0bfa0
Author: Peter Bergner <bergner@vnet.ibm.com>
Date: Fri Jun 12 15:06:07 2015 -0500
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.
Diff:
---
opcodes/ChangeLog | 5 +++++
opcodes/ppc-opc.c | 4 ++--
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