aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@mips.com>2018-01-23 14:51:22 +0000
committerMaciej W. Rozycki <macro@mips.com>2018-01-23 14:51:22 +0000
commitf866b262e8ffaa4339dac8698932e097756a8880 (patch)
treeb14062f458d6d98f46d5939469112cf44ae7ab1a
parent14c41f479f2eb6b34ab2d2bb0cedb88e9d51f211 (diff)
downloadgdb-f866b262e8ffaa4339dac8698932e097756a8880.zip
gdb-f866b262e8ffaa4339dac8698932e097756a8880.tar.gz
gdb-f866b262e8ffaa4339dac8698932e097756a8880.tar.bz2
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.
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-mips.c3
2 files changed, 8 insertions, 0 deletions
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, _("\