Skip to content

Commit

Permalink
init/Kconfig: Drop linker version check for LD_ORPHAN_WARN
Browse files Browse the repository at this point in the history
The minimum supported version of LLVM has been raised to 11.0.0, meaning
this check is always true, so it can be dropped.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>
Reviewed-by: Miguel Ojeda <ojeda@kernel.org>
Reviewed-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
  • Loading branch information
nathanchance authored and masahir0y committed Dec 2, 2021
1 parent 0766bff commit 4dc0759
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion init/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1414,7 +1414,6 @@ config LD_DEAD_CODE_DATA_ELIMINATION
config LD_ORPHAN_WARN
def_bool y
depends on ARCH_WANT_LD_ORPHAN_WARN
depends on !LD_IS_LLD || LLD_VERSION >= 110000
depends on $(ld-option,--orphan-handling=warn)

config SYSCTL
Expand Down

0 comments on commit 4dc0759

Please sign in to comment.