aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/constexpr.c
diff options
context:
space:
mode:
authorCooper Qu <cooper.qu@linux.alibaba.com>2020-07-13 16:15:08 +0800
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 13:20:17 -0300
commitcd06fe62d67fe2758bdbc47b6ce41abec10c27ba (patch)
tree3a11cfb5b7b4234614d5b4f14b894f69d2ded65e /gcc/cp/constexpr.c
parent5a467bb74a261df22772e60d9ab2ea22439d6d27 (diff)
downloadgcc-cd06fe62d67fe2758bdbc47b6ce41abec10c27ba.zip
gcc-cd06fe62d67fe2758bdbc47b6ce41abec10c27ba.tar.gz
gcc-cd06fe62d67fe2758bdbc47b6ce41abec10c27ba.tar.bz2
RISC-V: Add support for TLS stack protector canary access
gcc/ * config/riscv/riscv-opts.h (stack_protector_guard): New enum. * config/riscv/riscv.c (riscv_option_override): Handle the new options. * config/riscv/riscv.md (stack_protect_set): New pattern to handle flexible stack protector guard settings. (stack_protect_set_<mode>): Ditto. (stack_protect_test): Ditto. (stack_protect_test_<mode>): Ditto. * config/riscv/riscv.opt (mstack-protector-guard=, mstack-protector-guard-reg=, mstack-protector-guard-offset=): New options. * doc/invoke.texi (Option Summary) [RISC-V Options]: Add -mstack-protector-guard=, -mstack-protector-guard-reg=, and -mstack-protector-guard-offset=. (RISC-V Options): Ditto. Signed-off-by: cooper <cooper.qu@linux.alibaba.com> Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Diffstat (limited to 'gcc/cp/constexpr.c')
0 files changed, 0 insertions, 0 deletions