vxworks.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
authorRichard Sandiford <richard@codesourcery.com>
Fri, 13 Apr 2007 13:48:08 +0000 (13:48 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Fri, 13 Apr 2007 13:48:08 +0000 (13:48 +0000)
gcc/
* config/mips/vxworks.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
* config/mips/mips.c (override_options): Call
SUBTARGET_OVERRIDE_OPTIONS, if defined.

From-SVN: r123788

gcc/ChangeLog
gcc/config/mips/mips.c
gcc/config/mips/vxworks.h

index 61170da..60be464 100644 (file)
@@ -1,3 +1,9 @@
+2007-04-13  Richard Sandiford  <richard@codesourcery.com>
+
+       * config/mips/vxworks.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
+       * config/mips/mips.c (override_options): Call
+       SUBTARGET_OVERRIDE_OPTIONS, if defined.
+
 2007-04-13  H.J. Lu  <hongjiu.lu@intel.com>
 
        * config/i386/i386.opt (msvr3-shlib): Removed.
index b672109..880934b 100644 (file)
@@ -4719,6 +4719,10 @@ override_options (void)
   int i, start, regno;
   enum machine_mode mode;
 
+#ifdef SUBTARGET_OVERRIDE_OPTIONS
+  SUBTARGET_OVERRIDE_OPTIONS;
+#endif
+
   mips_section_threshold = g_switch_set ? g_switch_value : MIPS_DEFAULT_GVALUE;
 
   /* The following code determines the architecture and register size.
index 5b6b026..c72c105 100644 (file)
@@ -89,3 +89,6 @@ VXWORKS_LINK_SPEC
 
 #undef SUBTARGET_ASM_SPEC
 #define SUBTARGET_ASM_SPEC "%{mrtp:%{fPIC|fpic:-mvxworks-pic}}"
+
+#undef SUBTARGET_OVERRIDE_OPTIONS
+#define SUBTARGET_OVERRIDE_OPTIONS VXWORKS_OVERRIDE_OPTIONS