aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/rtems.h
diff options
context:
space:
mode:
authorEric Christopher <echristo@gcc.gnu.org>2002-06-11 07:26:38 +0000
committerEric Christopher <echristo@gcc.gnu.org>2002-06-11 07:26:38 +0000
commitce3649d27ace666b7be74481a0ec6f612cbb779a (patch)
tree2ea040c9b17cac66a710dc8a6cb3d1dc506ef59c /gcc/config/mips/rtems.h
parentf5f35f6a37d247c35f83662537b4a495af7248d8 (diff)
downloadgcc-ce3649d27ace666b7be74481a0ec6f612cbb779a.zip
gcc-ce3649d27ace666b7be74481a0ec6f612cbb779a.tar.gz
gcc-ce3649d27ace666b7be74481a0ec6f612cbb779a.tar.bz2
tm.texi (Run-time Target): Add comment about flag_iso and strict ANSI.
2002-06-11 Eric Christopher <echristo@redhat.com> * doc/tm.texi (Run-time Target): Add comment about flag_iso and strict ANSI. * config/mips/ecoff.h (CPP_PREDEFINES): Remove. * config/mips/ecoffl.h: Ditto. * config/mips/elf64.h (SUBTARGET_CPP_SPEC): Remove. (CPP_PREDEFINES): Ditto. * config/mips/elfl64.h: Ditto. * config/mips/elfl.h: Ditto. * config/mips/iris3.h (CPP_PREDEFINES, SUBTARGET_CPP_SPEC): #if 0 out until irix header consolidation. * config/mips/iris5.h (CPP_PREDEFINES, SUBTARGET_CPP_SPEC): Replace with SUBTARGET_OS_CPP_BUILTINS. * config/mips/iris6.h: Ditto. (CPLUSPLUS_CPP_SPEC): Remove. * config/mips/linux.h: Ditto. * config/mips/netbsd.h: Ditto. * config/mips/openbsd.h: Ditto. * config/mips/rtems.h: Ditto. * config/mips/rtems64.h: Ditto. * config/mips/sni-svr4.h: Ditto. * config/mips/mips.h (ISA_MIPS1, ISA_MIPS2, ISA_MIPS3, ISA_MIPS4, ISA_MIPS32, ISA_MIPS64): New defines. (GENERATE_MULT3_SI, HAVE_SQRT_P, ISA_HAS_64BIT_REGS, ISA_HAS_BRANCHLIKELY, ISA_HAS_CONDMOVE, ISA_HAS_8CC, ISA_HAS_FP4, ISA_HAS_COND_TRAP, ISA_HAS_MADD_MSUB, ISA_HAS_NMADD_NMSUB, ISA_HAS_CLZ_CLO, ISA_HAS_DCLZ_DCLO): Use. (TARGET_CPU_CPP_BUILTINS): Define. (CPP_PREDEFINES, LONG_MAX_SPEC, CPP_FPR_SPEC, CPP_SPEC): Remove. * config/mips/mips.md (mulsi3_mult3): Use ISA_MIPS32/64. (movdicc): Remove check for ISA_MIPS32. (bunordered, bordered, bungt, bunlt, buneq, bunge, bunle, sunordered_df, sunordered_sf, sordered_df, sordered_sf, sunlt_df, sunlt_sf, sungt_df, sungt_sf, suneq_df, suneq_sf, sunge_df, sunge_sf, sunle_df, sunle_sf): New patterns. From-SVN: r54493
Diffstat (limited to 'gcc/config/mips/rtems.h')
-rw-r--r--gcc/config/mips/rtems.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/gcc/config/mips/rtems.h b/gcc/config/mips/rtems.h
index 35674e2..ae27293 100644
--- a/gcc/config/mips/rtems.h
+++ b/gcc/config/mips/rtems.h
@@ -21,6 +21,8 @@ Boston, MA 02111-1307, USA. */
/* Specify predefined symbols in preprocessor. */
-#undef CPP_PREDEFINES
-#define CPP_PREDEFINES "-Dmips -DMIPSEB -D_mips -D_MIPSEB \
- -D__rtems__ -Asystem=rtems"
+#define TARGET_OS_CPP_BUILTINS() \
+do { \
+ builtin_define ("__rtems__"); \
+ builtin_assert ("system=rtems"); \
+} while (0)