u-boot/arch
Bin Meng 4a3efd71cd riscv: Fix alignment of RELA sections in the linker scripts
In current linker script both .efi_runtime_rel and .rela.dyn sections
are of RELA type whose entry size is either 12 (RV32) or 24 (RV64).
These two are arranged as a continuous region on purpose so that the
prelink-riscv executable can fix up the PIE addresses in one loop.

However there is an 'ALIGN(8)' between these 2 sections which might
cause a gap to be inserted between these 2 sections to satisfy the
alignment requirement on RV32. This would break the assumption of
the prelink process and generate an unbootable image.

Fixes: 9a6569a043 ("riscv: Update alignment for some sections in linker scripts")
Signed-off-by: Bin Meng <bmeng@tinylab.org>
Reviewed-by: Rick Chen <rick@andestech.com>
2023-06-27 10:09:51 +08:00
..
arc dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
arm imx: hab: Simplify the mechanism 2023-06-24 13:47:02 -04:00
m68k arch: m68k: Add QEMU specific RAMBAR workaround 2023-04-15 21:36:07 +02:00
microblaze microblaze: drop remnants of manual reloc 2023-03-13 11:46:17 +01:00
mips mips: cpu: Use plain puts() in restart handler 2023-06-24 13:46:55 -04:00
nios2 dm: Emit the arch_cpu_init_dm() even only before relocation 2023-05-11 10:25:29 +08:00
powerpc Merge branch 'for-2023.07-2' of https://source.denx.de/u-boot/custodians/u-boot-mpc8xx 2023-05-07 09:44:27 -04:00
riscv riscv: Fix alignment of RELA sections in the linker scripts 2023-06-27 10:09:51 +08:00
sandbox drivers: core: ofnode: fix typo in panel timing decode 2023-05-15 17:14:46 -04:00
sh dm: dts: Convert driver model tags to use new schema 2023-02-14 09:43:26 -07:00
x86 x86: samus: Don't include audio and SATA in TPL 2023-05-11 10:25:29 +08:00
xtensa global: Migrate CONFIG_MAX_MEM_MAPPED to CFG 2022-12-23 10:14:51 -05:00
.gitignore
Kconfig acpi: Create a new Kconfig for ACPI 2023-05-11 10:25:29 +08:00
Kconfig.nxp nxp: Finish migration of SYS_FSL_SRDS_[12] to Kconfig 2023-01-20 12:27:23 -05:00
u-boot-elf.lds