mips-opts.h: New.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 3 May 2011 18:51:49 +0000 (19:51 +0100)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 3 May 2011 18:51:49 +0000 (19:51 +0100)
commit3af42a7bacf04933a6ce32a9b04ea4217f1cc392
tree900fdb208864df8e10a6991c48e68925fa67b931
parent6add7e946e2254cbc23517a5b6ace896515efd45
mips-opts.h: New.

* config/mips/mips-opts.h: New.
* config/mips/mips.c (enum mips_r10k_cache_barrier_setting): Move
to mips-opts.h.
(mips_abi, mips_code_readable, mips_r10k_cache_barriee): Remove.
(mips_handle_option): Don't handle OPT_mabi_, OPT_mcode_readable_
or OPT_mr10k_cache_barrier_ here.  Access mips_cache_flush_func
via opts pointer.
* config/mips/mips.h (enum mips_code_readable_setting): Move to
mips-opts.h.
(mips_abi, mips_code_readable): Don't declare.
* config/mips/mips.opt (config/mips/mips-opts.h): New
HeaderInclude.
(mabi=): Use Enum and Var.
(mips_abi): New Enum and EnumValue entries.
(mcode-readable=): Use Enum and Var.
(mips_code_readable_setting): New Enum and EnumValue entries.
(mr10k-cache-barrier=): Use Enum and Var.
(mips_r10k_cache_barrier_setting): New Enum and EnumValue entries.

From-SVN: r173338
gcc/ChangeLog
gcc/config/mips/mips-opts.h [new file with mode: 0644]
gcc/config/mips/mips.c
gcc/config/mips/mips.h
gcc/config/mips/mips.opt