summaryrefslogtreecommitdiffstats
path: root/ArmPlatformPkg/ArmVExpressPkg
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-10-01 14:01:24 +0000
committerabiesheuvel <abiesheuvel@Edk2>2015-10-01 14:01:24 +0000
commit3b03da4058f69bd02af21e19fc2cb037c7d93557 (patch)
tree4fc4c25f1533a4d6f85684c14f9c440e1e6307be /ArmPlatformPkg/ArmVExpressPkg
parent955b4946f99fb9c879df235d318a68f91f5dbf0e (diff)
downloadedk2-3b03da4058f69bd02af21e19fc2cb037c7d93557.tar.gz
edk2-3b03da4058f69bd02af21e19fc2cb037c7d93557.tar.bz2
edk2-3b03da4058f69bd02af21e19fc2cb037c7d93557.zip
ArmVExpressPkg: use 4 KB section alignment for ARM DXE_RUNTIME_DRIVER modules
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
Diffstat (limited to 'ArmPlatformPkg/ArmVExpressPkg')
-rw-r--r--ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
index 19af996f8e..4fce05b1bf 100644
--- a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
+++ b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
@@ -16,7 +16,8 @@
USE_ARM_BDS = FALSE
SECURE_BOOT_ENABLE = FALSE
-[BuildOptions.AARCH64.EDKII.DXE_RUNTIME_DRIVER]
+[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
+ GCC:*_*_ARM_DLINK_FLAGS = -z common-page-size=0x1000
GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x10000
[LibraryClasses.common]