Darwin, Simplify headers 2/5 : Move spec for STACK_CHECK_STATIC_BUILTIN.

We now need a modern (C++11) toolchain to bootstrap GCC, so there's no
need to skip the stack protect for Darwin < 9.

gcc/ChangeLog:

	* config/darwin9.h (STACK_CHECK_STATIC_BUILTIN): Move from here..
	* config/darwin.h (STACK_CHECK_STATIC_BUILTIN): .. to here.
This commit is contained in:
Iain Sandoe 2020-12-30 18:03:24 +00:00
parent 896607741f
commit ac6ecec4b3
2 changed files with 3 additions and 3 deletions

View file

@ -1080,6 +1080,9 @@ extern void darwin_driver_init (unsigned int *,struct cl_decoded_option **);
#undef SUPPORTS_INIT_PRIORITY #undef SUPPORTS_INIT_PRIORITY
#define SUPPORTS_INIT_PRIORITY 0 #define SUPPORTS_INIT_PRIORITY 0
#undef STACK_CHECK_STATIC_BUILTIN
#define STACK_CHECK_STATIC_BUILTIN 1
/* When building cross-compilers (and native crosses) we shall default to /* When building cross-compilers (and native crosses) we shall default to
providing an osx-version-min of this unless overridden by the User. providing an osx-version-min of this unless overridden by the User.
10.5 is the only version that fully supports all our archs so that's the 10.5 is the only version that fully supports all our archs so that's the

View file

@ -31,6 +31,3 @@ along with GCC; see the file COPYING3. If not see
#undef DEF_MIN_OSX_VERSION #undef DEF_MIN_OSX_VERSION
#define DEF_MIN_OSX_VERSION "10.5" #define DEF_MIN_OSX_VERSION "10.5"
#undef STACK_CHECK_STATIC_BUILTIN
#define STACK_CHECK_STATIC_BUILTIN 1