This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Fix for specs description typo for %{<S} (installed).


This was an obvious typo once you try to use the feature,
therefore installed on the rule of obviousness.  Bootstrapped
along with another patch on i686-pc-linux-gnulibc1, FWIW.

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.

Index: gcc.c
===================================================================
RCS file: /cvs/gcc/egcs/gcc/gcc.c,v
retrieving revision 1.165
diff -p -c -r1.165 gcc.c
*** gcc.c	2000/09/15 17:09:19	1.165
--- gcc.c	2000/09/15 21:59:36
*************** or with constant text in a single argume
*** 374,382 ****
  	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.
          Note - this option is position dependent.  % 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.
--- 374,382 ----
  	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.
          Note - this option is position dependent.  % 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.
Index: invoke.texi
===================================================================
RCS file: /cvs/gcc/egcs/gcc/invoke.texi,v
retrieving revision 1.217
diff -p -c -r1.217 invoke.texi
*** invoke.texi	2000/09/14 18:09:16	1.217
--- invoke.texi	2000/09/15 22:00:20
*************** Like %@{@code{S}*@}, but don't put a bla
*** 3708,3716 ****
  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
  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}@}
--- 3708,3716 ----
  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
  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}@}

brgds, H-P

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]