audk/BaseTools/Source/C/GenFw
Huang, Li-Xia 414cd2a4d5 BaseTools/GenFw: Enhance GenFw to support PRM GCC build
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3802

Since PRM module needs to support export table in PE-COFF, we'll
enhance GenFw tool to support this.

Add one export flag in GenFw tool. If export flag is set:
Step1: Scan ELF symbol table based on PRM module descriptor to get
descriptor offset address;
Step2: Find PRM handlers number and name in COFF file based on the
address from step1;
Step3: Write PRM info such as handler name and export RVA into COFF
export table.

PRM option currently only supports DXE RUNTIME driver and X64 arch.

Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Yuwei Chen <yuwei.chen@intel.com>
Signed-off-by: Lixia Huang <lisa.huang@intel.com>
Reviewed-by: Bob Feng <bob.c.feng@intel.com>
2022-03-16 07:48:26 +00:00
..
Elf32Convert.c BaseTools GenFw: Keep read only alloc section as text when convert ELF 2021-06-16 14:11:57 +00:00
Elf32Convert.h BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
Elf64Convert.c BaseTools/GenFw: Enhance GenFw to support PRM GCC build 2022-03-16 07:48:26 +00:00
Elf64Convert.h BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
ElfConvert.c BaseTools/GenFw: Enhance GenFw to support PRM GCC build 2022-03-16 07:48:26 +00:00
ElfConvert.h BaseTools/GenFw: Enhance GenFw to support PRM GCC build 2022-03-16 07:48:26 +00:00
GNUmakefile BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
GenFw.c BaseTools/GenFw: Enhance GenFw to support PRM GCC build 2022-03-16 07:48:26 +00:00
GenFw.h BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
Makefile BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
elf32.h BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
elf64.h BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
elf_common.h BaseTools: BaseTools changes for RISC-V platform. 2020-04-29 02:52:08 +00:00