强制关闭advance特性

Signed-off-by: a@b.com <a@b.com>
This commit is contained in:
a@b.com 2023-04-27 15:50:07 +08:00
parent 3b74eab6cc
commit 788dc6a895

View File

@ -1403,7 +1403,8 @@ config ARM64_PAN
instruction if the cpu does not implement the feature. instruction if the cpu does not implement the feature.
config AS_HAS_LSE_ATOMICS config AS_HAS_LSE_ATOMICS
def_bool $(as-instr,.arch_extension lse) bool
default n
config ARM64_LSE_ATOMICS config ARM64_LSE_ATOMICS
bool bool
@ -1550,18 +1551,20 @@ config ARM64_PTR_AUTH
DYNAMIC_FTRACE_WITH_REGS is enabled. DYNAMIC_FTRACE_WITH_REGS is enabled.
config CC_HAS_BRANCH_PROT_PAC_RET config CC_HAS_BRANCH_PROT_PAC_RET
# GCC 9 or later, clang 8 or later bool
def_bool $(cc-option,-mbranch-protection=pac-ret+leaf) default n
config CC_HAS_SIGN_RETURN_ADDRESS config CC_HAS_SIGN_RETURN_ADDRESS
# GCC 7, 8 bool
def_bool $(cc-option,-msign-return-address=all) default n
config AS_HAS_PAC config AS_HAS_PAC
def_bool $(cc-option,-Wa$(comma)-march=armv8.3-a) bool
default n
config AS_HAS_CFI_NEGATE_RA_STATE config AS_HAS_CFI_NEGATE_RA_STATE
def_bool $(as-instr,.cfi_startproc\n.cfi_negate_ra_state\n.cfi_endproc\n) bool
default n
endmenu endmenu
@ -1647,8 +1650,8 @@ config ARM64_BTI_KERNEL
modular code must have BTI enabled. modular code must have BTI enabled.
config CC_HAS_BRANCH_PROT_PAC_RET_BTI config CC_HAS_BRANCH_PROT_PAC_RET_BTI
# GCC 9 or later, clang 8 or later bool
def_bool $(cc-option,-mbranch-protection=pac-ret+leaf+bti) default n
config ARM64_E0PD config ARM64_E0PD
bool "Enable support for E0PD" bool "Enable support for E0PD"
@ -1676,7 +1679,8 @@ config ARM64_AS_HAS_MTE
# as a late addition to the final architecture spec (LDGM/STGM) # as a late addition to the final architecture spec (LDGM/STGM)
# is only supported in the newer 2.32.x and 2.33 binutils # is only supported in the newer 2.32.x and 2.33 binutils
# versions, hence the extra "stgm" instruction check below. # versions, hence the extra "stgm" instruction check below.
def_bool $(as-instr,.arch armv8.5-a+memtag\nstgm xzr$(comma)[x0]) bool
default n
config ARM64_MTE config ARM64_MTE
bool "Memory Tagging Extension support" bool "Memory Tagging Extension support"