diff options
Diffstat (limited to 'gcc/config/cris')
-rw-r--r-- | gcc/config/cris/aout.h | 4 | ||||
-rw-r--r-- | gcc/config/cris/aout.opt | 4 | ||||
-rw-r--r-- | gcc/config/cris/cris.c | 26 | ||||
-rw-r--r-- | gcc/config/cris/cris.h | 14 | ||||
-rw-r--r-- | gcc/config/cris/cris.opt | 10 |
5 files changed, 8 insertions, 50 deletions
diff --git a/gcc/config/cris/aout.h b/gcc/config/cris/aout.h index 0b6e61e3cf1..f39676cdaa5 100644 --- a/gcc/config/cris/aout.h +++ b/gcc/config/cris/aout.h @@ -94,10 +94,6 @@ Boston, MA 02111-1307, USA. */ + MASK_ALIGN_BY_32); \ break; \ \ - case OPT_melinux_stacksize_: \ - cris_elinux_stacksize_str = (ARG); \ - break; \ - \ default: \ break; \ } \ diff --git a/gcc/config/cris/aout.opt b/gcc/config/cris/aout.opt index f51dc2e68fc..b821d576fa0 100644 --- a/gcc/config/cris/aout.opt +++ b/gcc/config/cris/aout.opt @@ -27,6 +27,8 @@ melinux Target Report RejectNegative Compile for the MMU-less Etrax 100-based elinux system +;; We don't parse it currently; it's just passed on to the linker. +;; We might want to do something here someday. melinux-stacksize= -Target Report RejectNegative Joined +Target Report RejectNegative Joined Var(cris_elinux_stacksize_str) -melinux-stacksize=SIZE For elinux, request a specified stack-size for this program diff --git a/gcc/config/cris/cris.c b/gcc/config/cris/cris.c index 81e3ce6fb39..0bc8b8cf8aa 100644 --- a/gcc/config/cris/cris.c +++ b/gcc/config/cris/cris.c @@ -132,18 +132,6 @@ static tree cris_md_asm_clobbers (tree, tree, tree); static bool cris_handle_option (size_t, const char *, int); -/* This is the argument from the "-max-stack-stackframe=" option. */ -const char *cris_max_stackframe_str; - -/* This is the argument from the "-march=" option. */ -const char *cris_cpu_str; - -/* This is the argument from the "-mtune=" option. */ -const char *cris_tune_str; - -/* This is the argument from the "-melinux-stacksize=" option. */ -const char *cris_elinux_stacksize_str; - /* This is the parsed result of the "-max-stack-stackframe=" option. If it (still) is zero, then there was no such option given. */ int cris_max_stackframe = 0; @@ -2073,20 +2061,6 @@ cris_handle_option (size_t code, const char *arg, int value ATTRIBUTE_UNUSED) + MASK_DATA_ALIGN); break; - case OPT_max_stackframe_: - case OPT_mmax_stackframe_: - cris_max_stackframe_str = arg; - break; - - case OPT_march_: - case OPT_mcpu_: - cris_cpu_str = arg; - break; - - case OPT_mtune_: - cris_tune_str = arg; - break; - default: break; } diff --git a/gcc/config/cris/cris.h b/gcc/config/cris/cris.h index bdf48238016..4f998d05fa7 100644 --- a/gcc/config/cris/cris.h +++ b/gcc/config/cris/cris.h @@ -75,23 +75,9 @@ Boston, MA 02111-1307, USA. */ ((MODE) != BLKmode ? GET_MODE_SIZE (MODE) \ : (unsigned) int_size_in_bytes (TYPE)) -/* Check for max allowed stackframe. A "const char *" to be parsed. */ -extern const char *cris_max_stackframe_str; - -/* Which CPU version this is. A "const char *" to be parsed. */ -extern const char *cris_cpu_str; - /* Which CPU version this is. The parsed and adjusted cris_cpu_str. */ extern int cris_cpu_version; -/* Which CPU version to tune for. A "const char *" to be parsed. */ -extern const char *cris_tune_str; - -/* The argument to "-melinux-stacksize=". We don't parse it currently; - it's just passed on to the linker. We might want to do something - here someday. */ -extern const char *cris_elinux_stacksize_str; - /* Changing the order used to be necessary to put the fourth __make_dp argument (a DImode parameter) in registers, to fit with the libfunc parameter passing scheme used for intrinsic functions. FIXME: Check diff --git a/gcc/config/cris/cris.opt b/gcc/config/cris/cris.opt index 0aad8e7d14c..c828f61f3b0 100644 --- a/gcc/config/cris/cris.opt +++ b/gcc/config/cris/cris.opt @@ -159,22 +159,22 @@ Target Report RejectNegative Override -mbest-lib-options mcpu= -Target Report RejectNegative Joined Undocumented +Target Report RejectNegative Joined Undocumented Var(cris_cpu_str) march= -Target Report RejectNegative Joined +Target Report RejectNegative Joined Var(cris_cpu_str) VarExists -march=ARCH Generate code for the specified chip or CPU version mtune= -Target Report RejectNegative Joined +Target Report RejectNegative Joined Var(cris_tune_str) -mtune=ARCH Tune alignment for the specified chip or CPU version mmax-stackframe= -Target Report RejectNegative Joined +Target Report RejectNegative Joined Var(cris_max_stackframe_str) -mmax-stackframe=SIZE Warn when a stackframe is larger than the specified size max-stackframe= -Target Report RejectNegative Joined Undocumented +Target Report RejectNegative Joined Undocumented Var(cris_max_stackframe_str) VarExists ; TARGET_SVINTO: Currently this just affects alignment. FIXME: ; Redundant with TARGET_ALIGN_BY_32, or put machine stuff here? |