Evgeny Karpov <evgeny.kar...@microsoft.com> writes: > From: Zac Walker <zacwal...@microsoft.com> > Date: Fri, 1 Mar 2024 02:17:39 +0100 > Subject: [PATCH v2 10/13] Rename "x86 Windows Options" to "Cygwin and MinGW > Options" > > Rename "x86 Windows Options" to "Cygwin and MinGW Options". > It will be used also for AArch64. > > gcc/ChangeLog: > > * config/i386/mingw-w64.opt.urls: Rename options' name and > regenerate option URLs. > * config/lynx.opt.urls: Likewise. > * config/mingw/cygming.opt.urls: Likewise. > * config/mingw/mingw.opt.urls: Likewise. > * doc/invoke.texi: Likewise. > --- > gcc/config/i386/mingw-w64.opt.urls | 2 +- > gcc/config/lynx.opt.urls | 2 +- > gcc/config/mingw/cygming.opt.urls | 18 +++++++++--------- > gcc/config/mingw/mingw.opt.urls | 2 +- > gcc/doc/invoke.texi | 12 ++++++++++-- > 5 files changed, 22 insertions(+), 14 deletions(-) > > diff --git a/gcc/config/i386/mingw-w64.opt.urls > b/gcc/config/i386/mingw-w64.opt.urls > index 6bb53ef29b2..5cceba1d1a1 100644 > --- a/gcc/config/i386/mingw-w64.opt.urls > +++ b/gcc/config/i386/mingw-w64.opt.urls > @@ -1,5 +1,5 @@ > ; Autogenerated by regenerate-opt-urls.py from gcc/config/i386/mingw-w64.opt > and generated HTML > > municode > -UrlSuffix(gcc/x86-Windows-Options.html#index-municode) > +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-municode) > > diff --git a/gcc/config/lynx.opt.urls b/gcc/config/lynx.opt.urls > index 63e7b9c4b33..b547138f7ff 100644 > --- a/gcc/config/lynx.opt.urls > +++ b/gcc/config/lynx.opt.urls > @@ -1,5 +1,5 @@ > ; Autogenerated by regenerate-opt-urls.py from gcc/config/lynx.opt and > generated HTML > > mthreads > -UrlSuffix(gcc/x86-Windows-Options.html#index-mthreads-1) > +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-mthreads-1) > > diff --git a/gcc/config/mingw/cygming.opt.urls > b/gcc/config/mingw/cygming.opt.urls > index 87799befe3c..c624e22e442 100644 > --- a/gcc/config/mingw/cygming.opt.urls > +++ b/gcc/config/mingw/cygming.opt.urls > @@ -1,30 +1,30 @@ > ; Autogenerated by regenerate-opt-urls.py from gcc/config/i386/cygming.opt > and generated HTML > > mconsole > -UrlSuffix(gcc/x86-Windows-Options.html#index-mconsole) > +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-mconsole) > > mdll > -UrlSuffix(gcc/x86-Windows-Options.html#index-mdll) > +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-mdll) > > mnop-fun-dllimport > -UrlSuffix(gcc/x86-Windows-Options.html#index-mnop-fun-dllimport) > +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-mnop-fun-dllimport) > > ; skipping UrlSuffix for 'mthreads' due to multiple URLs: > +; duplicate: 'gcc/Cygwin-and-MinGW-Options.html#index-mthreads-1' > ; duplicate: 'gcc/x86-Options.html#index-mthreads' > -; duplicate: 'gcc/x86-Windows-Options.html#index-mthreads-1' > > mwin32 > -UrlSuffix(gcc/x86-Windows-Options.html#index-mwin32) > +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-mwin32) > > mwindows > -UrlSuffix(gcc/x86-Windows-Options.html#index-mwindows) > +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-mwindows) > > mpe-aligned-commons > -UrlSuffix(gcc/x86-Windows-Options.html#index-mpe-aligned-commons) > +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-mpe-aligned-commons) > > fset-stack-executable > -UrlSuffix(gcc/x86-Windows-Options.html#index-fno-set-stack-executable) > +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-fno-set-stack-executable) > > fwritable-relocated-rdata > -UrlSuffix(gcc/x86-Windows-Options.html#index-fno-writable-relocated-rdata) > +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-fno-writable-relocated-rdata) > > diff --git a/gcc/config/mingw/mingw.opt.urls b/gcc/config/mingw/mingw.opt.urls > index 2cbbaadf310..f8ee5be6a53 100644 > --- a/gcc/config/mingw/mingw.opt.urls > +++ b/gcc/config/mingw/mingw.opt.urls > @@ -1,7 +1,7 @@ > ; Autogenerated by regenerate-opt-urls.py from gcc/config/i386/mingw.opt and > generated HTML > > mcrtdll= > -UrlSuffix(gcc/x86-Windows-Options.html#index-mcrtdll) > +UrlSuffix(gcc/Cygwin-and-MinGW-Options.html#index-mcrtdll) > > ; skipping UrlSuffix for 'pthread' due to multiple URLs: > ; duplicate: 'gcc/Link-Options.html#index-pthread-1' > diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi > index bdf05be387d..e2e473e095f 100644 > --- a/gcc/doc/invoke.texi > +++ b/gcc/doc/invoke.texi > @@ -1493,6 +1493,8 @@ See RS/6000 and PowerPC Options. > -munroll-only-small-loops -mlam=@var{choice}} > > @emph{x86 Windows Options} > + > +@emph{Cygwin and MinGW Options} > @gccoptlist{-mconsole -mcrtdll=@var{library} -mdll > -mnop-fun-dllimport -mthread > -municode -mwin32 -mwindows -fno-set-stack-executable} > @@ -20976,6 +20978,7 @@ platform. > * C6X Options:: > * CRIS Options:: > * C-SKY Options:: > +* Cygwin and MinGW Options:: > * Darwin Options:: > * DEC Alpha Options:: > * eBPF Options:: > @@ -36112,8 +36115,13 @@ positions 62:57 can be used for metadata. > > @node x86 Windows Options > @subsection x86 Windows Options > -@cindex x86 Windows Options > -@cindex Windows Options for x86
The old index entries are probably worth keeping. Looks good otherwise. Thanks, Richard > + > +@xref{Cygwin and MinGW Options}. > + > +@node Cygwin and MinGW Options > +@subsection Cygwin and MinGW Options > +@cindex Cygwin and MinGW Options > +@cindex Options for Cygwin and MinGW > > These additional options are available for Microsoft Windows targets: