mirror of https://github.com/acidanthera/audk.git
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> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17803 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
f0dbe9fa0a
commit
226d10c357
|
@ -16,6 +16,9 @@
|
||||||
[Defines]
|
[Defines]
|
||||||
DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x8000004F
|
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]
|
[LibraryClasses.common]
|
||||||
!if $(TARGET) == RELEASE
|
!if $(TARGET) == RELEASE
|
||||||
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
DebugLib|MdePkg/Library/BaseDebugLibNull/BaseDebugLibNull.inf
|
||||||
|
|
Loading…
Reference in New Issue