diff options
author | Arnd Bergmann <arnd@arndb.de> | 2022-12-15 17:26:20 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2022-12-19 16:46:50 +0100 |
commit | 6a7ee50f8f56dc181e1150cc101896053b02d220 (patch) | |
tree | 819e9132c94ca662bd636ff9c8bb7bdde4fc3c04 /drivers/soc | |
parent | 4b88615950fc805690b92b46c8ab794beb4bd6aa (diff) |
ARM: disallow pre-ARMv5 builds with ld.lld
lld cannot build for ARMv4/v4T targets because it inserts 'blx' instructions
that are unsupported there:
ld.lld: warning: lld uses blx instruction, no object with architecture supporting feature detected
Add a Kconfig time dependency to prevent those targets from being
selected in randconfig builds.
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Link: https://github.com/llvm/llvm-project/issues/50764
Link: https://github.com/ClangBuiltLinux/linux/issues/964
Link: https://lore.kernel.org/r/20221215162635.3750763-1-arnd@kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'drivers/soc')
0 files changed, 0 insertions, 0 deletions