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/arm/arm.opt | |
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/arm/arm.opt')
-rw-r--r-- | gcc/config/arm/arm.opt | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/config/arm/arm.opt b/gcc/config/arm/arm.opt index e33b460520f..934aa35775e 100644 --- a/gcc/config/arm/arm.opt +++ b/gcc/config/arm/arm.opt @@ -80,6 +80,11 @@ march= Target RejectNegative Joined Enum(arm_arch) Var(arm_arch_option) Specify the name of the target architecture +; Other arm_arch values are loaded from arm-tables.opt +; but that is a generated file and this is an odd-one-out. +EnumValue +Enum(arm_arch) String(native) Value(-1) DriverOnly + marm Target Report RejectNegative InverseMask(THUMB) Generate code in 32 bit ARM state. @@ -233,6 +238,11 @@ mtune= Target RejectNegative Joined Enum(processor_type) Var(arm_tune_option) Init(arm_none) Tune code for the given processor +; Other processor_type values are loaded from arm-tables.opt +; but that is a generated file and this is an odd-one-out. +EnumValue +Enum(processor_type) String(native) Value(-1) DriverOnly + mwords-little-endian Target Report RejectNegative Mask(LITTLE_WORDS) Assume big endian bytes, little endian words. This option is deprecated. |