mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-26 15:14:02 +02:00
UefiPayloadPkg: Add 4KB align to CLANGDWARF build.
After commit aca75d3 the PayloadEntry ELF header will miss dynamic section which caused PEI_ASSERT in PayloadLoader rebasing code. This commit adding common-page-size=0x1000 to CLANGDWARF_DLINK_FLAGS to overcome the ELF header generation issue. Signed-off-by: Chasel Chiu <chasel.chiu@intel.com>
This commit is contained in:
parent
e356b0f6fd
commit
b3bfb8f22d
@ -166,6 +166,7 @@
|
|||||||
INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
INTEL:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
||||||
MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
MSFT:RELEASE_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
|
||||||
!endif
|
!endif
|
||||||
|
*_CLANGDWARF_*_DLINK_FLAGS = -z common-page-size=0x1000
|
||||||
|
|
||||||
[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
|
[BuildOptions.common.EDKII.DXE_RUNTIME_DRIVER]
|
||||||
GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
|
GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000
|
||||||
|
Loading…
x
Reference in New Issue
Block a user