[PATCH 1/2] ARM: cpu: common: skip R_ARM_NONE relocations
Sascha Hauer
s.hauer at pengutronix.de
Tue Jan 6 05:18:25 PST 2026
On Tue, 06 Jan 2026 09:16:56 +0100, Ahmad Fatoum wrote:
> Relocations may be turned into no-op in place by strip running on an
> executable by having their type set to 0 (R_ARM_NONE).
>
> This can happen with the incoming ELF loading in PBL support, so teach
> relocate_to_current_adr() to skip these no-op relocation entries.
>
>
> [...]
Applied, thanks!
[1/2] ARM: cpu: common: skip R_ARM_NONE relocations
https://git.pengutronix.de/cgit/barebox/commit/?id=9ef816e176d9 (link may not be stable)
[2/2] ARM: cpu: common: define generic relocate_image
https://git.pengutronix.de/cgit/barebox/commit/?id=d7ee5518c5cc (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list