Revert "kbuild: Check if linker supports the -X option"
This reverts commit d79a2719. According to the commit description, this ld-option test was added for the gold linker at that time. Commit 75959d44 ("kbuild: Fail if gold linker is detected") gave up the gold linker support after all. I tested the BFD linker from binutils 2.23 and LLD from LLVM 11.0.0. Both of them support the -X option. Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> Reviewed-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
parent
5d4aeffb
Please register or sign in to comment