]> git.proxmox.com Git - mirror_edk2.git/commitdiff
ArmVExpressPkg: use 4 KB section alignment for ARM DXE_RUNTIME_DRIVER modules
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 1 Oct 2015 14:01:24 +0000 (14:01 +0000)
committerabiesheuvel <abiesheuvel@Edk2>
Thu, 1 Oct 2015 14:01:24 +0000 (14:01 +0000)
In order to support the Properties Table memory protection feature
on 32-bit ARM, build DXE_RUNTIME_DRIVER type binaries with 4 KB section
alignment by setting the common-page-size linker command line option.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18567 6f19259b-4bc3-4df7-8a09-765794883524

ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc

index 19af996f8eda191a42c7d62608a5c453c547f272..4fce05b1bf3bf5f32c2a45d74209cf0cd8e3eba1 100644 (file)
@@ -16,7 +16,8 @@
   USE_ARM_BDS         = FALSE\r
   SECURE_BOOT_ENABLE  = FALSE\r
 \r
-[BuildOptions.AARCH64.EDKII.DXE_RUNTIME_DRIVER]\r
+[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]\r
+  GCC:*_*_ARM_DLINK_FLAGS = -z common-page-size=0x1000\r
   GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000\r
 \r
 [LibraryClasses.common]\r