summaryrefslogtreecommitdiff
path: root/gcc/config.host
diff options
context:
space:
mode:
authorArthur Loiret <aloiret@debian.org>2009-03-24 10:33:57 +0000
committerLaurent Guerby <guerby@gcc.gnu.org>2009-03-24 10:33:57 +0000
commitd94a427e804f5dbdb5d4c322f48791d472e24614 (patch)
treef8641df89601617667b5eb32e4dd05c034244718 /gcc/config.host
parent92da2d44d665c5167a30634b574ca87edc3c45fb (diff)
config.host (alpha*-*-linux*): Use driver-alpha.o and alpha/x-alpha.
2009-03-24 Arthur Loiret <aloiret@debian.org> * config.host (alpha*-*-linux*): Use driver-alpha.o and alpha/x-alpha. * config/alpha/linux.h (host_detect_local_cpu): Declare, add to EXTRA_SPEC_FUNCTIONS. (MCPU_MTUNE_NATIVE_SPECS, DRIVER_SELF_SPECS): New macros. * config/alpha/driver-alpha.c, config/alpha/x-alpha: New. * doc/invoke.texi (DEC Alpha Options): Document 'native' value for -march and -mtune options. From-SVN: r145028
Diffstat (limited to 'gcc/config.host')
-rw-r--r--gcc/config.host11
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/config.host b/gcc/config.host
index 0cd57ed87f9..b06d1648c73 100644
--- a/gcc/config.host
+++ b/gcc/config.host
@@ -94,6 +94,14 @@ case ${host} in
esac
case ${host} in
+ alpha*-*-linux*)
+ case ${target} in
+ alpha*-*-linux*)
+ host_extra_gcc_objs="driver-alpha.o"
+ host_xmake_file="${host_xmake_file} alpha/x-alpha"
+ ;;
+ esac
+ ;;
i[34567]86-*-* \
| x86_64-*-* )
case ${target} in
@@ -112,9 +120,6 @@ case ${host} in
;;
esac
;;
-esac
-
-case ${host} in
rs6000-*-* \
| powerpc*-*-* )
case ${target} in