This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] MIPS16/opcodes: Add `-M no-aliases' disassembler option help text
- From: Maciej W.Rozycki <macro at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 25 Apr 2017 10:59:30 -0000
- Subject: [binutils-gdb] MIPS16/opcodes: Add `-M no-aliases' disassembler option help text
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=0348fd79d4c32243d91e8a55f20f408a9b4ec20d
commit 0348fd79d4c32243d91e8a55f20f408a9b4ec20d
Author: Maciej W. Rozycki <macro@imgtec.com>
Date: Tue Apr 25 11:49:37 2017 +0100
MIPS16/opcodes: Add `-M no-aliases' disassembler option help text
Complement commit 986e18a5a9fd ("Add a second 'pinfo' member to
mips_opcode to extend number of available bits"),
<https://sourceware.org/ml/binutils/2005-01/msg00261.html>, and add a
help text for the `-M no-aliases' disassembler option.
opcodes/
* mips-dis.c (print_mips_disassembler_options): Add
`no-aliases'.
Diff:
---
opcodes/ChangeLog | 5 +++++
opcodes/mips-dis.c | 3 +++
2 files changed, 8 insertions(+)
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 9bc7a90..532f821 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,10 @@
2017-04-25 Maciej W. Rozycki <macro@imgtec.com>
+ * mips-dis.c (print_mips_disassembler_options): Add
+ `no-aliases'.
+
+2017-04-25 Maciej W. Rozycki <macro@imgtec.com>
+
* mips16-opc.c (AL): New macro.
(mips16_opcodes): Mark "nop", "la", "dla", and synthetic forms
of "ld" and "lw" as aliases.
diff --git a/opcodes/mips-dis.c b/opcodes/mips-dis.c
index bb9912e..4a08d8a 100644
--- a/opcodes/mips-dis.c
+++ b/opcodes/mips-dis.c
@@ -2434,6 +2434,9 @@ The following MIPS specific disassembler options are supported for use\n\
with the -M switch (multiple options should be separated by commas):\n"));
fprintf (stream, _("\n\
+ no-aliases Use canonical instruction forms.\n"));
+
+ fprintf (stream, _("\n\
msa Recognize MSA instructions.\n"));
fprintf (stream, _("\n\