]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools: Update GenFw/GenFv to support LoongArch platform.
authorChao Li <lichao@loongson.cn>
Tue, 6 Sep 2022 13:00:07 +0000 (21:00 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 14 Oct 2022 02:16:33 +0000 (02:16 +0000)
commit1aa311d1756649998ea4a5f7ca80bbc0a188d209
treeaabc67ed7b08d50afc5a8880e8dc74af048b1f64
parent082b563fc43d9f93870b49940884c8ff6292ea2b
BaseTools: Update GenFw/GenFv to support LoongArch platform.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053

C code changes for building EDK2 LoongArch platform.

For definitions of PE/COFF and LOONGARCH relocation types, see the
"Machine Types" and "Basic Relocation Types" sections of this URL for
LOONGARCH values:
https://docs.microsoft.com/en-us/windows/win32/debug/pe-format

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Signed-off-by: Chao Li <lichao@loongson.cn>
Co-authored-by: Dongyan Qian <qiandongyan@loongson.cn>
Co-authored-by: Baoqi Zhang <zhangbaoqi@loongson.cn>
Co-authored-by: Yang Zhou <zhouyang@loongson.cn>
Co-authored-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
BaseTools/Source/C/Common/BasePeCoff.c
BaseTools/Source/C/Common/PeCoffLoaderEx.c
BaseTools/Source/C/GenFv/GenFvInternalLib.c
BaseTools/Source/C/GenFw/Elf64Convert.c
BaseTools/Source/C/GenFw/elf_common.h
BaseTools/Source/C/Include/IndustryStandard/PeImage.h
BaseTools/Source/C/Makefiles/header.makefile