Commit a4747b4a by H.J. Lu Committed by H.J. Lu

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
parent 63a9de54
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.
......
......@@ -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)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment