Andrea Corallo via Gcc-patches <gcc-patches@gcc.gnu.org> writes: > Hi all, > > this patch is part of a series that enables Armv8.1-M in GCC and adds > Branch Target Identification Mechanism [1]. > > This patch moves and generalize the Aarch64 "bti" pass so it can be > used also by the Arm backend. > > The pass iterates through the instructions and adds the necessary BTI > instructions at the beginning of every function and at every landing > pads targeted by indirect jumps. > > Regressioned and bootstraped on arm-linux-gnu aarch64-linux-gnu. > > Best Regards > > Andrea > > [1] > <https://community.arm.com/developer/ip-products/processors/b/processors-ip-blog/posts/armv8-1-m-pointer-authentication-and-branch-target-identification-extension>
Ping Best Regards Andrea