]> git.proxmox.com Git - mirror_edk2.git/commit
BaseTools GenFw: Support CLANG8ELF with conversion ELF to PE/COFF image
authorLiming Gao <gaoliming@byosoft.com.cn>
Wed, 2 Jun 2021 08:11:41 +0000 (16:11 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Fri, 4 Jun 2021 09:20:06 +0000 (09:20 +0000)
commitc6b872c6ab26407a8abc8dd294375f7fdf731f60
treed4a8172a26104ca31d73ed39cfd657b1449b8039
parentc1aa3bab1259a54cd392831bc1dc1fd263436349
BaseTools GenFw: Support CLANG8ELF with conversion ELF to PE/COFF image

CLANG8ELF tool chain generated ELF image with the different attributes
in section. Update GenFw to handle them.
1. .text section with writable attribute (support)
2. .reloc section has the symbol for *ABS* (skip)

Signed-off-by: Liming Gao <gaoliming@byosoft.com.cn>
Reviewed-by: Feng Bob C <bob.c.feng@intel.com>
BaseTools/Source/C/GenFw/Elf32Convert.c
BaseTools/Source/C/GenFw/Elf64Convert.c