gcc_update (gcc/config/mips/mips-tables.opt): New dependencies.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 9 May 2011 09:40:19 +0000 (10:40 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Mon, 9 May 2011 09:40:19 +0000 (10:40 +0100)
commitd371df6f10a5f5262df075ada4848720910b7880
tree3257fd24ba23b3c29971be1f3c9543bb608ffb32
parent4fc07af967e769a658c5aef0f40c860491fc132c
gcc_update (gcc/config/mips/mips-tables.opt): New dependencies.

contrib:
* gcc_update (gcc/config/mips/mips-tables.opt): New dependencies.

gcc:
* config/mips/genopt.sh, config/mips/mips-cpus.def: New files.
* config/mips/mips-tables.opt: New file (generated).
* config.gcc (mips*-*-*): Add mips/mips-tables.opt to
extra_options.
* config/mips/mips-opts.h (MIPS_ARCH_OPTION_FROM_ABI,
MIPS_ARCH_OPTION_NATIVE): Define.
* config/mips/mips.c (mips_cpu_info_table): Move contents to
mips-cpus.def.
(mips_strict_matching_cpu_name_p, mips_matching_cpu_name_p,
mips_parse_cpu): Remove.
(mips_cpu_info_from_opt, mips_default_arch): New.
(mips_handle_option): Don't assert that global structures are in
use.  Don't handle OPT_march_, OPT_mtune_ and OPT_mips here.
(mips_option_override): Use new variables and functions to set
state of these options.  Use strcmp to check for individual CPU
names.
* config/mips/mips.h (MIPS_CPU_STRING_DEFAULT): Remove default
definition.
* config/mips/mips.opt (march=): Use ToLower and Enum.
(mips): Use ToLower, Enum and Var.
(mtune=): Use ToLower and Enum.
* config/mips/t-mips ($(srcdir)/config/mips/mips-tables.opt): New.

From-SVN: r173561
12 files changed:
contrib/ChangeLog
contrib/gcc_update
gcc/ChangeLog
gcc/config.gcc
gcc/config/mips/genopt.sh [new file with mode: 0755]
gcc/config/mips/mips-cpus.def [new file with mode: 0644]
gcc/config/mips/mips-opts.h
gcc/config/mips/mips-tables.opt [new file with mode: 0644]
gcc/config/mips/mips.c
gcc/config/mips/mips.h
gcc/config/mips/mips.opt
gcc/config/mips/t-mips