From: Tiezhu Yang Date: Tue, 17 Sep 2024 14:23:09 +0000 (+0800) Subject: LoongArch: Enable objtool for Clang X-Git-Tag: v6.12-rc1~27^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b8468bd92ae19939d4844899fa05147888732519;p=thirdparty%2Fkernel%2Flinux.git LoongArch: Enable objtool for Clang For now, it can enable objtool for Clang, just remove !CC_IS_CLANG for HAVE_OBJTOOL in arch/loongarch/Kconfig. Signed-off-by: Tiezhu Yang Signed-off-by: Huacai Chen --- diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig index 0e3abf7b0bd34..8dff6ddaf9c56 100644 --- a/arch/loongarch/Kconfig +++ b/arch/loongarch/Kconfig @@ -147,7 +147,7 @@ config LOONGARCH select HAVE_LIVEPATCH select HAVE_MOD_ARCH_SPECIFIC select HAVE_NMI - select HAVE_OBJTOOL if AS_HAS_EXPLICIT_RELOCS && AS_HAS_THIN_ADD_SUB && !CC_IS_CLANG + select HAVE_OBJTOOL if AS_HAS_EXPLICIT_RELOCS && AS_HAS_THIN_ADD_SUB select HAVE_PCI select HAVE_PERF_EVENTS select HAVE_PERF_REGS