forked from Minki/linux
ce2eef33d3
Make sure the stack-protector segment registers are properly set up before calling any functions which may have stack-protection compiled into them. [ Impact: prevent Xen early-boot crash when stack-protector is enabled ] Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
17 lines
502 B
Makefile
17 lines
502 B
Makefile
ifdef CONFIG_FUNCTION_TRACER
|
|
# Do not profile debug and lowlevel utilities
|
|
CFLAGS_REMOVE_spinlock.o = -pg
|
|
CFLAGS_REMOVE_time.o = -pg
|
|
CFLAGS_REMOVE_irq.o = -pg
|
|
endif
|
|
|
|
# Make sure early boot has no stackprotector
|
|
nostackp := $(call cc-option, -fno-stack-protector)
|
|
CFLAGS_enlighten.o := $(nostackp)
|
|
|
|
obj-y := enlighten.o setup.o multicalls.o mmu.o irq.o \
|
|
time.o xen-asm.o xen-asm_$(BITS).o \
|
|
grant-table.o suspend.o
|
|
|
|
obj-$(CONFIG_SMP) += smp.o spinlock.o
|
|
obj-$(CONFIG_XEN_DEBUG_FS) += debugfs.o
|