mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 03:40:35 +09:00
ANDROID: arm64: kvm: disable CFI
Disable CFI for code that runs at EL2 because __cfi_check only understands EL1 addresses. Bug: 67506682 Bug: 133186739 Change-Id: Ia582943be0b31669d88464fd99228a5368b1aa6a Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
This commit is contained in:
committed by
Alistair Strachan
parent
f31c0b1dba
commit
b53a16001e
@@ -4,7 +4,8 @@
|
||||
#
|
||||
|
||||
ccflags-y += -fno-stack-protector -DDISABLE_BRANCH_PROFILING \
|
||||
$(DISABLE_STACKLEAK_PLUGIN)
|
||||
$(DISABLE_STACKLEAK_PLUGIN) \
|
||||
$(DISABLE_CFI)
|
||||
|
||||
ifeq ($(cc-name),clang)
|
||||
ccflags-y += -fno-jump-tables
|
||||
|
||||
Reference in New Issue
Block a user