summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-13 13:48:08 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-13 13:48:08 +0000
commite7fb49537dc304b4b2df8550cd57fc16bacde6df (patch)
tree0f5fd2588c0473e242e1503665f487633e64ca02 /gcc
parentba47d2677dd84863318c2f267444f3714e7bb522 (diff)
downloadgcc-e7fb49537dc304b4b2df8550cd57fc16bacde6df.tar.gz
gcc/
* 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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/mips/mips.c4
-rw-r--r--gcc/config/mips/vxworks.h3
3 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 61170da2733..60be46405c3 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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.
diff --git a/gcc/config/mips/mips.c b/gcc/config/mips/mips.c
index b67210934ae..880934b949d 100644
--- a/gcc/config/mips/mips.c
+++ b/gcc/config/mips/mips.c
@@ -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.
diff --git a/gcc/config/mips/vxworks.h b/gcc/config/mips/vxworks.h
index 5b6b026e9c4..c72c105db9e 100644
--- a/gcc/config/mips/vxworks.h
+++ b/gcc/config/mips/vxworks.h
@@ -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