This is the mail archive of the binutils-cvs@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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\


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]