OSDN Git Service

* config/s390/s390-opts.h: New.
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Mar 2011 22:53:32 +0000 (22:53 +0000)
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 22 Mar 2011 22:53:32 +0000 (22:53 +0000)
commit8ad6fff900b29e972cdb8ed4ef6660f13b23e425
tree20b80376c76c0d1e3fd95e7fb3629d586c02e525
parent3f00226384cc059f9188db69aeddf815fd1c0b0b
* config/s390/s390-opts.h: New.
* config/s390/s390.c (s390_tune, s390_tune_flags, s390_arch,
s390_arch_flags, s390_warn_framesize, s390_stack_size,
s390_stack_guard): Remove.
(s390_handle_arch_option): Return void.  Take enum
s390_arch_option value instead of string and searching array.
(s390_handle_option): Don't assert that global structures are in
use.  Access variables via opts pointer.  Use error_at.  Don't use
sscanf for -mstack-guard= or -mstack-size=.  Update call to
s390_handle_arch_option.
(s390_option_override): Update call to s390_handle_arch_option.
(s390_emit_prologue): Use %d format for s390_stack_size in
diagnostic.  Use %wd for HOST_WIDE_INT.
* config/s390/s390.h (enum processor_type): Move to s390-opts.h.
(s390_tune, s390_tune_flags, s390_arch, s390_arch_flags): Remove.
* config/s390/s390.opt (config/s390/s390-opts.h): New
HeaderInclude entry.
(s390_arch_string, s390_tune, s390_tune_flags, s390_arch,
s390_arch_flags, s390_warn_framesize): New Variable entries.
(s390_arch_option): New Enum and EnumValue entries.
(march=): Use Enum instead of Var.
(mstack-guard=, mstack-size=): Use UInteger and Var.
(mtune=): Use Enum.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@171330 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/s390/s390-opts.h [new file with mode: 0644]
gcc/config/s390/s390.c
gcc/config/s390/s390.h
gcc/config/s390/s390.opt