summaryrefslogtreecommitdiff
path: root/gcc/config/arm/arm.opt
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/arm/arm.opt
parent24224d3da21a164f17052e355b5810366a442fdb (diff)
downloadgcc-2ae1f0cc764e998bfc684d662aba0497e8723e52.tar.gz
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/arm/arm.opt')
-rw-r--r--gcc/config/arm/arm.opt10
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.