aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/gcc.c4
-rw-r--r--gcc/invoke.texi4
3 files changed, 9 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 660bb96b..a407372 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2000-09-16 Hans-Peter Nilsson <hp@axis.com>
+
+ * gcc.c: In description for %{<S}, say the option removed is -S.
+ * invoke.texi (Spec Files): Ditto.
+
2000-09-16 Andreas Jaeger <aj@suse.de>
* configure.in: Always define _GNU_SOURCE to make interfaces
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 66d70cf..bdd354b 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -374,9 +374,9 @@ or with constant text in a single argument.
specified to CC. Note that the tail part of the -S option
(i.e. the part matched by the `*') will be substituted for each
occurrence of %* within X.
- %{<S} remove all occurences of S from the command line.
+ %{<S} remove all occurences of -S from the command line.
Note - this option is position dependent. % commands in the
- spec string before this option will see S, % commands in the
+ spec string before this option will see -S, % commands in the
spec string after this option will not.
%{S:X} substitutes X, but only if the -S switch was given to CC.
%{!S:X} substitutes X, but only if the -S switch was NOT given to CC.
diff --git a/gcc/invoke.texi b/gcc/invoke.texi
index be42ad5..cea95c4 100644
--- a/gcc/invoke.texi
+++ b/gcc/invoke.texi
@@ -3708,9 +3708,9 @@ Like %@{@code{S}*@}, but don't put a blank between a switch and its
argument. Thus %@{^o*@} would only generate one argument, not two.
@item %@{<@code{S}@}
-Remove all occurrences of @code{S} from the command line. Note - this
+Remove all occurrences of @code{-S} from the command line. Note - this
command is position dependent. @samp{%} commands in the spec string
-before this option will see @code{S}, @samp{%} commands in the spec
+before this option will see @code{-S}, @samp{%} commands in the spec
string after this option will not.
@item %@{@code{S}*:@code{X}@}