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
This commit is contained in:
Richard Sandiford 2007-04-13 13:48:08 +00:00 committed by Richard Sandiford
parent c33104d6c9
commit d1138d8e5e
3 changed files with 13 additions and 0 deletions

View 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.

View 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.

View 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