v850-opts.h: New.
authorJoseph Myers <joseph@codesourcery.com>
Tue, 22 Mar 2011 22:48:11 +0000 (22:48 +0000)
committerJoseph Myers <jsm28@gcc.gnu.org>
Tue, 22 Mar 2011 22:48:11 +0000 (22:48 +0000)
commit4a8d3d9161118cfa3e8188b7a84f34cf842e0787
tree290099b795000ec918076785442ad985dfc2727c
parent117fdbfa24eaad74ae3b80bce79f0152fe2e776a
v850-opts.h: New.

* config/v850/v850-opts.h: New.
* config/v850/v850.c (small_memory): Replace with
small_memory_physical_max array.  Make that array static const.
(v850_handle_memory_option): Take integer value of argument.  Take
gcc_options pointer, option text and location.  Return void.
Update for changes to small memory structures.
(v850_handle_option): Access target_flags via opts pointer.  Don't
assert that global structures are in use.  Update calls to
v850_handle_memory_option.
(v850_encode_data_area): Update references to small memory
settings.
* config/v850/v850.h (struct small_memory_info, small_memory):
Remove.
(enum small_memory_type): Move to v850-opts.h.
* config/v850/v850.opt (config/v850/v850-opts.h): New
HeaderInclude entry.
(small_memory_max): New Variable entry.
(msda): Replace by pair of options msda= and msda-.  Use UInteger.
(mtda, mzda): Likewise.

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