[PATCH master] ARM64: lds: place relocation tables explicitly
Sascha Hauer
s.hauer at pengutronix.de
Mon Aug 31 05:14:51 PDT 2026
On Mon, 31 Aug 2026 12:03:32 +0200, Ahmad Fatoum wrote:
> arch/arm/lib64/barebox.lds.S names PHDRS, but doesn't mention .rela.dyn,
> .relr.dyn or .dynsym, so the linker places them as orphans.
>
> With CONFIG_RELR disabled and a RELA table of several hundred KiB, GNU ld
> squeezes it in-between .efi_runtime.text and .efi_runtime.data.
> The latter, which starts its own PT_LOAD segment, ends then at an
> unaligned address:
>
> [...]
Applied, thanks!
[1/1] ARM64: lds: place relocation tables explicitly
https://git.pengutronix.de/cgit/barebox/commit/?id=39ce98f9cb1c (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list