Skip to content

fix: various errors in implementation of BTI

André Kempe requested to merge andrekempe-arm/dav-1-d-reloaded:master into master

Hej everyone.

During internal testing at Arm we realized that various bits and pieces of the BTI implementation are broken. This commit fixes the known errors

  • Amend call type in refmvs. Because these blocks are reached via blr x11, they need to be annotated.
  • Add missing BTI landing pads in ipred16.S. Because the subroutines are called via a br from x9, they need annotation with 'bti j' (AARCH64_VALID_JUMP_TARGET).

Could you please have a look?

Thanks & Best Regards. André

Merge request reports