* config/mips/vxworks.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
* config/mips/mips.c (override_options): Call
SUBTARGET_OVERRIDE_OPTIONS, if defined.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123788
138bc75d-0d04-0410-961f-
82ee72b054a4
+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.
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.
#undef SUBTARGET_ASM_SPEC
#define SUBTARGET_ASM_SPEC "%{mrtp:%{fPIC|fpic:-mvxworks-pic}}"
+
+#undef SUBTARGET_OVERRIDE_OPTIONS
+#define SUBTARGET_OVERRIDE_OPTIONS VXWORKS_OVERRIDE_OPTIONS