diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-12-20 13:16:21 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2017-12-20 22:15:36 -0600 |
commit | c7f2fab5c7854b11da909e79dd6c835d6ab91754 (patch) | |
tree | 5c16bd1935d557c71a0c68dd0fb6c2ebccb8b845 /core/utils.c | |
parent | f23d6c626bd657e967347bda872242427b0d9221 (diff) | |
download | blackbird-skiboot-c7f2fab5c7854b11da909e79dd6c835d6ab91754.tar.gz blackbird-skiboot-c7f2fab5c7854b11da909e79dd6c835d6ab91754.zip |
Add support for new gcc 7 parametrized stack protector
This gives us per-cpu guard values as well. For now I just
xor a magic constant with the CPU PIR value.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'core/utils.c')
-rw-r--r-- | core/utils.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/core/utils.c b/core/utils.c index d21881ef..9e2cb37c 100644 --- a/core/utils.c +++ b/core/utils.c @@ -22,9 +22,6 @@ #include <cpu.h> #include <stack.h> -extern unsigned long __stack_chk_guard; -unsigned long __stack_chk_guard = 0xdeadf00dbaad300dULL; - void __noreturn assert_fail(const char *msg) { /** |