aboutsummaryrefslogtreecommitdiff
path: root/gcc/common/common-targhooks.c
diff options
context:
space:
mode:
authorTamar Christina <tamar.christina@arm.com>2018-10-01 13:03:31 +0000
committerTamar Christina <tnfchris@gcc.gnu.org>2018-10-01 13:03:31 +0000
commitfbe9af5042f7c09bc00c105ef1a30ac7149171e4 (patch)
treeff7274453dc6ffacd117f066e0a1eebb7e81e800 /gcc/common/common-targhooks.c
parent630b1e3a187dc843958e8966345da6191226b8e2 (diff)
downloadgcc-fbe9af5042f7c09bc00c105ef1a30ac7149171e4.zip
gcc-fbe9af5042f7c09bc00c105ef1a30ac7149171e4.tar.gz
gcc-fbe9af5042f7c09bc00c105ef1a30ac7149171e4.tar.bz2
Set default values for stack-clash and do basic validation in back-end.
This patch enforces that the default guard size for stack-clash protection for AArch64 be 64KB unless the user has overriden it via configure in which case the user value is used as long as that value is within the valid range. It also does some basic validation to ensure that the guard size is only 4KB or 64KB and also enforces that for aarch64 the stack-clash probing interval is equal to the guard size. gcc/ PR target/86486 * config/aarch64/aarch64.c (aarch64_override_options_internal): Add validation for stack-clash parameters and set defaults. From-SVN: r264753
Diffstat (limited to 'gcc/common/common-targhooks.c')
0 files changed, 0 insertions, 0 deletions