aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/frv
diff options
context:
space:
mode:
authorDJ Delorie <dj@redhat.com>2003-04-17 19:18:58 -0400
committerDJ Delorie <dj@gcc.gnu.org>2003-04-17 19:18:58 -0400
commitc409ea0d30ef28e68ff6b4fcb699ba013ee947f1 (patch)
tree432d0630d4f7f8857bbaeabf962e23436cceb28b /gcc/config/frv
parent368018184c55e6e262dc1acfe8b21a674b170e75 (diff)
downloadgcc-c409ea0d30ef28e68ff6b4fcb699ba013ee947f1.zip
gcc-c409ea0d30ef28e68ff6b4fcb699ba013ee947f1.tar.gz
gcc-c409ea0d30ef28e68ff6b4fcb699ba013ee947f1.tar.bz2
toplev.c (target_options): Add value field.
* toplev.c (target_options): Add value field. (set_target_switch): Handle target options with values. * doc/tm.texi: Document how fixed vs variable target options work. * config/alpha/alpha.h, config/arc/arc.h, config/avr/avr.h, config/c4x/c4x.h, config/cris/aout.h, config/cris/cris.h, config/d30v/d30v.h, config/dsp16xx/dsp16xx.h, config/frv/frv.h, config/i386/i386.h, config/ia64/ia64.h, config/m32r/m32r.h, config/m68hc11/m68hc11.h, config/m68k/m68k.h, config/m88k/m88k.h, config/mcore/mcore.h, config/mips/mips.h, config/mmix/mmix.h, config/pa/pa.h, config/rs6000/rs6000.h, config/rs6000/sysv4.h, config/s390/s390.h, config/sparc/sparc.h, config/v850/v850.h: Add value initializer to target options. From-SVN: r65756
Diffstat (limited to 'gcc/config/frv')
-rw-r--r--gcc/config/frv/frv.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/gcc/config/frv/frv.h b/gcc/config/frv/frv.h
index ed40dfb..56d3ec4 100644
--- a/gcc/config/frv/frv.h
+++ b/gcc/config/frv/frv.h
@@ -486,13 +486,13 @@ extern int target_flags;
"Specify the size of the short data section" } }
This declaration is optional. */
-#define TARGET_OPTIONS \
-{ \
- { "cpu=", &frv_cpu_string, "Set cpu type" }, \
- { "branch-cost=", &frv_branch_cost_string, "Internal debug switch" }, \
- { "cond-exec-insns=", &frv_condexec_insns_str, "Internal debug switch" }, \
- { "cond-exec-temps=", &frv_condexec_temps_str, "Internal debug switch" }, \
- { "sched-lookahead=", &frv_sched_lookahead_str,"Internal debug switch" }, \
+#define TARGET_OPTIONS \
+{ \
+ { "cpu=", &frv_cpu_string, "Set cpu type", 0}, \
+ { "branch-cost=", &frv_branch_cost_string, "Internal debug switch", 0}, \
+ { "cond-exec-insns=", &frv_condexec_insns_str, "Internal debug switch", 0}, \
+ { "cond-exec-temps=", &frv_condexec_temps_str, "Internal debug switch", 0}, \
+ { "sched-lookahead=", &frv_sched_lookahead_str,"Internal debug switch", 0}, \
}
/* This macro is a C statement to print on `stderr' a string describing the