ANDROID: arm64: kvm: disable CFI
Disable CFI for code that runs at EL2 because __cfi_check only understands EL1 addresses. Bug: 67506682 Change-Id: Ia582943be0b31669d88464fd99228a5368b1aa6a Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
This commit is contained in:
parent
6e85026cf0
commit
9fb487de4f
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
|||
#
|
||||
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue