BeagleBoardPkg: Align PE sections to 4K

Add build options to BeagleBoardPkg.dsc to align PE sections to 4K.
This avoids warnings during boot when loading drivers.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Leif Lindholm <leif@nuviainc.com>
This commit is contained in:
Rebecca Cran
2021-09-28 13:33:17 -06:00
committed by Leif Lindholm
parent ff3c0c1344
commit d145ed566e
@@ -212,6 +212,10 @@
*_*_*_CC_FLAGS = -DDISABLE_NEW_DEPRECATED_INTERFACES
[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
GCC: *_*_*_DLINK_FLAGS = -z common-page-size=0x1000
MSFT: *_*_*_DLINK_FLAGS = /ALIGN:4096
################################################################################
#
# Pcd Section - list of all EDK II PCD Entries defined by this Platform