diff options
author | Richard Earnshaw <rearnsha@arm.com> | 2021-06-11 16:02:05 +0100 |
---|---|---|
committer | Richard Earnshaw <rearnsha@arm.com> | 2021-08-24 11:45:13 +0100 |
commit | 3929bca9ca95de9d35e82ae8828b188029e3eb70 (patch) | |
tree | fdf227f6857a911811b0f916b0429794e6006d7e /libgcc | |
parent | 79fb2700bdbab4212346d907be6063c5a32d3836 (diff) | |
download | gcc-3929bca9ca95de9d35e82ae8828b188029e3eb70.tar.gz |
arm: Add command-line option for enabling CVE-2021-35465 mitigation [PR102035]
Add a new option, -mfix-cmse-cve-2021-35465 and document it. Enable it
automatically for cortex-m33, cortex-m35p and cortex-m55.
gcc:
PR target/102035
* config/arm/arm.opt (mfix-cmse-cve-2021-35465): New option.
* doc/invoke.texi (Arm Options): Document it.
* config/arm/arm-cpus.in (quirk_vlldm): New feature bit.
(ALL_QUIRKS): Add quirk_vlldm.
(cortex-m33): Add quirk_vlldm.
(cortex-m35p, cortex-m55): Likewise.
* config/arm/arm.c (arm_option_override): Enable fix_vlldm if
targetting an affected CPU and not explicitly controlled on
the command line.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions