i386.c (ix86_abi): Move initialization to ...

2009-04-02  H.J. Lu  <hongjiu.lu@intel.com>

	* config/i386/i386.c (ix86_abi): Move initialization to ...
	(override_options): Here.

From-SVN: r145449
This commit is contained in:
H.J. Lu 2009-04-02 13:38:54 +00:00 committed by H.J. Lu
parent 63a9de54d8
commit a4747b4ae4
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-04-02 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.c (ix86_abi): Move initialization to ...
(override_options): Here.
2009-04-02 Christian Bruel <christian.bruel@st.com>
* config/sh/sh.c (sh_dwarf_register_span): New function.

View File

@ -1744,7 +1744,7 @@ static unsigned int ix86_default_incoming_stack_boundary;
unsigned int ix86_incoming_stack_boundary;
/* The abi used by target. */
enum calling_abi ix86_abi = DEFAULT_ABI;
enum calling_abi ix86_abi;
/* Values 1-5: see jump.c */
int ix86_branch_cost;
@ -2732,6 +2732,8 @@ override_options (bool main_args_p)
error ("unknown ABI (%s) for %sabi=%s %s",
ix86_abi_string, prefix, suffix, sw);
}
else
ix86_abi = DEFAULT_ABI;
if (ix86_cmodel_string != 0)
{