gcc/ChangeLog
PR other/122243
* config/ft32/ft32.opt (mlra): Mark obsolete option as Undocumented.
* doc/invoke.texi (Option Summary) <FT32 Options>: Remove -mlra.
(FT32 Options): Likewise. Add @opindex entries for negative
option forms.
---
gcc/config/ft32/ft32.opt | 2 +-
gcc/doc/invoke.texi | 13 +++++++------
2 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/gcc/config/ft32/ft32.opt b/gcc/config/ft32/ft32.opt
index 039ca29db3a..def410d2af1 100644
--- a/gcc/config/ft32/ft32.opt
+++ b/gcc/config/ft32/ft32.opt
@@ -23,7 +23,7 @@ Target Mask(SIM)
Target the software simulator.
mlra
-Target RejectNegative Ignore
+Target RejectNegative Ignore Undocumented
Ignored, but preserved for backward compatibility.
mnodiv
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 4333700df4a..fc66e6fd80e 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -1086,7 +1086,7 @@ Objective-C and Objective-C++ Dialects}.
@gccoptlist{-msmall-model -mno-lsim}
@emph{FT32 Options} (@ref{FT32 Options})
-@gccoptlist{-msim -mlra -mnodiv -mft32b -mcompress -mnopm}
+@gccoptlist{-msim -mnodiv -mft32b -mcompress -mnopm}
@emph{FRV Options} (@ref{FRV Options})
@gccoptlist{-mgpr-32 -mgpr-64 -mfpr-32 -mfpr-64
@@ -27558,6 +27558,7 @@ These options are defined specifically for the FT32
port.
@table @gcctabopt
@opindex msim
+@opindex mno-sim
@item -msim
Specifies that the program will be run on the simulator. This causes
an alternate runtime startup and library to be linked.
@@ -27565,23 +27566,23 @@ You must not use this option when generating programs
that will run on
real hardware; you must provide your own runtime library for whatever
I/O functions are needed.
-@opindex mlra
-@item -mlra
-Does nothing. Preserved for backward compatibility.
-
@opindex mnodiv
+@opindex mno-nodiv
@item -mnodiv
Do not use div and mod instructions.
@opindex mft32b
+@opindex mno-ft32b
@item -mft32b
Enable use of the extended instructions of the FT32B processor.
@opindex mcompress
+@opindex mno-compress
@item -mcompress
Compress all code using the Ft32B code compression scheme.
-@opindex mnopm
+@opindex mnopm
+@opindex mno-nopm
@item -mnopm
Do not generate code that reads program memory.
--
2.39.5