linux/tools/testing/selftests/riscv/cfi
Thomas Huth 2464ac8a6f kselftest/riscv: Replace __ASSEMBLY__ with __ASSEMBLER__
While the GCC and Clang compilers already define __ASSEMBLER__
automatically when compiling assembly code, __ASSEMBLY__ is a
macro that only gets defined by the Makefiles in the kernel.
This can be very confusing when switching between userspace
and kernelspace coding, or when dealing with uapi headers that
rather should use __ASSEMBLER__ instead. So let's standardize now
on the __ASSEMBLER__ macro that is provided by the compilers.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
Link: https://patch.msgid.link/20260813075304.75988-1-thuth@redhat.com
Signed-off-by: Paul Walmsley <pjw@kernel.org>
2026-09-01 19:20:23 -06:00
..
.gitignore
cfi_rv_test.h kselftest/riscv: Replace __ASSEMBLY__ with __ASSEMBLER__ 2026-09-01 19:20:23 -06:00
cfitests.c riscv: cfi: reject unknown flags in PR_SET_CFI 2026-06-06 20:17:05 -06:00
Makefile selftests/riscv: fix compiler output flag spacing in all Makefiles 2026-06-06 20:17:52 -06:00
shadowstack.c
shadowstack.h