Commit 064e93c2 by Ulrich Weigand Committed by Ulrich Weigand

s390.h (TARGET_DEFAULT_BACKCHAIN): New define.

	* config/s390/s390.h (TARGET_DEFAULT_BACKCHAIN): New define.
	(TARGET_DEFAULT): Use symbolic values.
	* config/s390/tpf.h (TARGET_DEFAULT_BACKCHAIN): Redefine.
	(TARGET_DEFAULT): Use symbolic values.
	* config/s390/s390.c (s390_backchain_string): Initialize to
	TARGET_DEFAULT_BACKCHAIN.

From-SVN: r88763
parent 4d9ef6a9
2004-10-08 Ulrich Weigand <uweigand@de.ibm.com>
* config/s390/s390.h (TARGET_DEFAULT_BACKCHAIN): New define.
(TARGET_DEFAULT): Use symbolic values.
* config/s390/tpf.h (TARGET_DEFAULT_BACKCHAIN): Redefine.
(TARGET_DEFAULT): Use symbolic values.
* config/s390/s390.c (s390_backchain_string): Initialize to
TARGET_DEFAULT_BACKCHAIN.
2004-10-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* builtins.c (expand_builtin_mempcpy): Move tree handling code to
......
......@@ -195,9 +195,9 @@ enum processor_flags s390_arch_flags;
const char *s390_tune_string; /* for -mtune=<xxx> */
const char *s390_arch_string; /* for -march=<xxx> */
/* String to specify backchain mode. */
const char *s390_backchain_string = ""; /* "" no-backchain ,"1" backchain,
"2" kernel-backchain */
/* String to specify backchain mode:
"" no-backchain, "1" backchain, "2" kernel-backchain. */
const char *s390_backchain_string = TARGET_DEFAULT_BACKCHAIN;
const char *s390_warn_framesize_string;
const char *s390_warn_dynamicstack_string;
......
......@@ -126,11 +126,13 @@ extern int target_flags;
#define TARGET_IEEE_FLOAT 1
#ifdef DEFAULT_TARGET_64BIT
#define TARGET_DEFAULT 0x31
#define TARGET_DEFAULT (MASK_64BIT | MASK_ZARCH | MASK_HARD_FLOAT)
#else
#define TARGET_DEFAULT 0x1
#define TARGET_DEFAULT MASK_HARD_FLOAT
#endif
#define TARGET_DEFAULT_BACKCHAIN ""
#define TARGET_SWITCHES \
{ { "hard-float", 1, N_("Use hardware fp")}, \
{ "soft-float", -1, N_("Don't use hardware fp")}, \
......
......@@ -54,9 +54,13 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA
#undef STACK_POINTER_OFFSET
#define STACK_POINTER_OFFSET 448
/* When building for TPF, set a generic default target that is 64 bits. */
/* When building for TPF, set a generic default target that is 64 bits.
Also, enable TPF profiling support and the standard backchain by default. */
#undef TARGET_DEFAULT
#define TARGET_DEFAULT 0xb3
#define TARGET_DEFAULT (MASK_64BIT | MASK_ZARCH | MASK_HARD_FLOAT \
| MASK_TPF_PROFILING)
#undef TARGET_DEFAULT_BACKCHAIN
#define TARGET_DEFAULT_BACKCHAIN "1"
/* Exception handling. */
......
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