summaryrefslogtreecommitdiff
path: root/arch/mips/vdso/Makefile
diff options
context:
space:
mode:
authorNemanja Rakovic <nemanja.rakovic@syrmia.com>2022-01-31 11:17:09 +0100
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2022-02-07 18:31:57 +0100
commite0a8b93efa2382d370be44bf289157de7e5dacb4 (patch)
tree4f5c1088e4f9fc839f6466ee7ca8ae8fa572d2e2 /arch/mips/vdso/Makefile
parentd49fc69293f2022785f6ee1c3c7d565271abe393 (diff)
mips: Enable KCSAN
This patch enables KCSAN for the 64-bit version. Updated rules for the incompatible compilation units (vdso, boot/compressed). Signed-off-by: Nemanja Rakovic <nemanja.rakovic@syrmia.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips/vdso/Makefile')
-rw-r--r--arch/mips/vdso/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/mips/vdso/Makefile b/arch/mips/vdso/Makefile
index d65f55f67e19..f72658b3a53f 100644
--- a/arch/mips/vdso/Makefile
+++ b/arch/mips/vdso/Makefile
@@ -1,6 +1,9 @@
# SPDX-License-Identifier: GPL-2.0
# Objects to go into the VDSO.
+# Sanitizer runtimes are unavailable and cannot be linked here.
+ KCSAN_SANITIZE := n
+
# Absolute relocation type $(ARCH_REL_TYPE_ABS) needs to be defined before
# the inclusion of generic Makefile.
ARCH_REL_TYPE_ABS := R_MIPS_JUMP_SLOT|R_MIPS_GLOB_DAT