summaryrefslogtreecommitdiff
path: root/gcc/config/mips
diff options
context:
space:
mode:
authorJoel Sherrill <joel@OARcorp.com>1997-09-01 14:14:30 +0000
committerJeff Law <law@gcc.gnu.org>1997-09-01 08:14:30 -0600
commit5d84b57e6fbd46af2fb2180114eba35c2ea01aab (patch)
tree5670358070f1da006cef914f40babdd68c070799 /gcc/config/mips
parent2599dcc74ab14923fef52293afad9f5fe2d30e9c (diff)
downloadgcc-5d84b57e6fbd46af2fb2180114eba35c2ea01aab.tar.gz
go32-rtems.h, [...] (subtarget_switches): Added -mrtems as a switch.
* i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sparc/rtems.h (subtarget_switches): Added -mrtems as a switch. * i960/i960.h: Added SUBTARGET_SWITCHES macro. * rs6000/sysv4.h (extra_subtarget_switches): Added new macro EXTRA_SUBTARGET_SWITCHES. * configure.in (sh*-*-rtems*): New target. * sh/rtems.h: New file. * sh/sh.h: Added SUBTARGET_SWITCHES macro. * configure: Rebuilt. From-SVN: r15006
Diffstat (limited to 'gcc/config/mips')
-rw-r--r--gcc/config/mips/rtems64.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/config/mips/rtems64.h b/gcc/config/mips/rtems64.h
index d4d8ac0ab3f..a9547c860bf 100644
--- a/gcc/config/mips/rtems64.h
+++ b/gcc/config/mips/rtems64.h
@@ -28,4 +28,8 @@ Boston, MA 02111-1307, USA. */
#define CPP_PREDEFINES "-Dmips -DMIPSEB -DR4000 -D_mips -D_MIPSEB -D_R4000 \
-Drtems -D__rtems__ -Asystem(rtems)"
-/* end of rtems64.h */
+#undef SUBTARGET_SWITCHES
+#define SUBTARGET_SWITCHES \
+ { "rtems", 0 },
+
+/* end of mips/rtems64.h */