diff options
author | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-05 12:28:41 +0000 |
---|---|---|
committer | jsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-04-05 12:28:41 +0000 |
commit | 8cb00d70d36966a59fdcbb76439fc2cd9e965276 (patch) | |
tree | 912285a69e7c732c6efe87efbd2432dd41d8de5e /gcc/config/rx/rx-opts.h | |
parent | 52fd37831a15c845d0d0f693e54ff471fc836ca1 (diff) | |
download | gcc-8cb00d70d36966a59fdcbb76439fc2cd9e965276.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171984 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rx/rx-opts.h')
-rw-r--r-- | gcc/config/rx/rx-opts.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gcc/config/rx/rx-opts.h b/gcc/config/rx/rx-opts.h new file mode 100644 index 00000000000..a1d071be242 --- /dev/null +++ b/gcc/config/rx/rx-opts.h @@ -0,0 +1,30 @@ +/* GCC option-handling definitions for the Renesas RX processor. + Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation, Inc. + + This file is part of GCC. + + GCC is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published + by the Free Software Foundation; either version 3, or (at your + option) any later version. + + GCC is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public + License for more details. + + You should have received a copy of the GNU General Public License + along with GCC; see the file COPYING3. If not see + <http://www.gnu.org/licenses/>. */ + +#ifndef RX_OPTS_H +#define RX_OPTS_H + +enum rx_cpu_types +{ + RX600, + RX610, + RX200 +}; + +#endif |