MdePkg/BasePeCoff: Add LoongArch PE/Coff related code.
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4053 Add LoongArch image relocation. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Signed-off-by: Chao Li <lichao@loongson.cn> Co-authored-by: Baoqi Zhang <zhangbaoqi@loongson.cn> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
# The IA32 version library support loading IA32, X64 and EBC PE/COFF images.
|
||||
# The X64 version library support loading IA32, X64 and EBC PE/COFF images.
|
||||
# The RISC-V version library support loading RISC-V images.
|
||||
# The LoongArch version library support loading LoongArch images.
|
||||
#
|
||||
# Caution: This module requires additional review when modified.
|
||||
# This library will have external input - PE/COFF image.
|
||||
@@ -13,6 +14,7 @@
|
||||
# Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
# Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
||||
# Portions Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
|
||||
# Portions Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
|
||||
#
|
||||
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
||||
#
|
||||
@@ -46,6 +48,9 @@
|
||||
[Sources.RISCV64]
|
||||
RiscV/PeCoffLoaderEx.c
|
||||
|
||||
[Sources.LOONGARCH64]
|
||||
LoongArch/PeCoffLoaderEx.c
|
||||
|
||||
[Packages]
|
||||
MdePkg/MdePkg.dec
|
||||
|
||||
|
Reference in New Issue
Block a user