Makefile (98817a84ff1c755c347ac633ff017a623a631fad) Makefile (893ab00439a45513cae55781fc8e3b7108ee1cda)
1# SPDX-License-Identifier: GPL-2.0
2# Kernel does not boot with instrumentation of tlb.c and mem_encrypt*.c
3KCOV_INSTRUMENT_tlb.o := n
4KCOV_INSTRUMENT_mem_encrypt.o := n
5KCOV_INSTRUMENT_mem_encrypt_identity.o := n
6
7KASAN_SANITIZE_mem_encrypt.o := n
8KASAN_SANITIZE_mem_encrypt_identity.o := n

--- 8 unchanged lines hidden (view full) ---

17endif
18
19obj-y := init.o init_$(BITS).o fault.o ioremap.o extable.o mmap.o \
20 pgtable.o physaddr.o setup_nx.o tlb.o cpu_entry_area.o maccess.o
21
22obj-y += pat/
23
24# Make sure __phys_addr has no stackprotector
1# SPDX-License-Identifier: GPL-2.0
2# Kernel does not boot with instrumentation of tlb.c and mem_encrypt*.c
3KCOV_INSTRUMENT_tlb.o := n
4KCOV_INSTRUMENT_mem_encrypt.o := n
5KCOV_INSTRUMENT_mem_encrypt_identity.o := n
6
7KASAN_SANITIZE_mem_encrypt.o := n
8KASAN_SANITIZE_mem_encrypt_identity.o := n

--- 8 unchanged lines hidden (view full) ---

17endif
18
19obj-y := init.o init_$(BITS).o fault.o ioremap.o extable.o mmap.o \
20 pgtable.o physaddr.o setup_nx.o tlb.o cpu_entry_area.o maccess.o
21
22obj-y += pat/
23
24# Make sure __phys_addr has no stackprotector
25nostackp := $(call cc-option, -fno-stack-protector)
26CFLAGS_physaddr.o := $(nostackp)
27CFLAGS_setup_nx.o := $(nostackp)
28CFLAGS_mem_encrypt_identity.o := $(nostackp)
25CFLAGS_physaddr.o := -fno-stack-protector
26CFLAGS_setup_nx.o := -fno-stack-protector
27CFLAGS_mem_encrypt_identity.o := -fno-stack-protector
29
30CFLAGS_fault.o := -I $(srctree)/$(src)/../include/asm/trace
31
32obj-$(CONFIG_X86_32) += pgtable_32.o iomap_32.o
33
34obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
35obj-$(CONFIG_PTDUMP_CORE) += dump_pagetables.o
36obj-$(CONFIG_PTDUMP_DEBUGFS) += debug_pagetables.o

--- 22 unchanged lines hidden ---
28
29CFLAGS_fault.o := -I $(srctree)/$(src)/../include/asm/trace
30
31obj-$(CONFIG_X86_32) += pgtable_32.o iomap_32.o
32
33obj-$(CONFIG_HUGETLB_PAGE) += hugetlbpage.o
34obj-$(CONFIG_PTDUMP_CORE) += dump_pagetables.o
35obj-$(CONFIG_PTDUMP_DEBUGFS) += debug_pagetables.o

--- 22 unchanged lines hidden ---