Re: [PATCH 6/6] arm: move image_copy_start/end to linker symbols

2024-03-07 Thread Ilias Apalodimas
On Thu, 7 Mar 2024 at 08:55, Ilias Apalodimas wrote: > > On Thu, 7 Mar 2024 at 01:08, Sam Edwards wrote: > > > > > > > > On 3/6/24 06:23, Ilias Apalodimas wrote: > > > On Wed, 6 Mar 2024 at 12:37, Ilias Apalodimas > > > wrote: > > >> > > >> On Wed, 6 Mar 2024 at 11:35, Ilias Apalodimas > > >>

Re: [PATCH 6/6] arm: move image_copy_start/end to linker symbols

2024-03-06 Thread Ilias Apalodimas
On Thu, 7 Mar 2024 at 01:08, Sam Edwards wrote: > > > > On 3/6/24 06:23, Ilias Apalodimas wrote: > > On Wed, 6 Mar 2024 at 12:37, Ilias Apalodimas > > wrote: > >> > >> On Wed, 6 Mar 2024 at 11:35, Ilias Apalodimas > >> wrote: > >>> > >>> Hi Sam, > >>> > >>> > >>> On Wed, 6 Mar 2024 at 10:22,

Re: [PATCH 6/6] arm: move image_copy_start/end to linker symbols

2024-03-06 Thread Sam Edwards
On 3/6/24 06:23, Ilias Apalodimas wrote: On Wed, 6 Mar 2024 at 12:37, Ilias Apalodimas wrote: On Wed, 6 Mar 2024 at 11:35, Ilias Apalodimas wrote: Hi Sam, On Wed, 6 Mar 2024 at 10:22, Sam Edwards wrote: On 3/4/24 02:01, Ilias Apalodimas wrote: image_copy_start/end are defined as c

Re: [PATCH 6/6] arm: move image_copy_start/end to linker symbols

2024-03-06 Thread Ilias Apalodimas
On Wed, 6 Mar 2024 at 12:37, Ilias Apalodimas wrote: > > On Wed, 6 Mar 2024 at 11:35, Ilias Apalodimas > wrote: > > > > Hi Sam, > > > > > > On Wed, 6 Mar 2024 at 10:22, Sam Edwards wrote: > > > > > > On 3/4/24 02:01, Ilias Apalodimas wrote: > > > > image_copy_start/end are defined as c

Re: [PATCH 6/6] arm: move image_copy_start/end to linker symbols

2024-03-06 Thread Ilias Apalodimas
On Wed, 6 Mar 2024 at 11:35, Ilias Apalodimas wrote: > > Hi Sam, > > > On Wed, 6 Mar 2024 at 10:22, Sam Edwards wrote: > > > > On 3/4/24 02:01, Ilias Apalodimas wrote: > > > image_copy_start/end are defined as c variables in order to force the > > > compiler > > > emit relative references.

Re: [PATCH 6/6] arm: move image_copy_start/end to linker symbols

2024-03-06 Thread Ilias Apalodimas
Hi Sam, On Wed, 6 Mar 2024 at 10:22, Sam Edwards wrote: > > On 3/4/24 02:01, Ilias Apalodimas wrote: > > image_copy_start/end are defined as c variables in order to force the > > compiler > > emit relative references. However, defining those within a section > > definition > > will do the

Re: [PATCH 6/6] arm: move image_copy_start/end to linker symbols

2024-03-06 Thread Sam Edwards
On 3/4/24 02:01, Ilias Apalodimas wrote: image_copy_start/end are defined as c variables in order to force the compiler emit relative references. However, defining those within a section definition will do the same thing. So let's remove the special sections from the linker scripts, the

[PATCH 6/6] arm: move image_copy_start/end to linker symbols

2024-03-04 Thread Ilias Apalodimas
image_copy_start/end are defined as c variables in order to force the compiler emit relative references. However, defining those within a section definition will do the same thing. So let's remove the special sections from the linker scripts, the variable definitions from sections.c and define

[RFC PATCH 6/6] arm: move image_copy_start/end to linker symbols

2024-02-28 Thread Ilias Apalodimas
image_copy_start/end are defined as c variables in order to force the compiler emit relative references. However, defining those within a section definition will do the same thing. So let's remove the special sections from the linker scripts, the variable definitions from sections.c and define