This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
[binutils-gdb] MIPS/GAS: Add missing `-mmips16e2'/`-mno-mips16e2' help text
- From: Maciej W.Rozycki <macro at sourceware dot org>
- To: bfd-cvs at sourceware dot org
- Date: 23 Jan 2018 14:53:00 -0000
- Subject: [binutils-gdb] MIPS/GAS: Add missing `-mmips16e2'/`-mno-mips16e2' help text
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=f866b262e8ffaa4339dac8698932e097756a8880
commit f866b262e8ffaa4339dac8698932e097756a8880
Author: Maciej W. Rozycki <macro@mips.com>
Date: Tue Jan 23 14:51:22 2018 +0000
MIPS/GAS: Add missing `-mmips16e2'/`-mno-mips16e2' help text
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.
Diff:
---
gas/ChangeLog | 5 +++++
gas/config/tc-mips.c | 3 +++
2 files changed, 8 insertions(+)
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 079e126..c3f32b2 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-23 Maciej W. Rozycki <macro@mips.com>
+
+ * config/tc-mips.c (md_show_usage): Report `-mmips16e2' and
+ `-mno-mips16e2' options.
+
2018-01-22 Maciej W. Rozycki <macro@mips.com>
* doc/c-mips.texi (MIPS ASE Instruction Generation Overrides):
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 97c9109..8653e88 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -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, _("\