aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.gcc
diff options
context:
space:
mode:
authorRoger Sayle <roger@eyesopen.com>2006-07-21 05:31:33 +0000
committerRoger Sayle <sayle@gcc.gnu.org>2006-07-21 05:31:33 +0000
commit79387e574aaf8493e7fa9faef537a98f297061f7 (patch)
treec36efa3263124cc352e13d6db6d70e14e7a1a505 /gcc/config.gcc
parent1ffb99e925d3608ed7c2f093d8e17001c8599525 (diff)
downloadgcc-79387e574aaf8493e7fa9faef537a98f297061f7.zip
gcc-79387e574aaf8493e7fa9faef537a98f297061f7.tar.gz
gcc-79387e574aaf8493e7fa9faef537a98f297061f7.tar.bz2
config.gcc (i[34567]86-*-solaris2*): Add usegas.h to $tm_file if the target assembler is GNU binutils' gas.
* config.gcc (i[34567]86-*-solaris2*): Add usegas.h to $tm_file if the target assembler is GNU binutils' gas. * config/i386/sol2-10.h (ASM_SPEC): Check USE_GAS to determine whether to pass GNU gas or native as command line options. From-SVN: r115638
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r--gcc/config.gcc3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc
index 6058972..058fef7 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1164,6 +1164,9 @@ i[34567]86-*-solaris2*)
else
tmake_file="$tmake_file t-slibgcc-sld"
fi
+ if test x$gas = xyes; then
+ tm_file="usegas.h ${tm_file}"
+ fi
case ${target} in
*-*-solaris2.[789] | *-*-solaris2.1[0-9]*)
tm_file="$tm_file tm-dwarf2.h"