(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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88763
138bc75d-0d04-0410-961f-
82ee72b054a4
+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
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;
#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")}, \
#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. */