The LynxOS port of GCC has been around for a long time but its
target-specific options have never been documented. Fixed thusly.
gcc/ChangeLog
PR other/122243
* doc/invoke.texi (Option Summary) <LynxOS Options>: New.
(LynxOS Options): New section.
---
gcc/doc/invoke.texi | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index d690305a890..686dcc917ea 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -1173,6 +1173,9 @@ Objective-C and Objective-C++ Dialects}.
-mscq -mtls-dialect=@var{opt}
-mannotate-tablejump}
+@emph{LynxOS Options} (@ref{LynxOS Options})
+@gccoptlist{-mshared -mthreads -mlegacy-threads}
+
@emph{M32C Options} (@ref{M32C Options})
@gccoptlist{-mcpu=@var{cpu} -msim -memregs=@var{number}}
@@ -22522,6 +22525,7 @@ platform.
* IA-64 Options::
* LM32 Options::
* LoongArch Options::
+* LynxOS Options::
* M32C Options::
* M32R/D Options::
* M680x0 Options::
@@ -29200,6 +29204,27 @@ loop. The default value is six.
@end table
+@node LynxOS Options
+@subsection LynxOS Options
+@cindex LynxOS Options
+
+These options are available for LynxOS targets.
+
+@table @gcctabopt
+
+@opindex mshared
+@item -mshared
+Use shared libraries. The default is to link with static libraries.
+
+@opindex mthreads
+@item -mthreads
+Support multi-threading.
+
+@opindex mlegacy-threads
+@item -mlegacy-threads
+Support legacy multi-threading.
+This option is incompatible with @option{-mthreads}.
+@end table
@node M32C Options
@subsection M32C Options
--
2.39.5