diff options
author | Carlos O'Donell <carlos@codesourcery.com> | 2007-08-07 18:33:16 +0000 |
---|---|---|
committer | Carlos O'Donell <carlos@gcc.gnu.org> | 2007-08-07 18:33:16 +0000 |
commit | dc60b7754db561a029e42eeb297493726f8b8b33 (patch) | |
tree | 8f287ee437c41a3903ba4afe49b27a7b7cc676d4 /gcc/gcc.c | |
parent | 992669047c537067eaf71906950ef76f620ba2da (diff) | |
download | gcc-dc60b7754db561a029e42eeb297493726f8b8b33.zip gcc-dc60b7754db561a029e42eeb297493726f8b8b33.tar.gz gcc-dc60b7754db561a029e42eeb297493726f8b8b33.tar.bz2 |
configure.ac: Define HAVE_GNU_AS if $gas_flag is yes.
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.
From-SVN: r127275
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -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 |