u-boot/arch
Heinrich Schuchardt 9ef5ccaa71 efi_loader: fix SectionAlignment, FileAlignment
The alignment of sections in the EFI binaries generated by U-Boot is
incorrect.

According to the PE-COFF specification [1] the minimum value for
FileAlignment is 512. If the value of SectionAlignment is
less then the page size, it must equal FileAlignment.

Let's set both values to 512 for the ARM and RISC-V architectures.

[1] https://docs.microsoft.com/en-us/windows/win32/debug/pe-format

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2022-01-15 10:57:22 +01:00
..
arc Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
arm efi_loader: fix SectionAlignment, FileAlignment 2022-01-15 10:57:22 +01:00
m68k m68k: mcf5445x: pci: Use PCI_CONF1_ADDRESS() macro 2022-01-12 14:21:24 -05:00
microblaze image: Drop IMAGE_ENABLE_OF_LIBFDT 2021-10-08 15:53:26 -04:00
mips Convert CONFIG_USB_EHCI_IS_TDI to Kconfig 2021-10-15 09:42:22 -04:00
nds32 Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
nios2 lmb: nios2: Add arch_lmb_reserve() 2021-09-23 14:15:32 -04:00
powerpc ppc: mpc83xx: Remove unused CONFIG symbols 2021-12-27 16:20:18 -05:00
riscv efi_loader: fix SectionAlignment, FileAlignment 2022-01-15 10:57:22 +01:00
sandbox sandbox: compatibility of os_get_filesize() 2022-01-13 09:13:41 -07:00
sh Convert CONFIG_CPU_SH7751 to Kconfig 2021-12-27 16:20:19 -05:00
x86 bloblist: Rename the SPL tag 2022-01-13 09:13:41 -07:00
xtensa Finish conversion of CONFIG_SYS_CLK_FREQ to Kconfig 2021-12-27 16:20:18 -05:00
.gitignore
Kconfig Convert CONFIG_ARCH_MAP_SYSMEM to Kconfig 2021-12-27 16:20:18 -05:00
u-boot-elf.lds arch: Add explicit linker script for u-boot-elf 2020-04-03 11:52:55 -04:00