]> git.proxmox.com Git - mirror_edk2.git/commit
StandaloneMmPkg: Enforce alignment check for AArch64
authorAchin Gupta <achin.gupta@arm.com>
Mon, 3 Dec 2018 07:20:53 +0000 (12:50 +0530)
committerAchin Gupta <achin.gupta@arm.com>
Sun, 9 Dec 2018 16:01:04 +0000 (16:01 +0000)
commitf8943176f09518c86275e6228d7ebd0a7748d0dc
treed13ebb6a85ebf7997dac187684eab496bd9e5fac
parent4ceb9c01f9b2902c5e42323a9704048b6ea1af2b
StandaloneMmPkg: Enforce alignment check for AArch64

On AArch64, Standalone MM during the SEC phase runs in S-EL0 with
SCTLR_EL1.A=1. This patch adds the -mstrict-align compiler flag to
ensure that the generated code is compliant with the runtime
alignment checks.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Achin Gupta <achin.gupta@arm.com>
Signed-off-by: Sughosh Ganu <sughosh.ganu@arm.com>
Reviewed-by: Achin Gupta <achin.gupta@arm.com>
StandaloneMmPkg/StandaloneMmPkg.dsc