This series implements 4 KB section alignment for ARM, which is required for supporting the Properties Table memory protection feature on this architecture.
Patch #1 is a simple cleanup from the copy/paste that created Elf64Convert.c Patch #2 changes the PE/COFF .data alignment to adhere to the global section and file alignment. Not doing so means the resulting binary violates the PE/COFF spec, but the shift of .data may result in many relative relocations to be recomputed (which is presumably the reason why the alignment is omitted here) Patch #3 switches to the new GCC linker scripts for ARM Patch #4 sets the 4 KB alignment linker command line option to ensure .text and .data can be represented by separate memory regions, allowing their permissions to be set to R-X and RW- respectively. Changes since v1: - rebased onto latest GCC linker script changes - added Laszlo's ack to #4 Ard Biesheuvel (4): BaseTools/GenFw: remove ARM and RVCT references from ELF64 code BaseTools/GenFw: make ARM's .data adhere to PE/COFF section alignment BaseTools/ARM: move to unified GCC linker script ArmVirtPkg: use 4 KB section alignment for ARM DXE_RUNTIME modules ArmVirtPkg/ArmVirt.dsc.inc | 3 ++- BaseTools/Conf/tools_def.template | 12 ++++++++++-- BaseTools/Source/C/GenFw/Elf32Convert.c | 20 +++++++++++++------- BaseTools/Source/C/GenFw/Elf64Convert.c | 17 +---------------- 4 files changed, 26 insertions(+), 26 deletions(-) -- 1.9.1 _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

