]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "kbuild: Check if linker supports the -X option"
authorMasahiro Yamada <masahiroy@kernel.org>
Thu, 29 Sep 2022 18:12:23 +0000 (03:12 +0900)
committerMasahiro Yamada <masahiroy@kernel.org>
Sun, 2 Oct 2022 18:52:58 +0000 (03:52 +0900)
commit41f4a426d7240ff8b1ccf2bb6ef57da0cdb47d48
treef0d6738957fc28a3f88115b431f0eda2c700316d
parentacb2e6f5d9fb3471bb125993db5bd3ee4b3f0637
Revert "kbuild: Check if linker supports the -X option"

This reverts commit 9e3ba8552199f3d98cf63f416db9582cf6b59a86.

According to the commit description, this ld-option test was added for
the gold linker at that time.

Commit 260b2630cc74 ("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>
Makefile