Skip to content

Commit b8468bd

Browse files
seehearfeelchenhuacai
authored andcommitted
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 <[email protected]> Signed-off-by: Huacai Chen <[email protected]>
1 parent da5b2ad commit b8468bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/loongarch/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ config LOONGARCH
147147
select HAVE_LIVEPATCH
148148
select HAVE_MOD_ARCH_SPECIFIC
149149
select HAVE_NMI
150-
select HAVE_OBJTOOL if AS_HAS_EXPLICIT_RELOCS && AS_HAS_THIN_ADD_SUB && !CC_IS_CLANG
150+
select HAVE_OBJTOOL if AS_HAS_EXPLICIT_RELOCS && AS_HAS_THIN_ADD_SUB
151151
select HAVE_PCI
152152
select HAVE_PERF_EVENTS
153153
select HAVE_PERF_REGS

0 commit comments

Comments
 (0)