Commit 98312a9b by Geoffrey Keating Committed by Geoffrey Keating

* doc/invoke.texi (Spec Files): Update for '%{,' spec.

From-SVN: r122878
parent 49522de2
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.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment