Re: [PATCH 7/7 v2] arm: remove redundant section alignments

2024-03-13 Thread Ilias Apalodimas
Hi Richard, Pasting some of the discussions we had over IRC for completeness. On Tue, 12 Mar 2024 at 19:00, Richard Henderson wrote: > > On 3/12/24 04:08, Ilias Apalodimas wrote: > > index 33f4624b561d..ccdd1966cfbc 100644 > > --- a/arch/arm/cpu/armv8/u-boot.lds > > +++ b/arch/arm/cpu/armv8/u-bo

Re: [PATCH 7/7 v2] arm: remove redundant section alignments

2024-03-12 Thread Richard Henderson
On 3/12/24 04:08, Ilias Apalodimas wrote: index 33f4624b561d..ccdd1966cfbc 100644 --- a/arch/arm/cpu/armv8/u-boot.lds +++ b/arch/arm/cpu/armv8/u-boot.lds @@ -132,7 +132,7 @@ SECTIONS _end = .; - .bss ALIGN(8): { + .bss : { __bss_start = .; *(.

[PATCH 7/7 v2] arm: remove redundant section alignments

2024-03-12 Thread Ilias Apalodimas
Previous patches cleaning up linker symbols, also merged any explicit . = ALIGN(x); into section definitions -- e.g '.bss ALIGN(x) :' instead of '. - ALIGN(x); bss : {...}' However, if the output address is not specified then one will be chosen for the section. This address will be adjusted to fit