OSDN Git Service

(TARGET_SWITCHES): Add SUBTARGET_SWITCHES.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Jul 1993 21:18:45 +0000 (21:18 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 21 Jul 1993 21:18:45 +0000 (21:18 +0000)
(OVERRIDE_OPTIONS): Add SUBTARGET_OVERRIDE_OPTIONS.
(SUBTARGET_SWITCHES, SUBTARGET_OVERRIDE_OPTIONS): Define.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@4954 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/config/m68k/m68k.h
gcc/config/sparc/sparc.h

index 7a24ae3..3650d3b 100644 (file)
@@ -121,9 +121,13 @@ extern int target_flags;
     { "68030", -01400},                                \
     { "68030", 5},                             \
     { "68040", 01007},                         \
+    SUBTARGET_SWITCHES                         \
     { "", TARGET_DEFAULT}}
 /* TARGET_DEFAULT is defined in sun*.h and isi.h, etc.  */
 
+/* This is meant to be redefined in the host dependent files */
+#define SUBTARGET_SWITCHES
+
 #ifdef SUPPORT_SUN_FPA
 /* Blow away 68881 flag silently on TARGET_FPA (since we can't clear
    any bits in TARGET_SWITCHES above) */
@@ -132,14 +136,19 @@ extern int target_flags;
   if (TARGET_FPA) target_flags &= ~2;  \
   if (! TARGET_68020 && flag_pic == 2) \
     error("-fPIC is not currently supported on the 68000 or 68010\n"); \
+  SUBTARGET_OVERRIDE_OPTIONS           \
 }
 #else
 #define OVERRIDE_OPTIONS               \
 {                                      \
   if (! TARGET_68020 && flag_pic == 2) \
     error("-fPIC is not currently supported on the 68000 or 68010\n"); \
+  SUBTARGET_OVERRIDE_OPTIONS           \
 }
 #endif /* defined SUPPORT_SUN_FPA */
+
+/* This is meant to be redefined in the host dependent files */
+#define SUBTARGET_OVERRIDE_OPTIONS
 \f
 /* target machine storage layout */
 
index eb90e07..0e0f83f 100644 (file)
@@ -63,8 +63,14 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
    the frame pointer (because the return address will get smashed).  */
 
 #define OVERRIDE_OPTIONS \
-  do { if (profile_flag || profile_block_flag) \
-        flag_omit_frame_pointer = 0, flag_pic = 0; } while (0)
+{                                              \
+  if (profile_flag || profile_block_flag)      \
+    flag_omit_frame_pointer = 0, flag_pic = 0; \
+  SUBTARGET_OVERRIDE_OPTIONS                   \
+  }
+
+/* This is meant to be redefined in the host dependent files */
+#define SUBTARGET_OVERRIDE_OPTIONS
 
 /* These compiler options take an argument.  We ignore -target for now.  */
 
@@ -152,9 +158,13 @@ extern int target_flags;
 /*  {"no-frw", -256}, */       \
 /*  {"frw-compat", 256+512}, */        \
 /*  {"no-frw-compat", -(256+512)}, */ \
+    SUBTARGET_SWITCHES         \
     { "", TARGET_DEFAULT}}
 
 #define TARGET_DEFAULT 3
+
+/* This is meant to be redefined in the host dependent files */
+#define SUBTARGET_SWITCHES
 \f
 /* target machine storage layout */