ARM: 9025/1: Kconfig: CPU_BIG_ENDIAN depends on !LD_IS_LLD
authorNick Desaulniers <ndesaulniers@google.com>
Mon, 16 Nov 2020 23:46:39 +0000 (00:46 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Tue, 8 Dec 2020 10:13:54 +0000 (10:13 +0000)
LLD does not yet support any big endian architectures. Make this config
non-selectable when using LLD until LLD is fixed.

Link: https://github.com/ClangBuiltLinux/linux/issues/965
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: Nathan Chancellor <natechancellor@gmail.com>
Reported-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/mm/Kconfig

index 65e4482..02692fb 100644 (file)
@@ -743,6 +743,7 @@ config SWP_EMULATE
 config CPU_BIG_ENDIAN
        bool "Build big-endian kernel"
        depends on ARCH_SUPPORTS_BIG_ENDIAN
+       depends on !LD_IS_LLD
        help
          Say Y if you plan on running a kernel in big-endian mode.
          Note that your board must be properly built and your board