gcc/ChangeLog
PR other/122243
* doc/invoke.texi (Option Summary) <Solaris 2 Options>:
Remove redundant negative option forms from list.
(Solaris 2 Options): Index and list the negative forms here.
Combine the two @table environments.
---
gcc/doc/invoke.texi | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index f85374ad93b..3f78615b96d 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -34762,18 +34762,22 @@ allocator is used.
@subsection Solaris 2 Options
@cindex Solaris 2 options
-These @samp{-m} options are supported on Solaris 2:
+These options are supported on Solaris 2:
@table @gcctabopt
@opindex mclear-hwcap
+@opindex mno-clear-hwcap
@item -mclear-hwcap
+@itemx -mno-clear-hwcap
@option{-mclear-hwcap} tells the compiler to remove the hardware
capabilities generated by the Solaris assembler. This is only necessary
when object files use ISA extensions not supported by the current
machine, but check at runtime whether or not to use them.
@opindex mimpure-text
+@opindex mno-impure-text
@item -mimpure-text
+@itemx -mno-impure-text
@option{-mimpure-text}, used in addition to @option{-shared}, tells
the compiler to not pass @option{-z text} to the linker when linking a
shared object. Using this option, you can link position-dependent
@@ -34786,20 +34790,16 @@ shared object is not actually shared across
processes. Instead of
using @option{-mimpure-text}, you should compile all source code with
@option{-fpic} or @option{-fPIC}.
-@end table
-
-These switches are supported in addition to the above on Solaris 2:
-
-@table @gcctabopt
@opindex gsctf
@item -gsctf
Generate Solaris CTF. Needs to be used both for compilation and
linking. See @command{ctf(7)} for more information. This is only
supported since Solaris 11.4 SRU 84 where the necessary toolchain
support was added.
+
@opindex pthreads
@item -pthreads
-This is a synonym for @option{-pthread}.
+This is a synonym for the linker option @option{-pthread}.
@end table
@node SPARC Options
--
2.39.5