Commit 9eaff653 by Gunther Nikl Committed by Andreas Schwab

Author: Gunther Nikl <gnikl@users.sourceforge.net>

* common/config/m68k/m68k-common.c (m68k_handle_option): Set
gcc_options fields of opts_set for -m68020-40 and -m68020-60.

From-SVN: r192851
parent ca3f371f
2012-10-26 Gunther Nikl <gnikl@users.sourceforge.net>
* common/config/m68k/m68k-common.c (m68k_handle_option): Set
gcc_options fields of opts_set for -m68020-40 and -m68020-60.
2012-10-26 Teresa Johnson <tejohnson@google.com> 2012-10-26 Teresa Johnson <tejohnson@google.com>
* ree.c (add_removable_extension): Remove unnecessary * ree.c (add_removable_extension): Remove unnecessary
...@@ -33,7 +33,7 @@ along with GCC; see the file COPYING3. If not see ...@@ -33,7 +33,7 @@ along with GCC; see the file COPYING3. If not see
static bool static bool
m68k_handle_option (struct gcc_options *opts, m68k_handle_option (struct gcc_options *opts,
struct gcc_options *opts_set ATTRIBUTE_UNUSED, struct gcc_options *opts_set,
const struct cl_decoded_option *decoded, const struct cl_decoded_option *decoded,
location_t loc) location_t loc)
{ {
...@@ -45,12 +45,16 @@ m68k_handle_option (struct gcc_options *opts, ...@@ -45,12 +45,16 @@ m68k_handle_option (struct gcc_options *opts,
{ {
case OPT_m68020_40: case OPT_m68020_40:
opts->x_m68k_tune_option = u68020_40; opts->x_m68k_tune_option = u68020_40;
opts_set->x_m68k_tune_option = (uarch_type) 1;
opts->x_m68k_cpu_option = m68020; opts->x_m68k_cpu_option = m68020;
opts_set->x_m68k_cpu_option = (target_device) 1;
return true; return true;
case OPT_m68020_60: case OPT_m68020_60:
opts->x_m68k_tune_option = u68020_60; opts->x_m68k_tune_option = u68020_60;
opts_set->x_m68k_tune_option = (uarch_type) 1;
opts->x_m68k_cpu_option = m68020; opts->x_m68k_cpu_option = m68020;
opts_set->x_m68k_cpu_option = (target_device) 1;
return true; return true;
case OPT_mshared_library_id_: case OPT_mshared_library_id_:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment