diff options
author | carlos <carlos@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-07 18:33:16 +0000 |
---|---|---|
committer | carlos <carlos@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-08-07 18:33:16 +0000 |
commit | c6429fa92ef5fe730ff70f91604e256f13407aa8 (patch) | |
tree | 8f287ee437c41a3903ba4afe49b27a7b7cc676d4 /gcc/gcc.c | |
parent | 58e13bdf758b37b53ccb81d8f8b058eb5b5d37f9 (diff) | |
download | gcc-c6429fa92ef5fe730ff70f91604e256f13407aa8.tar.gz |
2007-08-07 Carlos O'Donell <carlos@codesourcery.com>
* configure.ac: Define HAVE_GNU_AS if $gas_flag is yes.
* configure: Regenerate.
* config.in: Regenerate.
* gcc.c [HAVE_GNU_AS]: Add "%{v} %{w:-W} %{I*} " to asm_options
spec string.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@127275 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c index 3d4467791f1..fc85e2b23d0 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -824,8 +824,13 @@ static const char *cc1_options = %{coverage:-fprofile-arcs -ftest-coverage}"; static const char *asm_options = -"%{ftarget-help:%:print-asm-header()} \ -%a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}"; +"%{--target-help:%:print-asm-header()} " +#if HAVE_GNU_AS +/* If GNU AS is used, then convert -w (no warnings), -I, and -v + to the assembler equivalents. */ +"%{v} %{w:-W} %{I*} " +#endif +"%a %Y %{c:%W{o*}%{!o*:-o %w%b%O}}%{!c:-o %d%w%u%O}"; static const char *invoke_as = #ifdef AS_NEEDS_DASH_FOR_PIPED_INPUT |