Recent fixes for correctness in GenFw have resulted in build problems under RVCT. These patches fix this by introducing linker scripts (scatter files in ARM speak) and updating GenFw to enforce identical memory layouts between ELF and PE/COFF as we do for GCC. Patch #3 illustrates how we can now enable 4 KB section alignment for DXE_RUNTIME_DRIVER modules.
Ard Biesheuvel (3): BaseTools RVCT: use scatter file to enforce minimum section alignment BaseTools/GenFw RVCT: fix relocation processing of PT_DYNAMIC sections ArmVirtPkg RVCT: build DXE_RUNTIME_DRIVER modules with 4 KB alignment ArmVirtPkg/ArmVirt.dsc.inc | 1 + BaseTools/Conf/tools_def.template | 2 +- BaseTools/Scripts/Rvct-Align32.sct | 25 ++++++++++++++ BaseTools/Scripts/Rvct-Align4K.sct | 25 ++++++++++++++ BaseTools/Source/C/GenFw/Elf32Convert.c | 36 ++++++++++++++------ 5 files changed, 78 insertions(+), 11 deletions(-) create mode 100644 BaseTools/Scripts/Rvct-Align32.sct create mode 100644 BaseTools/Scripts/Rvct-Align4K.sct -- 1.9.1 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

