[PATCH v2] ARM64: reloc: fix relocation error for big fat bareboxes

Sascha Hauer s.hauer at pengutronix.de
Tue May 14 22:55:13 PDT 2024


On Mon, 13 May 2024 16:01:21 +0200, Ahmad Fatoum wrote:
> A multi_v8 barebox with KASAN enabled is 2051804 bytes even after
> compression and this breaks linking for me:
> 
>   arch/arm/cpu/common.o: in function `global_variable_offset':
>   arch/arm/include/asm/reloc.h:20:(.text.relocate_to_current_adr+0x1c):
>     relocation truncated to fit: R_AARCH64_ADR_PREL_LO21 against symbol
>     `_text' defined in .text section in .tmp_barebox1
>   arch/arm/include/asm/reloc.h:20:(.text.relocate_to_current_adr+0x40):
>     relocation truncated to fit: R_AARCH64_ADR_PREL_LO21 against symbol
>     `_text' defined in .text section in .tmp_barebox1
> 
> [...]

Applied, thanks!

[1/1] ARM64: reloc: fix relocation error for big fat bareboxes
      https://git.pengutronix.de/cgit/barebox/commit/?id=9246c916a25a (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list