Skip to content

Commit f19e00e

Browse files
committed
Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 fix from Ingo Molnar: "A kexec fix for the case when GCC_PLUGIN_STACKLEAK=y is enabled" * 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: x86/purgatory: Disable the stackleak GCC plugin for the purgatory
2 parents 9c5efe9 + ca14c99 commit f19e00e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/x86/purgatory/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ KCOV_INSTRUMENT := n
2525

2626
PURGATORY_CFLAGS_REMOVE := -mcmodel=kernel
2727
PURGATORY_CFLAGS := -mcmodel=large -ffreestanding -fno-zero-initialized-in-bss
28+
PURGATORY_CFLAGS += $(DISABLE_STACKLEAK_PLUGIN)
2829

2930
# Default KBUILD_CFLAGS can have -pg option set when FTRACE is enabled. That
3031
# in turn leaves some undefined symbols like __fentry__ in purgatory and not

0 commit comments

Comments
 (0)