]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
doc, ft32: Clean up FT32 options and documentation [PR122243]
authorSandra Loosemore <sloosemore@baylibre.com>
Mon, 17 Nov 2025 00:00:18 +0000 (00:00 +0000)
committerSandra Loosemore <sloosemore@baylibre.com>
Sat, 29 Nov 2025 03:27:10 +0000 (03:27 +0000)
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
gcc/doc/invoke.texi

index 039ca29db3a7a1b014bdce229c991a23d09ebbfc..def410d2af11efb38df06a621b7dc99da406d9c3 100644 (file)
@@ -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
index d3d5cc93772ad46b2b3731b76824bd050660ffe9..fab22655d9a9b78927f6b3c958d063326190abce 100644 (file)
@@ -1087,7 +1087,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
@@ -27737,6 +27737,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.
@@ -27744,23 +27745,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.