[PATCH] arm: Add OVERLAY command to BSS section
Simon Glass
sjg at chromium.org
Sat Dec 16 19:46:55 CET 2023
On Sat, 16 Dec 2023 at 11:08, Marek Vasut
<marek.vasut+renesas at mailbox.org> wrote:
>
> Avoid allocating and loading the BSS section.
>
> $ aarch64-linux-gnu-objdump -Sh u-boot
>
> Before:
> 10 .bss_start 00000000 00000000000f21d8 00000000000f21d8 001021d8 2**0
> CONTENTS, ALLOC, LOAD, DATA
> 11 .bss 000068f8 00000000000f2200 00000000000f2200 001021d8 2**6
> ALLOC
> 12 .bss_end 00000000 00000000000f8af8 00000000000f8af8 00108af8 2**0
> CONTENTS, ALLOC, LOAD, DATA
>
> After:
> 10 .bss_start 00000000 00000000000f21d8 00000000000f21d8 001021d8 2**0
> CONTENTS
> 11 .bss 000068f8 00000000000f2200 00000000000f2200 00102200 2**6
> CONTENTS
> 12 .bss_end 00000000 00000000000f21d8 00000000000f21d8 00108af8 2**0
> CONTENTS
This one seems wrong to me. I would expect to see it after the end of .bss
>
> Signed-off-by: Marek Vasut <marek.vasut+renesas at mailbox.org>
> ---
> Cc: Simon Glass <sjg at chromium.org>
> Cc: Tom Rini <trini at konsulko.com>
> ---
> arch/arm/cpu/armv8/u-boot.lds | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Regards,
Simon
More information about the U-Boot
mailing list