diff options
author | Eric Botcazou <ebotcazou@libertysurf.fr> | 2004-07-13 12:36:29 +0200 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2004-07-13 10:36:29 +0000 |
commit | 6bfb2f933ca96827a5f23742193aa69b2fe901e2 (patch) | |
tree | 9edb4d76fcc765abf92c36585c2fd333530411c4 /gcc | |
parent | 9a2ba7af2cef8b068c98e40fb349397616c91520 (diff) | |
download | gcc-6bfb2f933ca96827a5f23742193aa69b2fe901e2.zip gcc-6bfb2f933ca96827a5f23742193aa69b2fe901e2.tar.gz gcc-6bfb2f933ca96827a5f23742193aa69b2fe901e2.tar.bz2 |
re PR target/12602 (-pthreads and -threads undocumented for Solaris/SPARC)
PR target/12602
* doc/invoke.texi (SPARC options): Document -threads
and -pthreads on Solaris.
Co-Authored-By: Martin Sebor <sebor@roguewave.com>
From-SVN: r84612
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 21 |
2 files changed, 27 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0fefd19..685aad2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -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-13 Richard Henderson <rth@redhat.com> * builtins.c (std_gimplify_va_arg_expr): Handle types passed diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 0ffc852..a4785f0 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -638,7 +638,8 @@ See RS/6000 and PowerPC Options. -mimpure-text -mno-impure-text -mlittle-endian @gol -mstack-bias -mno-stack-bias @gol -munaligned-doubles -mno-unaligned-doubles @gol --mv8plus -mno-v8plus -mvis -mno-vis} +-mv8plus -mno-v8plus -mvis -mno-vis +-threads -pthreads} @emph{System V Options} @gccoptlist{-Qy -Qn -YP,@var{paths} -Ym,@var{dir}} @@ -10808,6 +10809,24 @@ when making stack frame references. This is the default in 64-bit mode. 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 System V Options @subsection Options for System V |