Re: [PATCH v2] arm: Add OVERLAY command to BSS section on ARM64

2024-02-06 Thread Ilias Apalodimas
On Tue, 6 Feb 2024 at 16:44, Ilias Apalodimas wrote: > > Hi Marek, > > On Sun, Dec 17, 2023 at 01:33:39AM +0100, Marek Vasut wrote: > > Avoid allocating and loading the BSS section. > > > > Can we elaborate a bit more on why we need this? AFAICT there's no code > loading those segments in memory

Re: [PATCH v2] arm: Add OVERLAY command to BSS section on ARM64

2024-02-06 Thread Ilias Apalodimas
Hi Marek, On Sun, Dec 17, 2023 at 01:33:39AM +0100, Marek Vasut wrote: > Avoid allocating and loading the BSS section. > Can we elaborate a bit more on why we need this? AFAICT there's no code loading those segments in memory and swapping them, so why do we need the OVERLAY? On top of that the

Re: [PATCH v2] arm: Add OVERLAY command to BSS section on ARM64

2023-12-17 Thread Tom Rini
On Sun, Dec 17, 2023 at 01:33:39AM +0100, Marek Vasut wrote: > Avoid allocating and loading the BSS section. > > $ aarch64-linux-gnu-objdump -Sh u-boot > > Before: > 10 .bss_start 000f21d8 000f21d8 001021d8 > 2**0 >CONTENTS, ALLOC, LOAD,

[PATCH v2] arm: Add OVERLAY command to BSS section on ARM64

2023-12-16 Thread Marek Vasut
Avoid allocating and loading the BSS section. $ aarch64-linux-gnu-objdump -Sh u-boot Before: 10 .bss_start 000f21d8 000f21d8 001021d8 2**0 CONTENTS, ALLOC, LOAD, DATA 11 .bss 68f8 000f2200 000f2200 001021d8