aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@cygnus.com>2000-03-27 18:40:30 +0000
committerNick Clifton <nickc@gcc.gnu.org>2000-03-27 18:40:30 +0000
commitd630442f9d80a2e08f067773954db55a8cd39744 (patch)
treeb8031b49e01c81171e2322e4116f969cd3139d24
parent814feb3893268706a5aaee16156e0e78791f3540 (diff)
downloadgcc-d630442f9d80a2e08f067773954db55a8cd39744.zip
gcc-d630442f9d80a2e08f067773954db55a8cd39744.tar.gz
gcc-d630442f9d80a2e08f067773954db55a8cd39744.tar.bz2
document new %{<S} command in spec strings.
From-SVN: r32767
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/invoke.texi6
2 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7eebda9..9b899a2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2000-03-27 Nick Clifton <nickc@cygnus.com>
+
+ * invoke.texi (Spec Files): Document new spec % command created by
+ Tom Tromey's recent patch.
+
2000-03-27 Jakub Jelinek <jakub@redhat.com>
* libgcc2.h (MIN_UNITS_PER_WORD): Define to UNITS_PER_WORD
diff --git a/gcc/invoke.texi b/gcc/invoke.texi
index 837c48b..51d21a1 100644
--- a/gcc/invoke.texi
+++ b/gcc/invoke.texi
@@ -3586,6 +3586,12 @@ text, including the space. Thus two arguments would be generated.
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 occurences 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
+string after this option will not.
+
@item %@{@code{S}*:@code{X}@}
Substitutes @code{X} if one or more switches whose names start with
@code{-S} are specified to GCC. Note that the tail part of the