Branch: refs/heads/master Home: https://github.com/tianocore/edk2 Commit: 1ee162281710650d444c554f9fdbbd404abd9677 https://github.com/tianocore/edk2/commit/1ee162281710650d444c554f9fdbbd404abd9677 Author: Jose Marinho <jose.mari...@arm.com> Date: 2022-08-08 (Mon, 08 Aug 2022)
Changed paths: M BaseTools/Source/C/GenFw/Elf64Convert.c Log Message: ----------- Basetools/GenFw: Allow AARCH64 builds to use the --prm flag The GenFw invocation with the --prm flag was previously reserved for X64. AArch64 platforms, built with GCC5, can also deploy PRM modules, hence the --prm flag is also applicable in builds targeting the AARCH64 architecture. This commit enables the --prm flag to be used for EDK2 builds targeting AARCH64. Signed-off-by: Jose Marinho <jose.mari...@arm.com> Signed-off-by: Sami Mujawar <sami.muja...@arm.com> Reviewed-by: Michael Kubacki <michael.kuba...@microsoft.com> Reviewed-by: Ard Biesheuvel <a...@kernel.org> Commit: 9f197e44b102a8d7d457d2cb4f54967681c858a9 https://github.com/tianocore/edk2/commit/9f197e44b102a8d7d457d2cb4f54967681c858a9 Author: Jose Marinho <jose.mari...@arm.com> Date: 2022-08-08 (Mon, 08 Aug 2022) Changed paths: M PrmPkg/Include/Prm.h Log Message: ----------- PrmPkg: Enable external visibility on PRM symbols Enable GCC compilations to keep external symbols when generating a PRM module. Signed-off-by: Jose Marinho <jose.mari...@arm.com> Signed-off-by: Sami Mujawar <sami.muja...@arm.com> Reviewed-by: Michael Kubacki <michael.kuba...@microsoft.com> Reviewed-by: Ard Biesheuvel <a...@kernel.org> Commit: 21200d9fe6d5b8078b93dbddfbcdf536308b67e4 https://github.com/tianocore/edk2/commit/21200d9fe6d5b8078b93dbddfbcdf536308b67e4 Author: Jose Marinho <jose.mari...@arm.com> Date: 2022-08-08 (Mon, 08 Aug 2022) Changed paths: M PrmPkg/Samples/PrmSampleAcpiParameterBufferModule/PrmSampleAcpiParameterBufferModule.inf M PrmPkg/Samples/PrmSampleContextBufferModule/PrmSampleContextBufferModule.inf Log Message: ----------- PrmPkg: Build Prm Samples with GCC for AARCH64 - Add the --prm flag to the GENFW_FLAGS - Add the --no-gc-section to the linker flags so that apparently unreferenced symbols are not prematurely removed from the .dll which is used to generate the Prm module .efi. - Force the linker to maintain the PrmModuleExportDescriptor symbol. - Force the linker to maintain the PRM handler funtion's symbol. Signed-off-by: Jose Marinho <jose.mari...@arm.com> Signed-off-by: Sami Mujawar <sami.muja...@arm.com> Reviewed-by: Michael Kubacki <michael.kuba...@microsoft.com> Reviewed-by: Ard Biesheuvel <a...@kernel.org> Commit: 57faeb782a505935363936ab2edce282d3afc4d5 https://github.com/tianocore/edk2/commit/57faeb782a505935363936ab2edce282d3afc4d5 Author: Jose Marinho <jose.mari...@arm.com> Date: 2022-08-08 (Mon, 08 Aug 2022) Changed paths: M PrmPkg/PrmPkg.ci.yaml M PrmPkg/PrmPkg.dsc Log Message: ----------- PrmPkg: Support AArch64 builds using GCC Add support to build PrmPkg for AArch64 using the GCC compiler. Add AARCH64 architecture to the list of supported architectures. Add BaseStackCheck library to allow for Prm module builds on AARCH64. Also update the CI to add dependency on ArmPkg. Signed-off-by: Jose Marinho <jose.mari...@arm.com> Signed-off-by: Sami Mujawar <sami.muja...@arm.com> Reviewed-by: Michael Kubacki <michael.kuba...@microsoft.com> Reviewed-by: Ard Biesheuvel <a...@kernel.org> Commit: 1da2012d938f141821740324e2dceee1b4cfa76d https://github.com/tianocore/edk2/commit/1da2012d938f141821740324e2dceee1b4cfa76d Author: Jose Marinho <jose.mari...@arm.com> Date: 2022-08-08 (Mon, 08 Aug 2022) Changed paths: M PrmPkg/Readme.md Log Message: ----------- PrmPkg: Add details on AArch64 build to the Readme. Specify how to build the PrmPkg for the AArch64 architecture. Make the 2 following notes: - the PrmPkg has only been tested on AArch64 using the GCC5 toolchain. - All symbols to be listed in the PRMT as well as the PrmModuleExportDescriptor must be explicitly preserved by resorting to the --require-defined linker flag. Signed-off-by: Jose Marinho <jose.mari...@arm.com> Signed-off-by: Sami Mujawar <sami.muja...@arm.com> Reviewed-by: Michael Kubacki <michael.kuba...@microsoft.com> Reviewed-by: Ard Biesheuvel <a...@kernel.org> Compare: https://github.com/tianocore/edk2/compare/cf02322c984a...1da2012d938f _______________________________________________ edk2-commits mailing list edk2-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-commits