aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/include/asm/stackprotector.h
AgeCommit message (Collapse)AuthorFilesLines
2012-04-19sh: initial stack protector support.Filippo Arcidiacono1-0/+27
This implements basic -fstack-protector support, based on the early ARM version in c743f38013aeff58ef6252601e397b5ba281c633. The SMP case is limited to the initial canary value, while the UP case handles per-task granularity (limited to 32-bit sh until a new enough sh64 compiler manifests itself). Signed-off-by: Filippo Arcidiacono <[email protected]> Reviewed-by: Carmelo Amoroso <[email protected]> Signed-off-by: Stuart Menefy <[email protected]> Signed-off-by: Paul Mundt <[email protected]>