document new %{<S} command in spec strings.
authorNick Clifton <nickc@cygnus.com>
Mon, 27 Mar 2000 18:40:30 +0000 (18:40 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Mon, 27 Mar 2000 18:40:30 +0000 (18:40 +0000)
From-SVN: r32767

gcc/ChangeLog
gcc/invoke.texi

index 7eebda9bb58ef722b38844ee9834507a53d96f97..9b899a2725a1550b9a7f6a4eb99a55640b889934 100644 (file)
@@ -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
index 837c48ba855d08442761b5db58d10a9a574ba680..51d21a1012483ce99a87e911b612988df06bf2d0 100644 (file)
@@ -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