diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2021-02-16 20:16:13 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2021-03-25 10:27:40 +0000 |
commit | 7c182ebab9f338d07571c7f86d4d64c385ad1b9c (patch) | |
tree | b19d88fc2e524b846453c726e6c4aa34aab9f828 /arch/arm/kernel | |
parent | e9d54be9ad5ee2eed3056d8901ac4b3b115d95a5 (diff) | |
download | linux-stable-7c182ebab9f338d07571c7f86d4d64c385ad1b9c.tar.gz linux-stable-7c182ebab9f338d07571c7f86d4d64c385ad1b9c.tar.bz2 linux-stable-7c182ebab9f338d07571c7f86d4d64c385ad1b9c.zip |
ARM: 9062/1: kprobes: rewrite test-arm.c in UAL
Clang's integrated assembler only accepts UAL syntax, rewrite the
instructions that were changed by RVCTv2.1. The document "Assembly
language changes after RVCTv2.1" was very helpful.
.syntax unified
directive is added, since -masm-syntax-unified is unreliable for older
but supported versions of GCC. See also:
commit fe09d9c641f2 ("ARM: 8852/1: uaccess: use unified assembler language syntax")
Link: https://developer.arm.com/documentation/dui0473/c/writing-arm-assembly-language/assembly-language-changes-after-rvctv2-1
Link: https://github.com/ClangBuiltLinux/linux/issues/1271
Reported-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'arch/arm/kernel')
0 files changed, 0 insertions, 0 deletions