Skip to content

Commit

Permalink
ArmVExpressPkg: use 4 KB section alignment for ARM DXE_RUNTIME_DRIVER…
Browse files Browse the repository at this point in the history
… 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
  • Loading branch information
Ard Biesheuvel authored and abiesheuvel committed Oct 1, 2015
1 parent 955b494 commit 3b03da4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc
Expand Up @@ -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]
Expand Down

0 comments on commit 3b03da4

Please sign in to comment.