Commit d1138d8e by Richard Sandiford Committed by Richard Sandiford

vxworks.h (SUBTARGET_OVERRIDE_OPTIONS): Define.

gcc/
	* config/mips/vxworks.h (SUBTARGET_OVERRIDE_OPTIONS): Define.
	* config/mips/mips.c (override_options): Call
	SUBTARGET_OVERRIDE_OPTIONS, if defined.

From-SVN: r123788
parent c33104d6
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> 2007-04-13 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/i386.opt (msvr3-shlib): Removed. * config/i386/i386.opt (msvr3-shlib): Removed.
......
...@@ -4719,6 +4719,10 @@ override_options (void) ...@@ -4719,6 +4719,10 @@ override_options (void)
int i, start, regno; int i, start, regno;
enum machine_mode mode; enum machine_mode mode;
#ifdef SUBTARGET_OVERRIDE_OPTIONS
SUBTARGET_OVERRIDE_OPTIONS;
#endif
mips_section_threshold = g_switch_set ? g_switch_value : MIPS_DEFAULT_GVALUE; mips_section_threshold = g_switch_set ? g_switch_value : MIPS_DEFAULT_GVALUE;
/* The following code determines the architecture and register size. /* The following code determines the architecture and register size.
......
...@@ -89,3 +89,6 @@ VXWORKS_LINK_SPEC ...@@ -89,3 +89,6 @@ VXWORKS_LINK_SPEC
#undef SUBTARGET_ASM_SPEC #undef SUBTARGET_ASM_SPEC
#define SUBTARGET_ASM_SPEC "%{mrtp:%{fPIC|fpic:-mvxworks-pic}}" #define SUBTARGET_ASM_SPEC "%{mrtp:%{fPIC|fpic:-mvxworks-pic}}"
#undef SUBTARGET_OVERRIDE_OPTIONS
#define SUBTARGET_OVERRIDE_OPTIONS VXWORKS_OVERRIDE_OPTIONS
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment