[PATCH, GCC/ARM, 10/10] Enable -mcmse
commit4747e2ccec94dc37f32201b884f574755cbb9ca8
authorMihail Ionescu <mihail.ionescu@arm.com>
Wed, 15 Jan 2020 11:49:32 +0000 (15 11:49 +0000)
committerMihail Ionescu <mihail.ionescu@arm.com>
Thu, 16 Jan 2020 15:12:14 +0000 (16 15:12 +0000)
treed4d29a4e28115c58ab3dc5feb391baf752b5fb88
parenta464ffc2156a746d472fc2923d38324bdd06965e
[PATCH, GCC/ARM, 10/10] Enable -mcmse

The patch is straightforward: it redefines ARMv8_1m_main as having the
same features as ARMv8m_main (and thus as having the cmse feature) with
the extra features represented by armv8_1m_main.  It also removes the
error for using -mcmse on Armv8.1-M Mainline.

*** gcc/ChangeLog ***

2020-01-16  Mihail-Calin Ionescu  <mihail.ionescu@arm.com>
2020-01-16  Thomas Preud'homme  <thomas.preudhomme@arm.com>

* config/arm/arm-cpus.in (ARMv8_1m_main): Redefine as an extension to
Armv8-M Mainline.
* config/arm/arm.c (arm_options_perform_arch_sanity_checks): Remove
error for using -mcmse when targeting Armv8.1-M Mainline.
gcc/ChangeLog
gcc/config/arm/arm-cpus.in
gcc/config/arm/arm.c