diff options
author | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2016-03-13 20:35:48 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2016-03-13 20:35:48 +0000 |
commit | 3488bd6bb381dec90a0e8df2d3c9a6305a984d72 (patch) | |
tree | d8960ec7c74a776cbe3ac82ea30f7e1c8f7762ae /gcc/config/i386/vxworks.h | |
parent | be9f71435f623fcab876db2fc7bc337651b005e0 (diff) | |
download | gcc-3488bd6bb381dec90a0e8df2d3c9a6305a984d72.zip gcc-3488bd6bb381dec90a0e8df2d3c9a6305a984d72.tar.gz gcc-3488bd6bb381dec90a0e8df2d3c9a6305a984d72.tar.bz2 |
vxworks.h (STACK_CHECK_STATIC_BUILTIN): Define.
* 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.
From-SVN: r234171
Diffstat (limited to 'gcc/config/i386/vxworks.h')
-rw-r--r-- | gcc/config/i386/vxworks.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/i386/vxworks.h b/gcc/config/i386/vxworks.h index b5960b1..d92510e 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 |