File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ objtool_args = \
231
231
$(if $(part-of-module), --module) \
232
232
$(if $(CONFIG_X86_KERNEL_IBT), --lto --ibt) \
233
233
$(if $(CONFIG_FRAME_POINTER),, --no-fp) \
234
- $(if $(CONFIG_GCOV_KERNEL)$(CONFIG_LTO_CLANG) , --no-unreachable)\
234
+ $(if $(CONFIG_GCOV_KERNEL), --no-unreachable) \
235
235
$(if $(CONFIG_RETPOLINE), --retpoline) \
236
236
$(if $(CONFIG_X86_SMAP), --uaccess) \
237
237
$(if $(CONFIG_FTRACE_MCOUNT_USE_OBJTOOL), --mcount) \
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ objtool_link()
140
140
if ! is_enabled CONFIG_FRAME_POINTER; then
141
141
objtoolopt=" ${objtoolopt} --no-fp"
142
142
fi
143
- if is_enabled CONFIG_GCOV_KERNEL || is_enabled CONFIG_LTO_CLANG ; then
143
+ if is_enabled CONFIG_GCOV_KERNEL; then
144
144
objtoolopt=" ${objtoolopt} --no-unreachable"
145
145
fi
146
146
if is_enabled CONFIG_RETPOLINE; then
You can’t perform that action at this time.
0 commit comments