Tejas Belagod via Gcc-patches <gcc-patches@gcc.gnu.org> writes: > Hi, > > This patch is part of the series of PACBTI-M patches posted earlier > https://gcc.gnu.org/pipermail/gcc-patches/2021-October/582773.html > > This change adds the target function attribute 'branch-protection'. The > options that it can take are the same the command-line option > 'mbranch-protection'. The function attribute options override the command- > line options for the function scope. > > Regression tested for arm-none-eabi. OK for trunk? > > 2021-11-11 Tejas Belagod <tbela...@arm.com> > > gcc/ChangeLog: > * config/arm/arm.c (arm_valid_target_attribute_rec): Add ARM function > attribute 'branch-protection' and parse its options. > * doc/extend.texi: Document ARM Function attribute 'branch-protection'. > > gcc/testsuite/ > * gcc.target/arm/acle/pacbti-m-predef-7.c: New test. > > Thanks, > Tejas.
[...] Ping Andrea