diff options
author | Iain Sandoe <iain@sandoe.co.uk> | 2020-12-30 18:03:24 +0000 |
---|---|---|
committer | Iain Sandoe <iain@sandoe.co.uk> | 2021-01-02 19:56:19 +0000 |
commit | ac6ecec4b328daf0583a125d647f9a5836fa0023 (patch) | |
tree | 2da72defa30ca0f3ec18134339ee541afebd0794 | |
parent | 896607741f1ea98fc8a35e58e76d67248f6e6211 (diff) | |
download | gcc-ac6ecec4b328daf0583a125d647f9a5836fa0023.zip gcc-ac6ecec4b328daf0583a125d647f9a5836fa0023.tar.gz gcc-ac6ecec4b328daf0583a125d647f9a5836fa0023.tar.bz2 |
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.
-rw-r--r-- | gcc/config/darwin.h | 3 | ||||
-rw-r--r-- | gcc/config/darwin9.h | 3 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/darwin.h b/gcc/config/darwin.h index 524a9c9..0eabd3f 100644 --- a/gcc/config/darwin.h +++ b/gcc/config/darwin.h @@ -1080,6 +1080,9 @@ extern void darwin_driver_init (unsigned int *,struct cl_decoded_option **); #undef SUPPORTS_INIT_PRIORITY #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 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 diff --git a/gcc/config/darwin9.h b/gcc/config/darwin9.h index 6576d38..125a35e 100644 --- a/gcc/config/darwin9.h +++ b/gcc/config/darwin9.h @@ -31,6 +31,3 @@ along with GCC; see the file COPYING3. If not see #undef DEF_MIN_OSX_VERSION #define DEF_MIN_OSX_VERSION "10.5" - -#undef STACK_CHECK_STATIC_BUILTIN -#define STACK_CHECK_STATIC_BUILTIN 1 |