|
@@ -265,6 +265,8 @@ objtool_args += --no-fp
|
|
endif
|
|
endif
|
|
ifdef CONFIG_GCOV_KERNEL
|
|
ifdef CONFIG_GCOV_KERNEL
|
|
objtool_args += --no-unreachable
|
|
objtool_args += --no-unreachable
|
|
|
|
+else
|
|
|
|
+objtool_args += $(call cc-ifversion, -lt, 0405, --no-unreachable)
|
|
endif
|
|
endif
|
|
|
|
|
|
# 'OBJECT_FILES_NON_STANDARD := y': skip objtool checking for a directory
|
|
# 'OBJECT_FILES_NON_STANDARD := y': skip objtool checking for a directory
|