aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Rodrigues <rodrigc@gcc.gnu.org>2002-01-03 04:37:11 +0000
committerCraig Rodrigues <rodrigc@gcc.gnu.org>2002-01-03 04:37:11 +0000
commit0a379b7a079daa280d6f03d839ce636758055a29 (patch)
tree11c00f3867d8a76ae27bc17263566428d5933754
parent745b26b3c28a6b8fd71e74d0d68a1f1037f32a4c (diff)
downloadgcc-0a379b7a079daa280d6f03d839ce636758055a29.zip
gcc-0a379b7a079daa280d6f03d839ce636758055a29.tar.gz
gcc-0a379b7a079daa280d6f03d839ce636758055a29.tar.bz2
re PR c/5226 (-mthreads not available in gcc 3.0.3 but still in doc)
2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org> PR c/5226 * invoke.texi (-mthreads): Remove from documented RS/6000 options. (-pthread) Add to RS/6000 options. From-SVN: r48491
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/doc/invoke.texi17
2 files changed, 14 insertions, 9 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 201b1e1..1f83385 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -5,6 +5,12 @@
* Makefile.in: Update copyright date.
Update dependency.
+2002-01-02 Craig Rodrigues <rodrigc@gcc.gnu.org>
+
+ PR c/5226
+ * invoke.texi (-mthreads): Remove from documented RS/6000 options.
+ (-pthread) Add to RS/6000 options.
+
2002-01-02 Kazu Hirata <kazu@hxi.com>
* except.c: Fix comment typos.
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index 4a6ed0c..f689df0 100644
--- a/gcc/doc/invoke.texi
+++ b/gcc/doc/invoke.texi
@@ -433,7 +433,7 @@ in the following sections.
-mpowerpc-gfxopt -mno-powerpc-gfxopt @gol
-mnew-mnemonics -mold-mnemonics @gol
-mfull-toc -mminimal-toc -mno-fop-in-toc -mno-sum-in-toc @gol
--m64 -m32 -mxl-call -mno-xl-call -mthreads -mpe @gol
+-m64 -m32 -mxl-call -mno-xl-call -mpe @gol
-msoft-float -mhard-float -mmultiple -mno-multiple @gol
-mstring -mno-string -mupdate -mno-update @gol
-mfused-madd -mno-fused-madd -mbit-align -mno-bit-align @gol
@@ -445,7 +445,7 @@ in the following sections.
-mabi=altivec @gol
-mprototype -mno-prototype @gol
-msim -mmvme -mads -myellowknife -memb -msdata @gol
--msdata=@var{opt} -mvxworks -G @var{num}}
+-msdata=@var{opt} -mvxworks -G @var{num} -pthread}
@emph{RT Options}
@gccoptlist{
@@ -6717,12 +6717,6 @@ stack is inefficient and rarely needed, this option is not enabled by
default and only is necessary when calling subroutines compiled by AIX
XL compilers without optimization.
-@item -mthreads
-@opindex mthreads
-Support @dfn{AIX Threads}. Link an application written to use
-@dfn{pthreads} with special libraries and startup code to enable the
-application to run.
-
@item -mpe
@opindex mpe
Support @dfn{IBM RS/6000 SP} @dfn{Parallel Environment} (PE)@. Link an
@@ -6731,7 +6725,7 @@ enable the application to run. The system must have PE installed in the
standard location (@file{/usr/lpp/ppe.poe/}), or the @file{specs} file
must be overridden with the @option{-specs=} option to specify the
appropriate directory location. The Parallel Environment does not
-support threads, so the @option{-mpe} option and the @option{-mthreads}
+support threads, so the @option{-mpe} option and the @option{-pthread}
option are incompatible.
@item -msoft-float
@@ -7029,6 +7023,11 @@ All modules should be compiled with the same @option{-G @var{num}} value.
On System V.4 and embedded PowerPC systems do (do not) emit register
names in the assembly language output using symbolic forms.
+@item -pthread
+@opindex pthread
+Adds support for multithreading with the @dfn{pthreads} library.
+This option sets flags for both the preprocessor and linker.
+
@end table
@node RT Options