diff options
author | Manish V Badarkhe <Manish.Badarkhe@arm.com> | 2020-03-22 05:06:38 +0000 |
---|---|---|
committer | Sandrine Bailleux <sandrine.bailleux@arm.com> | 2020-04-01 16:40:16 +0200 |
commit | 7ff088d1f0d17e6afed236f979ffc5adf005d8b0 (patch) | |
tree | 1eae524386fd25a77c974672778da2cf5094bdfc /make_helpers | |
parent | 0a43db84af8cafaf35155d0e96e679b79a775272 (diff) | |
download | trusted-firmware-a-7ff088d1f0d17e6afed236f979ffc5adf005d8b0.tar.gz |
Enable MTE support
Enable MTE support by adding memory tag option in Makefile
This option is available only when ARMv8.5-MemTag is implemented
MTE options are added in latest clang and armclang compiler which
support below options:
for clang <version 11.0.0>
1. -march=arm8.5-a+memtag
2. -fsanitize=memtag
for armclang <version 6.12>
1. -march=arm8.5-a+memtag
2. -mmemtag-stack
Set the option SUPPORT_STACK_MEMTAG=yes to enable memory stack tagging.
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
Change-Id: I4e0bbde4e9769ce03ead6f550158e22f32c1c413
Diffstat (limited to 'make_helpers')
-rw-r--r-- | make_helpers/defaults.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/make_helpers/defaults.mk b/make_helpers/defaults.mk index 4e968e2d36..590a800a6a 100644 --- a/make_helpers/defaults.mk +++ b/make_helpers/defaults.mk @@ -288,3 +288,8 @@ ENABLE_LTO := 0 # S-EL2 firmware entry/exit. This flag is to be used with SPD=spmd option. # Default is 0. CTX_INCLUDE_EL2_REGS := 0 + +# Enable Memory tag extension which is supported for architecture greater +# than Armv8.5-A +# By default it is set to "no" +SUPPORT_STACK_MEMTAG := no |