[PATCH 2/7 v2] arm: clean up v7 and v8 linker scripts for bss_start/end

Richard Henderson richard.henderson at linaro.org
Tue Mar 12 16:51:43 CET 2024


On 3/12/24 04:08, Ilias Apalodimas wrote:
> -	.bss_start (NOLOAD) : {
> -		. = ALIGN(8);

This alignment got lost.

> -		KEEP(*(.__bss_start));
> -	} >.sdram
> -
> -	.bss (NOLOAD) : {
> +	.bss : {

If it is required, the best replacement would be here on the output section definition.

> -	. = ALIGN(8);
> -
> -	.bss_start : {
> -		KEEP(*(.__bss_start));
> -	}
> -
> -	.bss : {
> +	.bss ALIGN(8): {

Like you did here.


r~


More information about the U-Boot mailing list