ARM: 9087/1: kprobes: test-thumb: fix for LLVM_IAS=1
authorNick Desaulniers <ndesaulniers@google.com>
Tue, 1 Jun 2021 19:29:26 +0000 (20:29 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Jul 2021 14:02:14 +0000 (16:02 +0200)
commit0c96c2054212cf66d6f4a05f6e5536e0e61069d3
tree84880b9cc5a6a7efcab6104c640e3dbba00579b1
parent01e1c68ed0305825b6536e20df605d2df9a0fa8f
ARM: 9087/1: kprobes: test-thumb: fix for LLVM_IAS=1

[ Upstream commit 8b95a7d90ce8160ac5cffd5bace6e2eba01a871e ]

There's a few instructions that GAS infers operands but Clang doesn't;
from what I can tell the Arm ARM doesn't say these are optional.

F5.1.257 TBB, TBH T1 Halfword variant
F5.1.238 STREXD T1 variant
F5.1.84 LDREXD T1 variant

Link: https://github.com/ClangBuiltLinux/linux/issues/1309
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Reviewed-by: Jian Cai <jiancai@google.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
arch/arm/probes/kprobes/test-thumb.c