mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 22:41:28 +08:00
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:
parent
c33104d6c9
commit
d1138d8e5e
@ -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.
|
||||
|
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user