summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/vxworksmils.h
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2014-09-19 08:11:55 +0000
committerOlivier Hainque <hainque@gcc.gnu.org>2014-09-19 08:11:55 +0000
commit3a8fe7c66071360f038334bca1bf9fd06d93ea03 (patch)
tree6eb129555ae6869f99f7f03854fea58754c1b9dc /gcc/config/rs6000/vxworksmils.h
parentc3b4b410ae57324d31039b75f0f4ab7657e58161 (diff)
downloadgcc-3a8fe7c66071360f038334bca1bf9fd06d93ea03.tar.gz
config.gcc (powerpc-wrs-vxworksmils): New configuration.
2014-09-18 Olivier Hainque <hainque@adacore.com> gcc/ * config.gcc (powerpc-wrs-vxworksmils): New configuration. * config/rs6000/t-vxworksmils: New file. * config/rs6000/vxworksmils.h: New file. libgcc/ * config.host (powerpc-wrs-vxworksmils): New configuration, same as vxworksae. contrib/ * config-list.mk (LIST): Add powerpc-wrs-vxworksmils. From-SVN: r215377
Diffstat (limited to 'gcc/config/rs6000/vxworksmils.h')
-rw-r--r--gcc/config/rs6000/vxworksmils.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/gcc/config/rs6000/vxworksmils.h b/gcc/config/rs6000/vxworksmils.h
new file mode 100644
index 00000000000..d1cd8d7ef70
--- /dev/null
+++ b/gcc/config/rs6000/vxworksmils.h
@@ -0,0 +1,29 @@
+/* PowerPC VxWorks MILS target definitions for GNU compiler. Overrides
+ on top of the canonical VxWorks definitions.
+
+ Copyright (C) 2014 Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC 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 3, or (at your option) any later
+version.
+
+GCC 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 GCC; see the file COPYING3. If not see
+<http://www.gnu.org/licenses/>. */
+
+/* This platform supports the probing method of stack checking and
+ requires 4K of space for executing a possible last chance handler. */
+#undef STACK_CHECK_PROTECT
+#define STACK_CHECK_PROTECT 4096
+
+/* VxWorksMILS for E500V2 expects a specific CPU value to designate 8548. */
+#undef VXCPU_FOR_8548
+#define VXCPU_FOR_8548 "PPC85XX"