https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86486

--- Comment #6 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
Author: tnfchris
Date: Mon Oct  1 13:03:31 2018
New Revision: 264753

URL: https://gcc.gnu.org/viewcvs?rev=264753&root=gcc&view=rev
Log:
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.


Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/aarch64/aarch64.c

Reply via email to