summaryrefslogtreecommitdiffstats
path: root/ArmVirtPkg/ArmVirt.dsc.inc
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-07-06 15:58:00 +0000
committerabiesheuvel <abiesheuvel@Edk2>2015-07-06 15:58:00 +0000
commit093b7c8769d2c8d6276a1ad7c155d14f260d3170 (patch)
tree6a2a45a8639643a62e2bb8f8df22c5b22330fae5 /ArmVirtPkg/ArmVirt.dsc.inc
parent64a910f3dac273922bbbe5d4817c2a9a6fd11aa0 (diff)
downloadedk2-093b7c8769d2c8d6276a1ad7c155d14f260d3170.tar.gz
edk2-093b7c8769d2c8d6276a1ad7c155d14f260d3170.tar.bz2
edk2-093b7c8769d2c8d6276a1ad7c155d14f260d3170.zip
ArmVirtPkg: build runtime drivers with 64 KB section alignment
This adds the 64 KB alignment overlay linker script to the linker command line of DXE_RUNTIME_DRIVER modules. 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@17825 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmVirtPkg/ArmVirt.dsc.inc')
-rw-r--r--ArmVirtPkg/ArmVirt.dsc.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc
index 7ec0de4344..8893dfa74c 100644
--- a/ArmVirtPkg/ArmVirt.dsc.inc
+++ b/ArmVirtPkg/ArmVirt.dsc.inc
@@ -16,6 +16,9 @@
[Defines]
DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x8000004F
+[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