diff options
author | Andrew Stubbs <ams@codesourcery.com> | 2011-10-18 14:14:14 +0000 |
---|---|---|
committer | Andrew Stubbs <ams@gcc.gnu.org> | 2011-10-18 14:14:14 +0000 |
commit | 33aa08b35b357f8a567b6d7c8c1a55162fe0604c (patch) | |
tree | 8ecbf80cbd6e807c88fbc66f5ba482431661e5ea /gcc/config.host | |
parent | aa6e723726a1e0ab392e436112ba18d071f927af (diff) | |
download | gcc-33aa08b35b357f8a567b6d7c8c1a55162fe0604c.tar.gz |
config.host (arm*-*-linux*): Add driver-arm.o and x-arm.
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.
From-SVN: r180139
Diffstat (limited to 'gcc/config.host')
-rw-r--r-- | gcc/config.host | 8 |
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*) |