]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
re PR target/12602 (-pthreads and -threads undocumented for Solaris/SPARC)
authorEric Botcazou <ebotcazou@libertysurf.fr>
Tue, 13 Jul 2004 10:50:27 +0000 (12:50 +0200)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Tue, 13 Jul 2004 10:50:27 +0000 (10:50 +0000)
PR target/12602
* doc/invoke.texi (SPARC options): Document -threads
and -pthreads on Solaris.

Co-Authored-By: Martin Sebor <sebor@roguewave.com>
From-SVN: r84614

gcc/ChangeLog
gcc/doc/invoke.texi

index 2e39497425f482116f2353297de548835d517c89..112c1a97f23dc7e96c97d226cb3d1da4a453d83b 100644 (file)
@@ -1,3 +1,10 @@
+2004-07-13  Eric Botcazou  <ebotcazou@libertysurf.fr>
+            Martin Sebor  <sebor@roguewave.com>
+
+       PR target/12602
+       * doc/invoke.texi (SPARC options): Document -threads
+       and -pthreads on Solaris.
+
 2004-07-12  Eric Botcazou  <ebotcazou@libertysurf.fr>
 
        * config/sparc/sol2-bi.h: Handle TARGET_CPU_ultrasparc3.
index bcba7c4175d3fd52e15a3ca155012ae5c32b1947..1b92a84a214dd11cb240f8ac8d8c17a6a87913de 100644 (file)
@@ -347,7 +347,8 @@ in the following sections.
 -mno-faster-structs  -mno-flat  -mno-fpu @gol
 -mno-impure-text  -mno-stack-bias  -mno-unaligned-doubles @gol
 -msoft-float  -msoft-quad-float  -msparclite  -mstack-bias @gol
--msupersparc  -munaligned-doubles  -mv8}
+-msupersparc  -munaligned-doubles  -mv8
+-threads -pthreads}
 
 @emph{ARM Options}
 @gccoptlist{-mapcs-frame  -mno-apcs-frame @gol
@@ -5961,6 +5962,24 @@ when making stack frame references.
 Otherwise, assume no such offset is present.
 @end table
 
+These switches are supported in addition to the above on Solaris:
+
+@table @gcctabopt
+@item -threads
+@opindex threads
+Add support for multithreading using the Solaris threads library.  This
+option sets flags for both the preprocessor and linker.  This option does
+not affect the thread safety of object code produced by the compiler or
+that of libraries supplied with it.
+
+@item -pthreads
+@opindex pthreads
+Add support for multithreading using the POSIX threads library.  This
+option sets flags for both the preprocessor and linker.  This option does
+not affect the thread safety of object code produced  by the compiler or
+that of libraries supplied with it.
+@end table
+
 @node ARM Options
 @subsection ARM Options
 @cindex ARM options