darwin.h (SUBTARGET32_DEFAULT_CPU): Add.
* config/i386/darwin.h (SUBTARGET32_DEFAULT_CPU): Add. * config/i386/i386.c (SUBTARGET32_DEFAULT_CPU): Add. (override_options): Use SUBTARGET32_DEFAULT_CPU. From-SVN: r157589
This commit is contained in:
parent
66845dac20
commit
4dd9ee924b
3 changed files with 13 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-03-19 Mike Stump <mikestump@comcast.net>
|
||||
|
||||
* config/i386/darwin.h (SUBTARGET32_DEFAULT_CPU): Add.
|
||||
* config/i386/i386.c (SUBTARGET32_DEFAULT_CPU): Add.
|
||||
(override_options): Use SUBTARGET32_DEFAULT_CPU.
|
||||
|
||||
2010-03-19 Andrew Pinski <andrew_pinski@caviumnetworks.com>
|
||||
|
||||
PR C/43211
|
||||
|
|
|
@ -298,3 +298,5 @@ extern void darwin_x86_file_end (void);
|
|||
used in Mach-O. */
|
||||
#undef MACHO_SYMBOL_FLAG_VARIABLE
|
||||
#define MACHO_SYMBOL_FLAG_VARIABLE ((SYMBOL_FLAG_MACH_DEP) << 3)
|
||||
|
||||
#define SUBTARGET32_DEFAULT_CPU "i686"
|
||||
|
|
|
@ -1912,6 +1912,10 @@ static unsigned int ix86_minimum_incoming_stack_boundary (bool);
|
|||
static enum calling_abi ix86_function_abi (const_tree);
|
||||
|
||||
|
||||
#ifndef SUBTARGET32_DEFAULT_CPU
|
||||
#define SUBTARGET32_DEFAULT_CPU "i386"
|
||||
#endif
|
||||
|
||||
/* The svr4 ABI for the i386 says that records and unions are returned
|
||||
in memory. */
|
||||
#ifndef DEFAULT_PCC_STRUCT_RETURN
|
||||
|
@ -2878,7 +2882,7 @@ override_options (bool main_args_p)
|
|||
}
|
||||
|
||||
if (!ix86_arch_string)
|
||||
ix86_arch_string = TARGET_64BIT ? "x86-64" : "i386";
|
||||
ix86_arch_string = TARGET_64BIT ? "x86-64" : SUBTARGET32_DEFAULT_CPU;
|
||||
else
|
||||
ix86_arch_specified = 1;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue