summaryrefslogtreecommitdiff
path: root/gcc/config/i386/vxworks.h
diff options
context:
space:
mode:
authorebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2016-03-13 20:35:48 +0000
committerebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4>2016-03-13 20:35:48 +0000
commitaece12c4682d0f559affe4bb524c3bbf22376861 (patch)
treed8960ec7c74a776cbe3ac82ea30f7e1c8f7762ae /gcc/config/i386/vxworks.h
parent16603d6b5b9073537c00b706b854f0a87101b991 (diff)
downloadgcc-aece12c4682d0f559affe4bb524c3bbf22376861.tar.gz
* config/arm/vxworks.h (STACK_CHECK_STATIC_BUILTIN): Define.
(STACK_CHECK_PROTECT): Likewise. * config/i386/vxworks.h (STACK_CHECK_STATIC_BUILTIN): Likewise (STACK_CHECK_PROTECT): Likewise. * config/rs6000/vxworks.h (STACK_CHECK_STATIC_BUILTIN): Likewise (STACK_CHECK_PROTECT): Likewise. * config/rs6000/vxworksae.h (STACK_CHECK_PROTECT): Likewise. * config/sparc/vxworks.h (STACK_CHECK_STATIC_BUILTIN): Likewise. (STACK_CHECK_PROTECT): Likewise. ada/ * system-vxworks-m68k.ads (Stack_Check_Probes): Set to True. (Stack_Check_Limits): Set to False. * system-vxworks-mips.ads (Stack_Check_Probes): Set to True. (Stack_Check_Limits): Set to False. * system-vxworks-ppc.ads (Stack_Check_Probes): Set to True. (Stack_Check_Limits): Set to False. * system-vxworks-sparcv9.ads (Stack_Check_Probes): Set to True. (Stack_Check_Limits): Set to False. * system-vxworks-x86.ads (Stack_Check_Probes): Set to True. (Stack_Check_Limits): Set to False. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@234171 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/vxworks.h')
-rw-r--r--gcc/config/i386/vxworks.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/i386/vxworks.h b/gcc/config/i386/vxworks.h
index b5960b1c658..d92510e19b5 100644
--- a/gcc/config/i386/vxworks.h
+++ b/gcc/config/i386/vxworks.h
@@ -88,3 +88,10 @@ along with GCC; see the file COPYING3. If not see
#undef ASM_PREFERRED_EH_DATA_FORMAT
#define IX86_MAYBE_NO_LIBGCC_TFMODE
+
+/* Define this to be nonzero if static stack checking is supported. */
+#define STACK_CHECK_STATIC_BUILTIN 1
+
+/* This platform supports the probing method of stack checking (RTP mode).
+ 8K is reserved in the stack to propagate exceptions in case of overflow. */
+#define STACK_CHECK_PROTECT 8192