Commit 4f514514 by Joseph Myers Committed by Joseph Myers

i386.c (optimization_options): Use SUBTARGET_OPTIMIZATION_OPTIONS.

	* config/i386/i386.c (optimization_options): Use
	SUBTARGET_OPTIMIZATION_OPTIONS.
	* config/i386/sol2-10.h (SUBTARGET_OPTIMIZATION_OPTIONS): Define.
	(TARGET_SUBTARGET_DEFAULT): Don't include
	MASK_OMIT_LEAF_FRAME_POINTER.

From-SVN: r91163
parent 81e4cf35
2004-11-24 Joseph Myers <joseph@codesourcery.com>
* config/i386/i386.c (optimization_options): Use
SUBTARGET_OPTIMIZATION_OPTIONS.
* config/i386/sol2-10.h (SUBTARGET_OPTIMIZATION_OPTIONS): Define.
(TARGET_SUBTARGET_DEFAULT): Don't include
MASK_OMIT_LEAF_FRAME_POINTER.
2004-11-24 Mark Mitchell <mark@codesourcery.com> 2004-11-24 Mark Mitchell <mark@codesourcery.com>
* config/i386/sol2.h (X86_FILE_START_VERSION_DIRECTIVE): * config/i386/sol2.h (X86_FILE_START_VERSION_DIRECTIVE):
......
...@@ -1599,6 +1599,9 @@ optimization_options (int level, int size ATTRIBUTE_UNUSED) ...@@ -1599,6 +1599,9 @@ optimization_options (int level, int size ATTRIBUTE_UNUSED)
flag_omit_frame_pointer = 2; flag_omit_frame_pointer = 2;
flag_pcc_struct_return = 2; flag_pcc_struct_return = 2;
flag_asynchronous_unwind_tables = 2; flag_asynchronous_unwind_tables = 2;
#ifdef SUBTARGET_OPTIMIZATION_OPTIONS
SUBTARGET_OPTIMIZATION_OPTIONS;
#endif
} }
/* Table of valid machine attributes. */ /* Table of valid machine attributes. */
......
...@@ -51,8 +51,15 @@ Boston, MA 02111-1307, USA. */ ...@@ -51,8 +51,15 @@ Boston, MA 02111-1307, USA. */
#undef TARGET_SUBTARGET_DEFAULT #undef TARGET_SUBTARGET_DEFAULT
#define TARGET_SUBTARGET_DEFAULT (MASK_80387 | MASK_IEEE_FP \ #define TARGET_SUBTARGET_DEFAULT (MASK_80387 | MASK_IEEE_FP \
| MASK_FLOAT_RETURNS \ | MASK_FLOAT_RETURNS)
| MASK_OMIT_LEAF_FRAME_POINTER)
#define SUBTARGET_OPTIMIZATION_OPTIONS \
do \
{ \
if (optimize >= 1) \
target_flags |= MASK_OMIT_LEAF_FRAME_POINTER; \
} \
while (0)
#define MULTILIB_DEFAULTS { "m32" } #define MULTILIB_DEFAULTS { "m32" }
......
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