]> gcc.gnu.org Git - gcc.git/commit
rx-opts.h: New.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 5 Apr 2011 12:28:41 +0000 (13:28 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 5 Apr 2011 12:28:41 +0000 (13:28 +0100)
commitabd016e64f327ea97cc86f0aa594d46da4ca40aa
tree912285a69e7c732c6efe87efbd2432dd41d8de5e
parent3b8c1a3f49fbb96b55d872397234210d0cca6763
rx-opts.h: New.

* config/rx/rx-opts.h: New.
* config/rx/rx.c (rx_cpu_type): Remove.
(rx_handle_option): Don't assert that global structures are in
use.  Access variables via opts pointer.  Defer most handling of
OPT_mint_register_.  Use error_at.
(rx_option_override): Handle deferred OPT_mint_register_ here.
* config/rx/rx.h (enum rx_cpu_types): Move to rx-opts.h.
* config/rx/rx.opt (config/rx/rx-opts.h: New HeaderInclude.
(mcpu=): Use Enum and specifiy rx_cpu_type with Var.
(rx_cpu_types): New Enum and EnumValue entries.
(mint-register=): Use Defer and use Var accordingly.

From-SVN: r171984
gcc/ChangeLog
gcc/config/rx/rx-opts.h [new file with mode: 0644]
gcc/config/rx/rx.c
gcc/config/rx/rx.h
gcc/config/rx/rx.opt
This page took 0.049499 seconds and 5 git commands to generate.