Re: [PATCH v2 2/6] scripts/Kconfig.toolchain: Do not dynamically probe '-fno-addrsig'

From: Nicolas Schier

Date: Thu Nov 12 2026 - 07:25:58 EST


On Wed, Nov 11, 2026 at 05:52:04PM -0700, Nathan Chancellor wrote:
> '-fno-addrsig' avoids generating the LLVM specific .llvm_addrsig
> section. This flag is supported by all supported versions of clang, so
> convert CONFIG_CC_OPT_NO_ADDRSIG into a simple string symbol that
> depends on CC_IS_CLANG to clean up a dynamic probe that is unnecessary.
>
> Reviewed-by: Nick Desaulniers <ndesaulniers@xxxxxxxxxx>
> Signed-off-by: Nathan Chancellor <nathan@xxxxxxxxxx>
> ---
> scripts/Kconfig.toolchain | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>

Reviewed-by: Nicolas Schier <nsc@xxxxxxxxxx>

--
Nicolas