powerpc: Initial stack protector (-fstack-protector) support

Partialy copied from commit c743f38013 ("ARM: initial stack protector
(-fstack-protector) support")

This is the very basic stuff without the changing canary upon
task switch yet.  Just the Kconfig option and a constant canary
value initialized at boot time.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
Christophe Leroy 2016-11-22 11:49:30 +01:00 • committed by Michael Ellerman
commit 6533b7c16e
4 changed files with 51 additions and 0 deletions