On Tue, 10 Sep 2024 11:00:50 +0200, Ahmad Fatoum wrote: > With binutils 2.39+, the barebox build started emitting this warning. > On platforms other than sandbox, we disable this warning by passing --no-warn-rwx > to ld as we don't care for ELF attributes as they aren't used anyway. > > On sandbox, however, the ELF attributes matter, so disabling the warning > completely felt wrong. Looking more into it now, we can mark the > .barebox_rodata section in the linker file snippet we have in sandbox as > READONLY and the warning disappears, so let's do that instead. > > [...] Applied, thanks! [1/1] sandbox: lds: fix "ELF has a LOAD segment with RWX permissions" warning https://git.pengutronix.de/cgit/barebox/commit/?id=c11590f5643b (link may not be stable) Best regards, -- Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>