diff options
author | Geoffrey Keating <geoffk@apple.com> | 2007-03-13 07:15:51 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2007-03-13 07:15:51 +0000 |
commit | 98312a9bed2a80aa30c3cc2abc70f50def92d595 (patch) | |
tree | 9dfa76cbcaa43f630e739b9b2354f95b172736f3 | |
parent | 49522de2d26fdf96e31170fb9692b56084a705ec (diff) | |
download | gcc-98312a9bed2a80aa30c3cc2abc70f50def92d595.zip gcc-98312a9bed2a80aa30c3cc2abc70f50def92d595.tar.gz gcc-98312a9bed2a80aa30c3cc2abc70f50def92d595.tar.bz2 |
* doc/invoke.texi (Spec Files): Update for '%{,' spec.
From-SVN: r122878
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/doc/invoke.texi | 19 |
2 files changed, 16 insertions, 7 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6b82882..e11f80a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,4 +1,6 @@ -2007-03-11 Geoffrey Keating <geoffk@apple.com> +2007-03-13 Geoffrey Keating <geoffk@apple.com> + + * doc/invoke.texi (Spec Files): Update for '%{,' spec. * config/rs6000/darwin-fallback.c: Compile file only on powerpc. (handle_syscall): Handle direct system calls. diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index 0a7ebbc..61e82c30 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -7587,12 +7587,19 @@ Substitutes @code{X}, if processing a file with suffix @code{S}. @item %@{!.@code{S}:@code{X}@} Substitutes @code{X}, if @emph{not} processing a file with suffix @code{S}. +@item %@{,@code{S}:@code{X}@} +Substitutes @code{X}, if processing a file for language @code{S}. + +@item %@{!,@code{S}:@code{X}@} +Substitutes @code{X}, if not processing a file for language @code{S}. + @item %@{@code{S}|@code{P}:@code{X}@} -Substitutes @code{X} if either @code{-S} or @code{-P} was given to GCC@. -This may be combined with @samp{!}, @samp{.}, and @code{*} sequences as well, -although they have a stronger binding than the @samp{|}. If @code{%*} -appears in @code{X}, all of the alternatives must be starred, and only -the first matching alternative is substituted. +Substitutes @code{X} if either @code{-S} or @code{-P} was given to +GCC@. This may be combined with @samp{!}, @samp{.}, @samp{,}, and +@code{*} sequences as well, although they have a stronger binding than +the @samp{|}. If @code{%*} appears in @code{X}, all of the +alternatives must be starred, and only the first matching alternative +is substituted. For example, a spec string like this: @@ -7615,7 +7622,7 @@ jim.d -bar -boggle If @code{S} was given to GCC, substitutes @code{X}; else if @code{T} was given to GCC, substitutes @code{Y}; else substitutes @code{D}. There can be as many clauses as you need. This may be combined with @code{.}, -@code{!}, @code{|}, and @code{*} as needed. +@code{,}, @code{!}, @code{|}, and @code{*} as needed. @end table |