[PATCH v3 2/7] arm: clean up v7 and v8 linker scripts for bss_start/end
Richard Henderson
richard.henderson at linaro.org
Wed Mar 13 21:19:52 CET 2024
On 3/13/24 06:23, Ilias Apalodimas wrote:
> +++ b/arch/arm/cpu/armv8/u-boot-spl.lds
> @@ -63,18 +63,11 @@ SECTIONS
>
> _image_binary_end = .;
>
> - .bss_start (NOLOAD) : {
> - . = ALIGN(8);
> - KEEP(*(.__bss_start));
> - } >.sdram
> -
> - .bss (NOLOAD) : {
> + .bss : {
> + __bss_start = .;
> *(.bss*)
> - . = ALIGN(8);
> - } >.sdram
> -
> - .bss_end (NOLOAD) : {
> - KEEP(*(.__bss_end));
> + . = ALIGN(8);
> + __bss_end = .;
Still missing the alignment on .bss, previously in .bss_start.
With that fixed,
Reviewed-by: Richard Henderson <richard.henderson at linaro.org>
r~
More information about the U-Boot
mailing list