Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: c1aa3bab1259a54cd392831bc1dc1fd263436349 https://github.com/tianocore/edk2/commit/c1aa3bab1259a54cd392831bc1dc1fd263436349 Author: Liming Gao <gaolim...@byosoft.com.cn> Date: 2021-06-04 (Fri, 04 Jun 2021)
Changed paths: A BaseTools/Scripts/ClangBase.lds Log Message: ----------- BaseTools: Add ClangBase.lds for CLANG8 tool chain with max-page-size LLVM LLD linker doesn't support common-page-size option. So, max-page-size is used. To not impact GCC tool chain, new ClangBase.lds is added. Signed-off-by: Liming Gao <gaolim...@byosoft.com.cn> Reviewed-by: Feng Bob C <bob.c.f...@intel.com> Commit: c6b872c6ab26407a8abc8dd294375f7fdf731f60 https://github.com/tianocore/edk2/commit/c6b872c6ab26407a8abc8dd294375f7fdf731f60 Author: Liming Gao <gaolim...@byosoft.com.cn> Date: 2021-06-04 (Fri, 04 Jun 2021) Changed paths: M BaseTools/Source/C/GenFw/Elf32Convert.c M BaseTools/Source/C/GenFw/Elf64Convert.c Log Message: ----------- 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 <gaolim...@byosoft.com.cn> Reviewed-by: Feng Bob C <bob.c.f...@intel.com> Commit: cf9959adffe8ecd3dd9bad1e5a1ce1c34cefc0e9 https://github.com/tianocore/edk2/commit/cf9959adffe8ecd3dd9bad1e5a1ce1c34cefc0e9 Author: Liming Gao <gaolim...@byosoft.com.cn> Date: 2021-06-04 (Fri, 04 Jun 2021) Changed paths: M BaseTools/Conf/build_rule.template Log Message: ----------- BaseTools: Update build_rule to skip CLANG resource section generation LLVM/CLANG doesn't support resource section generation when ELF image generated. Signed-off-by: Liming Gao <gaolim...@byosoft.com.cn> Reviewed-by: Feng Bob C <bob.c.f...@intel.com> Commit: 4b56ad2049b84a3c1a1efaa28213cf6134bd8d4d https://github.com/tianocore/edk2/commit/4b56ad2049b84a3c1a1efaa28213cf6134bd8d4d Author: Liming Gao <gaolim...@byosoft.com.cn> Date: 2021-06-04 (Fri, 04 Jun 2021) Changed paths: M BaseTools/Conf/tools_def.template Log Message: ----------- BaseTools: Add new CLANG8ELF tool chain for new LLVM/CLANG8 BZ:https://bugzilla.tianocore.org/show_bug.cgi?id=1603 LLVM/CLANG8 formal release http://releases.llvm.org/download.html#8.0.0 It can be downloaded and installed in Windows/Linux/Mac OS. CLANG8ELF tool chain is added to generate ELF image, and convert to PE/COFF. On Windows OS, set CLANG_HOST_BIN=n, set CLANG8_BIN=LLVM installed directory For example: set CLANG_HOST_BIN=n # use windows nmake set CLANG8_BIN=C:\Program Files\LLVM\bin\ On Linux/Mac, set CLANG8_BIN=LLVM installed directory This tool chain can be used to compile the firmware code. On windows OS, Visual Studio is still required to compile BaseTools C tools and nmake.exe. On Linux/Mac OS, gcc is used to compile BaseTools C tools. make is used for makefile. This tool chain is verified on OVMF Ia32, X64 and Ia32X64 to boot Shell. This tool chain is verified in Windows/Linux and Mac OS. Signed-off-by: Liming Gao <gaolim...@byosoft.com.cn> Reviewed-by: Feng Bob C <bob.c.f...@intel.com> Commit: e1636fe18fb240060fdd8956ccf9e9c7c3ac8205 https://github.com/tianocore/edk2/commit/e1636fe18fb240060fdd8956ccf9e9c7c3ac8205 Author: Ni, Ray <ray...@intel.com> Date: 2021-06-04 (Fri, 04 Jun 2021) Changed paths: M BaseTools/Scripts/ClangBase.lds Log Message: ----------- BaseTools: Update ClangBase.lds to keep dynamic section The .dynamic section is needed for ELF runtime relocation. Signed-off-by: Ray Ni <ray...@intel.com> Cc: Bob Feng <bob.c.f...@intel.com> Cc: Liming Gao <gaolim...@byosoft.com.cn> Cc: Yuwei Chen <yuwei.c...@intel.com> Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn> Commit: 924c2b847f0bc4325f6d14e562e2fb2d8acbc4d0 https://github.com/tianocore/edk2/commit/924c2b847f0bc4325f6d14e562e2fb2d8acbc4d0 Author: Ni, Ray <ray...@intel.com> Date: 2021-06-04 (Fri, 04 Jun 2021) Changed paths: M BaseTools/Conf/tools_def.template Log Message: ----------- BaseTools: Change CLANG8ELF to CLANGDWARF CLANGDWARF is more proper because it's similar to CLANGPDB that generates PE images but with DWARF debug symbols. This toolchain is needed for creating ELF format universal payload that follows https://universalpayload.github.io/documentation/. Signed-off-by: Ray Ni <ray...@intel.com> Cc: Bob Feng <bob.c.f...@intel.com> Cc: Liming Gao <gaolim...@byosoft.com.cn> Cc: Yuwei Chen <yuwei.c...@intel.com> Reviewed-by: Liming Gao <gaolim...@byosoft.com.cn> Compare: https://github.com/tianocore/edk2/compare/c410ad4da4b7...924c2b847f0b _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits