+2011-03-22 Joseph Myers <joseph@codesourcery.com>
+
+ * config/microblaze/microblaze.c: Don't include opts.h.
+ (microblaze_handle_option, TARGET_HANDLE_OPTION): Remove.
+ * config/microblaze/microblaze.opt (mxl-stack-check): Use Warn.
+ (mno-clearbss): Use Var and Warn.
+
2011-03-22 Joseph Myers <joseph@codesourcery.com>
* config/m32r/m32r-opts.h: New.
#include "df.h"
#include "optabs.h"
#include "diagnostic-core.h"
-#include "opts.h"
#define MICROBLAZE_VERSION_COMPARE(VA,VB) strcasecmp (VA, VB)
return iver;
}
-static bool
-microblaze_handle_option (struct gcc_options *opts,
- struct gcc_options *opts_set,
- const struct cl_decoded_option *decoded,
- location_t loc ATTRIBUTE_UNUSED)
-{
- size_t code = decoded->opt_index;
-
- gcc_assert (opts == &global_options);
- gcc_assert (opts_set == &global_options_set);
-
- switch (code)
- {
- case OPT_mno_clearbss:
- flag_zero_initialized_in_bss = 0;
- warning (0, "-mno-clearbss is deprecated; use -fno-zero-initialized-in-bss");
- break;
- case OPT_mxl_stack_check:
- warning (0, "-mxl_stack_check is deprecated; use -fstack-check");
- break;
- }
- return true;
-}
-
static void
microblaze_option_override (void)
#define TARGET_ASM_FUNCTION_END_PROLOGUE \
microblaze_function_end_prologue
-#undef TARGET_HANDLE_OPTION
-#define TARGET_HANDLE_OPTION microblaze_handle_option
-
#undef TARGET_DEFAULT_TARGET_FLAGS
#define TARGET_DEFAULT_TARGET_FLAGS TARGET_DEFAULT
Use pattern compare instructions
mxl-stack-check
-Target Mask(STACK_CHECK)
+Target Mask(STACK_CHECK) Warn(%qs is deprecated; use -fstack-check)
Check for stack overflow at runtime
mxl-gp-opt
Use GP relative sdata/sbss sections
mno-clearbss
-Target RejectNegative
+Target RejectNegative Var(flag_zero_initialized_in_bss, 0) Warn(%qs is deprecated; use -fno-zero-initialized-in-bss)
Clear the BSS to zero and place zero initialized in BSS
mxl-multiply-high