File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ config LOONGARCH
143
143
select HAVE_LIVEPATCH
144
144
select HAVE_MOD_ARCH_SPECIFIC
145
145
select HAVE_NMI
146
- select HAVE_OBJTOOL if AS_HAS_EXPLICIT_RELOCS
146
+ select HAVE_OBJTOOL if AS_HAS_EXPLICIT_RELOCS && AS_HAS_THIN_ADD_SUB && !CC_IS_CLANG
147
147
select HAVE_PCI
148
148
select HAVE_PERF_EVENTS
149
149
select HAVE_PERF_REGS
@@ -261,6 +261,9 @@ config AS_HAS_EXPLICIT_RELOCS
261
261
config AS_HAS_FCSR_CLASS
262
262
def_bool $(as-instr,movfcsr2gr \$t0$(comma)\$fcsr0)
263
263
264
+ config AS_HAS_THIN_ADD_SUB
265
+ def_bool $(cc-option,-Wa$(comma)-mthin-add-sub)
266
+
264
267
config AS_HAS_LSX_EXTENSION
265
268
def_bool $(as-instr,vld \$vr0$(comma)\$a0$(comma)0)
266
269
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ config UNWINDER_PROLOGUE
28
28
29
29
config UNWINDER_ORC
30
30
bool "ORC unwinder"
31
+ depends on HAVE_OBJTOOL
31
32
select OBJTOOL
32
33
help
33
34
This option enables the ORC (Oops Rewind Capability) unwinder for
You can’t perform that action at this time.
0 commit comments