aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/mips/rtems.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel@OARcorp.com>2000-12-07 02:42:02 +0000
committerJeff Law <law@gcc.gnu.org>2000-12-06 19:42:02 -0700
commitbc98ef7f6c0cb3ee14b28c3ca7655261138fe0a1 (patch)
treec47b465e075e5f52610c560762ac2bc684e2adbe /gcc/config/mips/rtems.h
parent5eeab2e3fdc1ed8b98c3c0e9aced14e622f8534f (diff)
downloadgcc-bc98ef7f6c0cb3ee14b28c3ca7655261138fe0a1.zip
gcc-bc98ef7f6c0cb3ee14b28c3ca7655261138fe0a1.tar.gz
gcc-bc98ef7f6c0cb3ee14b28c3ca7655261138fe0a1.tar.bz2
config.gcc (a29k*-*-rtems*, [...]): New targets.
* config.gcc (a29k*-*-rtems*, arm*-*-rtems*, c4x-*-rtems*, h8300-*-rtems*, hppa1.1-*-rtems, *mips*-*-rtems*): New targets. * config.gcc (*-rtems*): Add support for gthr-rtems.h. * gthr-rtems.h, config/a29k/rtems.h, config/arm/rtems-elf.h, config/h8300/rtems.h, config/mips/rtems.h: New files. From-SVN: r38094
Diffstat (limited to 'gcc/config/mips/rtems.h')
-rw-r--r--gcc/config/mips/rtems.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/gcc/config/mips/rtems.h b/gcc/config/mips/rtems.h
new file mode 100644
index 0000000..23463d7
--- /dev/null
+++ b/gcc/config/mips/rtems.h
@@ -0,0 +1,34 @@
+/* Definitions for rtems targeting a MIPS using ELF.
+ Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ Contributed by Joel Sherrill (joel@OARcorp.com).
+
+This file is part of GNU CC.
+
+GNU CC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2, or (at your option)
+any later version.
+
+GNU CC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GNU CC; see the file COPYING. If not, write to
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA. */
+
+/* Specify predefined symbols in preprocessor. */
+
+#undef CPP_PREDEFINES
+#define CPP_PREDEFINES "-Dmips -DMIPSEB -D_mips -D_MIPSEB \
+ -Drtems -D__rtems__ -Asystem(rtems)"
+
+/* Generate calls to memcpy, memcmp and memset. */
+#ifndef TARGET_MEM_FUNCTIONS
+#define TARGET_MEM_FUNCTIONS
+#endif
+
+/* Get machine-independent configuration parameters for RTEMS. */
+#include <rtems.h>