aboutsummaryrefslogtreecommitdiff
path: root/gcc/config.host
diff options
context:
space:
mode:
authorams <ams@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-18 14:14:14 +0000
committerams <ams@138bc75d-0d04-0410-961f-82ee72b054a4>2011-10-18 14:14:14 +0000
commit2ae1f0cc764e998bfc684d662aba0497e8723e52 (patch)
tree8ecbf80cbd6e807c88fbc66f5ba482431661e5ea /gcc/config.host
parent24224d3da21a164f17052e355b5810366a442fdb (diff)
2011-10-18 Andrew Stubbs <ams@codesourcery.com>
gcc/ * config.host (arm*-*-linux*): Add driver-arm.o and x-arm. * config/arm/arm.opt: Add 'native' processor_type and arm_arch enum values. * config/arm/arm.h (host_detect_local_cpu): New prototype. (EXTRA_SPEC_FUNCTIONS): New define. (MCPU_MTUNE_NATIVE_SPECS): New define. (DRIVER_SELF_SPECS): New define. * config/arm/driver-arm.c: New file. * config/arm/x-arm: New file. * doc/invoke.texi (ARM Options): Document -mcpu=native, -mtune=native and -march=native. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@180139 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.host')
-rw-r--r--gcc/config.host8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/config.host b/gcc/config.host
index df8ba8fa801..696c79e3507 100644
--- a/gcc/config.host
+++ b/gcc/config.host
@@ -100,6 +100,14 @@ case ${host} in
esac
case ${host} in
+ arm*-*-linux*)
+ case ${target} in
+ arm*-*-*)
+ host_extra_gcc_objs="driver-arm.o"
+ host_xmake_file="${host_xmake_file} arm/x-arm"
+ ;;
+ esac
+ ;;
alpha*-*-linux* | alpha*-dec-osf*)
case ${target} in
alpha*-*-linux* | alpha*-dec-osf*)