(TARGET_SWITCHES): Allow subtargets to default switches.
* rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31025
138bc75d-0d04-0410-961f-
82ee72b054a4
+Sun Dec 19 07:50:42 1999 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+
+ * rs6000.h (SUBTARGET_DEFAULT): New macro.
+ (TARGET_SWITCHES): Allow subtargets to default switches.
+ * rs6000/vxppc.h (SUBTARGET_DEFAULT): New macro.
+
1999-12-18 Mark Mitchell <mark@codesourcery.com>
* crtstuff.c (__do_global_ctors_aux): Do not call __cxa_finalize
/* Definitions of target machine for GNU compiler, for IBM RS/6000.
- Copyright (C) 1992, 93-8, 1999 Free Software Foundation, Inc.
+ Copyright (C) 1992, 93-98, 1999 Free Software Foundation, Inc.
Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
This file is part of GNU CC.
{"fused-madd", - MASK_NO_FUSED_MADD}, \
{"no-fused-madd", MASK_NO_FUSED_MADD}, \
SUBTARGET_SWITCHES \
- {"", TARGET_DEFAULT}}
+ {"", TARGET_DEFAULT | SUBTARGET_DEFAULT}}
#define TARGET_DEFAULT (MASK_POWER | MASK_MULTIPLE | MASK_STRING)
+#define SUBTARGET_DEFAULT 0
/* Processor type. Order must match cpu attribute in MD file. */
enum processor_type
/* Definitions of target machine for GNU compiler. Vxworks PowerPC version.
- Copyright (C) 1996 Free Software Foundation, Inc.
+ Copyright (C) 1996, 1999 Free Software Foundation, Inc.
This file is part of GNU CC.
the Free Software Foundation, 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
-/* This file just exists to give specs for the PowerPC running on VxWorks. */
+/* This file primarily exists to give specs for the PowerPC running on
+ VxWorks. */
#include "rs6000/sysv4.h"
/* We use stabs-in-elf for debugging */
#undef PREFERRED_DEBUGGING_TYPE
#define PREFERRED_DEBUGGING_TYPE DBX_DEBUG
+
+/* VxWorks normally doesn't have an unaligned handler, so make -mstrict-align
+ the default. */
+#undef SUBTARGET_DEFAULT
+#define SUBTARGET_DEFAULT MASK_STRICT_ALIGN