gcc/ChangeLog
        PR other/122243
        * doc/invoke.texi (Option Summary) <Cygwin and MinGW Options>:
        Correct spelling of -mthreads and add missing options.
        (Cygwin and MinGW Options): Add @opindex for negative forms.
---
 gcc/doc/invoke.texi | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 897e773eb19..8d5582d6d15 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -1028,8 +1028,9 @@ Objective-C and Objective-C++ Dialects}.
 
 @emph{Cygwin and MinGW Options} (@ref{Cygwin and MinGW Options})
 @gccoptlist{-mconsole  -mcrtdll=@var{library}  -mdll
--mnop-fun-dllimport  -mthread
--municode  -mwin32  -mwindows  -fno-set-stack-executable}
+-mnop-fun-dllimport  -mthreads
+-municode  -mwin32  -mwindows  -fno-set-stack-executable
+-fwritable-relocated-rdata  -mpe-aligned-commons}
 
 @emph{Darwin Options} (@ref{Darwin Options})
 @gccoptlist{-all_load  -allowable_client  -arch  -arch_errors_fatal
@@ -26622,6 +26623,7 @@ generated, enabling the selection of the required 
runtime
 startup object and entry point.
 
 @opindex mnop-fun-dllimport
+@opindex mno-nop-fun-dllimport
 @item -mnop-fun-dllimport
 This option is available for Cygwin and MinGW targets.  It
 specifies that the @code{dllimport} attribute should be ignored.
@@ -26632,12 +26634,14 @@ This option is available for MinGW targets. It 
specifies
 that MinGW-specific thread support is to be used.
 
 @opindex municode
+@opindex mno-unicode
 @item -municode
 This option is available for MinGW-w64 targets.  It causes
 the @code{UNICODE} preprocessor macro to be predefined, and
 chooses Unicode-capable runtime startup code.
 
 @opindex mwin32
+@opindex mno-win32
 @item -mwin32
 This option is available for Cygwin and MinGW targets.  It
 specifies that the typical Microsoft Windows predefined macros are to
@@ -26645,6 +26649,7 @@ be set in the pre-processor, but does not influence the 
choice
 of runtime library/startup code.
 
 @opindex mwindows
+@opindex mno-windows
 @item -mwindows
 This option is available for Cygwin and MinGW targets.  It
 specifies that a GUI application is to be generated by
-- 
2.39.5

Reply via email to