summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWill Deacon <will@kernel.org>2022-12-06 14:01:49 +0300
committerWill Deacon <will@kernel.org>2022-12-06 14:01:49 +0300
commitf6ffa4c8c177c0b52d1c849289b08178f6da0eea (patch)
tree299791f71bfb2a9e9312e59ebcc8d4b157f8b5bc /drivers
parent9f930478c648d25e3a4c3db3d69a65cf05ff939a (diff)
parent3b619e22c4601b444ed2d6a5458271f72625ac89 (diff)
downloadlinux-f6ffa4c8c177c0b52d1c849289b08178f6da0eea.tar.xz
Merge branch 'for-next/dynamic-scs' into for-next/core
* for-next/dynamic-scs: arm64: implement dynamic shadow call stack for Clang scs: add support for dynamic shadow call stacks arm64: unwind: add asynchronous unwind tables to kernel and modules
Diffstat (limited to 'drivers')
-rw-r--r--drivers/firmware/efi/libstub/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/firmware/efi/libstub/Makefile b/drivers/firmware/efi/libstub/Makefile
index b1601aad7e1a..1016f0b5311d 100644
--- a/drivers/firmware/efi/libstub/Makefile
+++ b/drivers/firmware/efi/libstub/Makefile
@@ -20,6 +20,7 @@ cflags-$(CONFIG_X86) += -m$(BITS) -D__KERNEL__ \
# disable the stackleak plugin
cflags-$(CONFIG_ARM64) := $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) \
-fpie $(DISABLE_STACKLEAK_PLUGIN) \
+ -fno-unwind-tables -fno-asynchronous-unwind-tables \
$(call cc-option,-mbranch-protection=none)
cflags-$(CONFIG_ARM) := $(subst $(CC_FLAGS_FTRACE),,$(KBUILD_CFLAGS)) \
-fno-builtin -fpic \