gcc_update (gcc/config/m68k/m68k-tables.opt): New dependencies.
authorJoseph Myers <joseph@codesourcery.com>
Mon, 2 May 2011 15:42:39 +0000 (16:42 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Mon, 2 May 2011 15:42:39 +0000 (16:42 +0100)
commit47c94d21e4b95bf3f6d4797461f9dd80dceb22e8
treede4216ecaa5f4cfa346989b9a31f180441372fdd
parente562bf36b644ab3403fc28a5e41bee94fcca1deb
gcc_update (gcc/config/m68k/m68k-tables.opt): New dependencies.

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

gcc:
* config/m68k/genopt.sh, config/m68k/m68k-isas.def,
config/m68k/m68k-microarchs.def, config/m68k/m68k-opts.h,
config/m68k/t-opts: New files.
* config/m68k/m68k-tables.opt: New file (generated).
* config.gcc (fido-*-*, m68k-*-*): Add m68k/m68k-tables.opt to
extra_options and m68k/t-opts to tmake_file.
* config/m68k/m68k.c (m68k_library_id_string): More to m68k.opt.
(all_isas): Initialize using m68k-isas.def.
(all_microarchs): Initialize using m68k-microarchs.def.
(m68k_find_selection): Remove.
(m68k_handle_option): Don't assert that global structures are in
use.  Use error_at.  Access variables via opts pointer.  Don't
handle -march=, -mcpu= and -mtune= here.  Set gcc_options fields
directly for -m68020-40 and -m68020-60.
(m68k_option_override): Set m68k_arch_entry, m68k_cpu_entry and
m68k_tune_entry here.
* config/m68k/m68k.h (enum uarch_type, enum target_device): Move
to m68k-opts.h.
(m68k_library_id_string): Remove declaration.
* config/m68k/m68k.opt (config/m68k/m68k-opts.h): New
HeaderInclude.
(m68k_library_id_string): New Variable.
(march=, mcpu=, mtune=): Use Enum and Var.

From-SVN: r173256
13 files changed:
contrib/ChangeLog
contrib/gcc_update
gcc/ChangeLog
gcc/config.gcc
gcc/config/m68k/genopt.sh [new file with mode: 0755]
gcc/config/m68k/m68k-isas.def [new file with mode: 0644]
gcc/config/m68k/m68k-microarchs.def [new file with mode: 0644]
gcc/config/m68k/m68k-opts.h [new file with mode: 0644]
gcc/config/m68k/m68k-tables.opt [new file with mode: 0644]
gcc/config/m68k/m68k.c
gcc/config/m68k/m68k.h
gcc/config/m68k/m68k.opt
gcc/config/m68k/t-opts [new file with mode: 0644]