aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arm/arm.opt
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-04-08 20:39:48 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2011-04-08 20:39:48 +0100
commitad7be0090c0276c2526887944f5f6927e20507f2 (patch)
tree224638ec4303904967918f2aaa77811b650345f2 /gcc/config/arm/arm.opt
parentecbb6fb7e40ad675386f78937cc153ce5bfaf990 (diff)
downloadgcc-ad7be0090c0276c2526887944f5f6927e20507f2.zip
gcc-ad7be0090c0276c2526887944f5f6927e20507f2.tar.gz
gcc-ad7be0090c0276c2526887944f5f6927e20507f2.tar.bz2
gcc_update (gcc/config/arm/arm-tables.opt): New dependencies.
contrib: * gcc_update (gcc/config/arm/arm-tables.opt): New dependencies. gcc: * config.gcc (arm*-*-*): Add arm/arm-tables.opt to extra_options. * config/arm/arm-arches.def: New. * config/arm/arm-opts.h: New. * config/arm/genopt.sh: New. * config/arm/arm-tables.opt: New (generated). * config/arm/arm.c (arm_handle_option, arm_target_help, TARGET_HANDLE_OPTION, TARGET_HELP, arm_find_cpu): Remove. (all_architectures): Get most table contents from arm-arches.def. (arm_option_override): Set arm_selected_arch, arm_selected_cpu and arm_selected_tune here. * config/arm/arm.h (enum processor_type): Move to arm-opts.h. * config/arm/arm.opt (config/arm/arm-opts.h): New HeaderInclude. (march=, mcpu=, mtune=): Use Enum and Var. * config/arm/t-arm ($(srcdir)/config/arm/arm-tables.opt): New. (arm.o): Update dependencies. From-SVN: r172205
Diffstat (limited to 'gcc/config/arm/arm.opt')
-rw-r--r--gcc/config/arm/arm.opt11
1 files changed, 7 insertions, 4 deletions
diff --git a/gcc/config/arm/arm.opt b/gcc/config/arm/arm.opt
index 3ab4734..7d2d84c 100644
--- a/gcc/config/arm/arm.opt
+++ b/gcc/config/arm/arm.opt
@@ -1,6 +1,6 @@
; Options for the ARM port of the compiler.
-; Copyright (C) 2005, 2007, 2008 Free Software Foundation, Inc.
+; Copyright (C) 2005, 2007, 2008, 2009, 2011 Free Software Foundation, Inc.
;
; This file is part of GCC.
;
@@ -18,6 +18,9 @@
; along with GCC; see the file COPYING3. If not see
; <http://www.gnu.org/licenses/>.
+HeaderInclude
+config/arm/arm-opts.h
+
mabi=
Target RejectNegative Joined Var(target_abi_name)
Specify an ABI
@@ -45,7 +48,7 @@ mapcs-stack-check
Target Report Mask(APCS_STACK) Undocumented
march=
-Target RejectNegative Joined
+Target RejectNegative Joined Enum(arm_arch) Var(arm_arch_option)
Specify the name of the target architecture
marm
@@ -68,7 +71,7 @@ Target Report Mask(CIRRUS_FIX_INVALID_INSNS)
Cirrus: Place NOPs to avoid invalid instruction combinations
mcpu=
-Target RejectNegative Joined
+Target RejectNegative Joined Enum(processor_type) Var(arm_cpu_option) Init(arm_none)
Specify the name of the target CPU
mfloat-abi=
@@ -148,7 +151,7 @@ Target Report Mask(TPCS_LEAF_FRAME)
Thumb: Generate (leaf) stack frames even if not needed
mtune=
-Target RejectNegative Joined
+Target RejectNegative Joined Enum(processor_type) Var(arm_tune_option) Init(arm_none)
Tune code for the given processor
mwords-little-endian