• Ard Biesheuvel's avatar
    ARM: stackprotector: prefer compiler for TLS based per-task protector · f05eb1d2
    Ard Biesheuvel authored
    Currently, we implement the per-task stack protector for ARM using a GCC
    plugin, due to lack of native compiler support. However, work is
    underway to get this implemented in the compiler, which means we will be
    able to deprecate the GCC plugin at some point.
    
    In the meantime, we will need to support both, where the native compiler
    implementation is obviously preferred. So let's wire this up in Kconfig
    and the Makefile.
    Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
    Tested-by: default avatarMarc Zyngier <maz@kernel.org>
    Tested-by: Vladimir Murzin <vladimir.murzin@arm.com> # ARMv7M
    f05eb1d2
Kconfig 62.7 KB