[clang] [llvm] [ARM][KCFI] Add backend support for Kernel Control-Flow Integrity (PR #163698)
Kees Cook via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 17 15:37:18 PDT 2025
kees wrote:
> With `CONFIG_CFI=y` and `CONFIG_THUMB2_KERNEL=y`, I see many
>
> ```
> error: out of range pc-relative fixup value
> ```
>
> with the latest revision. Normal ARM mode works fine still from what I can tell.
I forgot we could even compile Linux with Thumb2! I did all my testing of Thumb2 under userspace. Thanks for finding that; I will take a look.
https://github.com/llvm/llvm-project/pull/163698
More information about the cfe-commits
mailing list