]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: 8875/1: Kconfig: default to AEABI w/ Clang
authorNick Desaulniers <ndesaulniers@google.com>
Mon, 8 Jul 2019 19:38:15 +0000 (20:38 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 23 Aug 2019 10:38:48 +0000 (11:38 +0100)
commit69b85b394b0237685b3e7d3ca2302e12fb9ff87c
treed3836302055b3659a719ee97000ca9e15aba75d5
parent663a69ec58d656717eef04b771fb3ada54376e84
ARM: 8875/1: Kconfig: default to AEABI w/ Clang

Clang produces references to __aeabi_uidivmod and __aeabi_idivmod for
arm-linux-gnueabi and arm-linux-gnueabihf targets incorrectly when AEABI
is not selected (such as when OABI_COMPAT is selected).

While this means that OABI userspaces wont be able to upgraded to
kernels built with Clang, it means that boards that don't enable AEABI
like s3c2410_defconfig will stop failing to link in KernelCI when built
with Clang.

Link: https://github.com/ClangBuiltLinux/linux/issues/482
Link: https://groups.google.com/forum/#!msg/clang-built-linux/yydsAAux5hk/GxjqJSW-AQAJ
Suggested-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/Kconfig