summaryrefslogtreecommitdiff
path: root/gcc/config/cris
diff options
context:
space:
mode:
authordj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-17 23:18:58 +0000
committerdj <dj@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-17 23:18:58 +0000
commit4d4528537d643a94dfff61b20803871fe127131f (patch)
tree432d0630d4f7f8857bbaeabf962e23436cceb28b /gcc/config/cris
parent506b1f4e52945ad13be56a21c254349d06875bb0 (diff)
downloadgcc-4d4528537d643a94dfff61b20803871fe127131f.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65756 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/cris')
-rw-r--r--gcc/config/cris/aout.h2
-rw-r--r--gcc/config/cris/cris.h10
2 files changed, 6 insertions, 6 deletions
diff --git a/gcc/config/cris/aout.h b/gcc/config/cris/aout.h
index 1c925f93bcf..9939dbac54f 100644
--- a/gcc/config/cris/aout.h
+++ b/gcc/config/cris/aout.h
@@ -112,7 +112,7 @@ Boston, MA 02111-1307, USA. */
#undef CRIS_SUBTARGET_LONG_OPTIONS
#define CRIS_SUBTARGET_LONG_OPTIONS \
{"elinux-stacksize=", &cris_elinux_stacksize_str, \
- N_("For elinux, request a specified stack-size for this program")}, \
+ N_("For elinux, request a specified stack-size for this program"), 0}, \
#undef CRIS_SUBTARGET_VERSION
#define CRIS_SUBTARGET_VERSION " - a.out"
diff --git a/gcc/config/cris/cris.h b/gcc/config/cris/cris.h
index 98a27a643b3..fceee0fbbb3 100644
--- a/gcc/config/cris/cris.h
+++ b/gcc/config/cris/cris.h
@@ -427,15 +427,15 @@ extern int target_flags;
#define TARGET_HAS_MUL_INSNS (cris_cpu_version >= CRIS_CPU_NG)
#define TARGET_OPTIONS \
- {{"cpu=", &cris_cpu_str, ""}, \
+ {{"cpu=", &cris_cpu_str, "", 0}, \
{"arch=", &cris_cpu_str, \
- N_("Generate code for the specified chip or CPU version")}, \
+ N_("Generate code for the specified chip or CPU version"), 0}, \
{"tune=", &cris_tune_str, \
- N_("Tune alignment for the specified chip or CPU version")}, \
+ N_("Tune alignment for the specified chip or CPU version"), 0}, \
{"max-stackframe=", &cris_max_stackframe_str, \
- N_("Warn when a stackframe is larger than the specified size")}, \
+ N_("Warn when a stackframe is larger than the specified size"), 0}, \
CRIS_SUBTARGET_LONG_OPTIONS \
- {"ax-stackframe=", &cris_max_stackframe_str, ""}}
+ {"ax-stackframe=", &cris_max_stackframe_str, "", 0} }
#define CRIS_SUBTARGET_LONG_OPTIONS