mirror of git://gcc.gnu.org/git/gcc.git
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
This commit is contained in:
parent
992669047c
commit
dc60b7754d
|
|
@ -1,3 +1,11 @@
|
|||
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.
|
||||
|
||||
2007-08-07 Ian Lance Taylor <iant@google.com>
|
||||
|
||||
* lower-subreg.c (resolve_clobber): If the clobber has a LIBCALL
|
||||
|
|
|
|||
|
|
@ -121,7 +121,8 @@
|
|||
#endif
|
||||
|
||||
|
||||
/* Define if you want all gimple types to be verified after gimplifiation. */
|
||||
/* Define if you want all gimple types to be verified after gimplifiation.
|
||||
This is cheap. */
|
||||
#ifndef USED_FOR_TARGET
|
||||
#undef ENABLE_TYPES_CHECKING
|
||||
#endif
|
||||
|
|
@ -894,6 +895,12 @@
|
|||
#endif
|
||||
|
||||
|
||||
/* Define if using GNU as. */
|
||||
#ifndef USED_FOR_TARGET
|
||||
#undef HAVE_GNU_AS
|
||||
#endif
|
||||
|
||||
|
||||
/* Define if using GNU ld. */
|
||||
#ifndef USED_FOR_TARGET
|
||||
#undef HAVE_GNU_LD
|
||||
|
|
|
|||
|
|
@ -1834,6 +1834,13 @@ _ACEOF
|
|||
|
||||
fi
|
||||
|
||||
gnu_as=`if test x"$gas_flag" = x"yes"; then echo 1; else echo 0; fi`
|
||||
|
||||
cat >>confdefs.h <<_ACEOF
|
||||
#define HAVE_GNU_AS $gnu_as
|
||||
_ACEOF
|
||||
|
||||
|
||||
echo "$as_me:$LINENO: checking whether a default assembler was specified" >&5
|
||||
echo $ECHO_N "checking whether a default assembler was specified... $ECHO_C" >&6
|
||||
if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
|
||||
|
|
|
|||
|
|
@ -246,6 +246,9 @@ if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
|
|||
[Define to enable the use of a default assembler.])
|
||||
fi
|
||||
|
||||
gnu_as=`if test x"$gas_flag" = x"yes"; then echo 1; else echo 0; fi`
|
||||
AC_DEFINE_UNQUOTED(HAVE_GNU_AS, $gnu_as, [Define if using GNU as.])
|
||||
|
||||
AC_MSG_CHECKING([whether a default assembler was specified])
|
||||
if test x"${DEFAULT_ASSEMBLER+set}" = x"set"; then
|
||||
if test x"$gas_flag" = x"no"; then
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue