Mercurial > hg > CbC > CbC_gcc
diff gcc/config/sparc/vxworks.h @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | f6334be47118 |
children | 84e7813d76e9 |
line wrap: on
line diff
--- a/gcc/config/sparc/vxworks.h Sun Aug 21 07:07:55 2011 +0900 +++ b/gcc/config/sparc/vxworks.h Fri Oct 27 22:46:09 2017 +0900 @@ -1,6 +1,6 @@ /* Definitions of target machine for GNU compiler, for SPARC targeting the VxWorks run time environment. - Copyright (C) 2007, 2010, 2011 Free Software Foundation, Inc. + Copyright (C) 2007-2017 Free Software Foundation, Inc. This file is part of GCC. @@ -34,7 +34,7 @@ #define CPP_SUBTARGET_SPEC VXWORKS_ADDITIONAL_CPP_SPEC #undef ASM_SPEC -#define ASM_SPEC "%{fpic|fPIC|fpie|fPIE:-K PIC} %(asm_cpu)" +#define ASM_SPEC "%{" FPIE_OR_FPIC_SPEC ":-K PIC} %(asm_cpu)" #undef LIB_SPEC #define LIB_SPEC VXWORKS_LIB_SPEC @@ -45,9 +45,6 @@ #undef ENDFILE_SPEC #define ENDFILE_SPEC VXWORKS_ENDFILE_SPEC -#undef TARGET_VERSION -#define TARGET_VERSION fputs (" (SPARC/VxWorks)", stderr); - #undef FUNCTION_PROFILER #define FUNCTION_PROFILER VXWORKS_FUNCTION_PROFILER @@ -58,3 +55,10 @@ /* We cannot use PC-relative accesses for VxWorks PIC because there is no fixed gap between segments. */ #undef ASM_PREFERRED_EH_DATA_FORMAT + +/* 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