diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2017-01-20 02:22:27 +0100 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2017-01-20 02:22:27 +0100 |
commit | 01334be4a08330081eb74181faec5fbb4c30bcda (patch) | |
tree | f98a91b994292cfbac91ec3a5421a13088238def /gcc/ChangeLog | |
parent | d821744c630acda55c7a5ff59e6cfd184132be74 (diff) | |
download | gcc-01334be4a08330081eb74181faec5fbb4c30bcda.zip gcc-01334be4a08330081eb74181faec5fbb4c30bcda.tar.gz gcc-01334be4a08330081eb74181faec5fbb4c30bcda.tar.bz2 |
rs6000: Fix the new SSP guard configuration code (PR79140)
I foolishly tested this with r241087 reverted. After that revision
default_stack_protect_guard is no longer called if the compiler defaults
to using the TLS guard, which of course is the wrong thing to do if
there is some other way to enable the global guard.
This fixes it.
PR target/78875
PR target/79140
* config/rs6000/rs6000.c (TARGET_STACK_PROTECT_GUARD): Unconditionally
define to rs6000_init_stack_protect_guard.
(rs6000_init_stack_protect_guard): New function.
From-SVN: r244677
Diffstat (limited to 'gcc/ChangeLog')
-rw-r--r-- | gcc/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index c52f024..4706086 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2017-01-19 Segher Boessenkool <segher@kernel.crashing.org> + + PR target/78875 + PR target/79140 + * config/rs6000/rs6000.c (TARGET_STACK_PROTECT_GUARD): Unconditionally + define to rs6000_init_stack_protect_guard. + (rs6000_init_stack_protect_guard): New function. + 2017-01-19 Matthew Fortune <matthew.fortune@imgtec.com> Yunqiang Su <yunqiang.su@imgtec.com> |