diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2015-07-06 17:00:40 +0000 |
---|---|---|
committer | oliviermartin <oliviermartin@Edk2> | 2015-07-06 17:00:40 +0000 |
commit | 13a68bbaa7bf13710357945a5194b21579f3d875 (patch) | |
tree | 84c5161fe1b2b6593341013da90112fa201ae1a4 | |
parent | 5dbacdb21b59748e885c2eccae370b81271ab795 (diff) | |
download | edk2-platforms-13a68bbaa7bf13710357945a5194b21579f3d875.tar.xz |
ArmPlatformPkg/ArmVExpressPkg: use 64 KB section alignment for runtime drivers
This adds the 64 KB alignment overlay linker script to the linker command
line of DXE_RUNTIME_DRIVER modules built for AARCH64. This makes these
modules compatible with the new Properties Table feature by aligning the
.text and .data sections to 64 KB.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Olivier Martin <olivier.martin@arm.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17836 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r-- | ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc index 4d8adcc3e3..1ca9b2de65 100644 --- a/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc +++ b/ArmPlatformPkg/ArmVExpressPkg/ArmVExpress.dsc.inc @@ -12,6 +12,9 @@ #
#
+[BuildOptions.AARCH64.EDKII.DXE_RUNTIME_DRIVER]
+ *_*_AARCH64_DLINK_FLAGS = --script=$(EDK_TOOLS_PATH)/Scripts/gcc-aarch64-64K-align-ld-script
+
[LibraryClasses.common]
!if $(TARGET) == RELEASE
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|