1# SPDX-License-Identifier: GPL-2.0 2 3# Prevent the noinstr section from being pestered by sanitizer and other goodies 4# as long as these things cannot be disabled per function. 5KASAN_SANITIZE := n 6UBSAN_SANITIZE := n 7KCOV_INSTRUMENT := n 8 9# Branch profiling isn't noinstr-safe 10ccflags-$(CONFIG_TRACE_BRANCH_PROFILING) += -DDISABLE_BRANCH_PROFILING 11 12CFLAGS_REMOVE_common.o = -fstack-protector -fstack-protector-strong 13CFLAGS_common.o += -fno-stack-protector 14 15obj-$(CONFIG_GENERIC_ENTRY) += common.o syscall_user_dispatch.o 16obj-$(CONFIG_KVM_XFER_TO_GUEST_WORK) += kvm.o 17