summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@imgtec.com>2017-04-25 11:49:37 +0100
committerMaciej W. Rozycki <macro@imgtec.com>2017-04-25 11:57:57 +0100
commit0348fd79d4c32243d91e8a55f20f408a9b4ec20d (patch)
tree661f74c30fd02758e47a97cca244cd7331cdb43e
parent6e3d1f0728d980a384c5aa63ce7f2ff3919c5024 (diff)
downloadbinutils-gdb-0348fd79d4c32243d91e8a55f20f408a9b4ec20d.tar.gz
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'.
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/mips-dis.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 9bc7a903350..532f82140d1 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 bb9912e4626..4a08d8a4a0a 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\