1# SPDX-License-Identifier: GPL-2.0 2 3obj-y += core.o 4 5# jump tables are emitted using absolute references in non-PIC code 6# so they cannot be used in the early SEV startup code 7CFLAGS_core.o += -fno-jump-tables 8 9ifdef CONFIG_FUNCTION_TRACER 10CFLAGS_REMOVE_core.o = -pg 11endif 12 13KASAN_SANITIZE_core.o := n 14KMSAN_SANITIZE_core.o := n 15KCOV_INSTRUMENT_core.o := n 16 17# With some compiler versions the generated code results in boot hangs, caused 18# by several compilation units. To be safe, disable all instrumentation. 19KCSAN_SANITIZE := n 20 21# Clang 14 and older may fail to respect __no_sanitize_undefined when inlining 22UBSAN_SANITIZE := n 23