This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[COMMITTED] Remove unused MTMSRD_L macro and re-add accidentally deleted comment.
- From: Peter Bergner <bergner at vnet dot ibm dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Fri, 12 Jun 2015 15:13:29 -0500
- Subject: [COMMITTED] Remove unused MTMSRD_L macro and re-add accidentally deleted comment.
- Authentication-results: sourceware.org; auth=none
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 oversight when he was refreshing his patch to
trunk. Committed.
Peter
opcodes/
* ppc-opc.c: Add comment accidentally removed by old commit.
(MTMSRD_L): Delete.
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