diff options
author | MarsX Lin <marsx.lin@intel.com> | 2022-12-20 17:03:35 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2022-12-21 04:44:29 +0000 |
commit | 3c16e6fb97dd2add425edca6aacb206589b0389c (patch) | |
tree | d85e3ddb510a7d2444d65b8cc0262f3590b1851c /UefiPayloadPkg/UniversalPayloadBuild.py | |
parent | a7e722941cf62f08294cdcfba36fa7e40f9797de (diff) | |
download | edk2-3c16e6fb97dd2add425edca6aacb206589b0389c.zip edk2-3c16e6fb97dd2add425edca6aacb206589b0389c.tar.gz edk2-3c16e6fb97dd2add425edca6aacb206589b0389c.tar.bz2 |
UefiPayloadPkg: Fixed that The UPL info section is not aligned at 4-byte
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4196
Align .upld_info with 4-byte boundary by spec
Cc: Guo Dong <guo.dong@intel.com>
Cc: Ray Ni <ray.ni@intel.com>
Cc: Sean Rhodes <sean@starlabs.systems>
Reviewed-by: James Lu <james.lu@intel.com>
Reviewed-by: Gua Guo <gua.guo@intel.com>
Signed-off-by: MarsX Lin <marsx.lin@intel.com>
Diffstat (limited to 'UefiPayloadPkg/UniversalPayloadBuild.py')
-rw-r--r-- | UefiPayloadPkg/UniversalPayloadBuild.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UefiPayloadPkg/UniversalPayloadBuild.py b/UefiPayloadPkg/UniversalPayloadBuild.py index 6d62b8b..522855e 100644 --- a/UefiPayloadPkg/UniversalPayloadBuild.py +++ b/UefiPayloadPkg/UniversalPayloadBuild.py @@ -135,7 +135,7 @@ def BuildUniversalPayload(Args, MacroList): BdsFvOutputDir,
EntryOutputDir
)
- set_section = '"{}" -I {} -O {} --set-section-alignment .upld_info=16 --set-section-alignment .upld.uefi_fv=16 --set-section-alignment .upld.bds_fv=16 {}'.format (
+ set_section = '"{}" -I {} -O {} --set-section-alignment .upld_info=4 --set-section-alignment .upld.uefi_fv=16 --set-section-alignment .upld.bds_fv=16 {}'.format (
LlvmObjcopyPath,
ObjCopyFlag,
ObjCopyFlag,
|