[PATCH master] sandbox: lds: fix relocation in read-only section warning
Sascha Hauer
s.hauer at pengutronix.de
Mon Oct 14 23:55:45 PDT 2024
On Mon, 14 Oct 2024 13:35:40 +0200, Ahmad Fatoum wrote:
> To address an "ELF has a LOAD segment with RWX permissions" warning
> during the sandbox build, the RO_DATA_SECTION was marked READONLY.
>
> At least with Debian GCC 12.2.0-14, this just brought us a different
> warning:
>
> /usr/bin/ld: common/memory.o: warning: relocation in read-only section `.initcall.9'
> /usr/bin/ld: warning: creating DT_TEXTREL in a PIE
>
> [...]
Applied, thanks!
[1/1] sandbox: lds: fix relocation in read-only section warning
https://git.pengutronix.de/cgit/barebox/commit/?id=9833da898934 (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list