[committed] MIPS/GAS: Add missing `-mmips16e2'/`-mno-mips16e2' help text

Maciej W. Rozycki macro@mips.com
Tue Jan 23 14:53:00 GMT 2018


Correct a commit 25499ac7ee92 ("MIPS16e2: Add MIPS16e2 ASE support") GAS 
bug and add missing help text for the `-mmips16e2' and `-mno-mips16e2' 
options added with said commit.

	gas/
	* config/tc-mips.c (md_show_usage): Report `-mmips16e2' and 
	`-mno-mips16e2' options.
---
 gas/config/tc-mips.c |    3 +++
 1 file changed, 3 insertions(+)

binutils-mips16e2-gas-help.diff
Index: binutils/gas/config/tc-mips.c
===================================================================
--- binutils.orig/gas/config/tc-mips.c	2018-01-17 15:39:12.932688777 +0000
+++ binutils/gas/config/tc-mips.c	2018-01-17 15:39:55.537423102 +0000
@@ -19958,6 +19958,9 @@ MIPS options:\n\
 -mips16			generate mips16 instructions\n\
 -no-mips16		do not generate mips16 instructions\n"));
   fprintf (stream, _("\
+-mmips16e2		generate MIPS16e2 instructions\n\
+-mno-mips16e2		do not generate MIPS16e2 instructions\n"));
+  fprintf (stream, _("\
 -mmicromips		generate microMIPS instructions\n\
 -mno-micromips		do not generate microMIPS instructions\n"));
   fprintf (stream, _("\



More information about the Binutils mailing list