Re: [PATCH v3 1/2] xen/build: put image header into a separate section

2022-03-08 Thread Jan Beulich
On 08.03.2022 17:36, Roger Pau Monné wrote: > On Tue, Mar 08, 2022 at 04:08:53PM +0100, Jan Beulich wrote: >> On 08.03.2022 15:18, Roger Pau Monné wrote: >>> On Tue, Mar 08, 2022 at 02:57:23PM +0100, Jan Beulich wrote: On 08.03.2022 14:49, Roger Pau Monne wrote: > So it can be explicitly p

Re: [PATCH v3 1/2] xen/build: put image header into a separate section

2022-03-08 Thread Roger Pau Monné
On Tue, Mar 08, 2022 at 04:08:53PM +0100, Jan Beulich wrote: > On 08.03.2022 15:18, Roger Pau Monné wrote: > > On Tue, Mar 08, 2022 at 02:57:23PM +0100, Jan Beulich wrote: > >> On 08.03.2022 14:49, Roger Pau Monne wrote: > >>> So it can be explicitly placed ahead of the rest of the .text content >

Re: [PATCH v3 1/2] xen/build: put image header into a separate section

2022-03-08 Thread Jan Beulich
On 08.03.2022 15:18, Roger Pau Monné wrote: > On Tue, Mar 08, 2022 at 02:57:23PM +0100, Jan Beulich wrote: >> On 08.03.2022 14:49, Roger Pau Monne wrote: >>> So it can be explicitly placed ahead of the rest of the .text content >>> in the linker script (and thus the resulting image). This is a >>>

Re: [PATCH v3 1/2] xen/build: put image header into a separate section

2022-03-08 Thread Roger Pau Monné
On Tue, Mar 08, 2022 at 02:11:28PM +, Andrew Cooper wrote: > On 08/03/2022 13:49, Roger Pau Monne wrote: > > diff --git a/xen/arch/arm/xen.lds.S b/xen/arch/arm/xen.lds.S > > index 08016948ab..47d09d6cf1 100644 > > --- a/xen/arch/arm/xen.lds.S > > +++ b/xen/arch/arm/xen.lds.S > > @@ -30,9 +30,13

Re: [PATCH v3 1/2] xen/build: put image header into a separate section

2022-03-08 Thread Roger Pau Monné
On Tue, Mar 08, 2022 at 02:57:23PM +0100, Jan Beulich wrote: > On 08.03.2022 14:49, Roger Pau Monne wrote: > > So it can be explicitly placed ahead of the rest of the .text content > > in the linker script (and thus the resulting image). This is a > > prerequisite for further work that will add a c

Re: [PATCH v3 1/2] xen/build: put image header into a separate section

2022-03-08 Thread Andrew Cooper
On 08/03/2022 13:49, Roger Pau Monne wrote: > diff --git a/xen/arch/arm/xen.lds.S b/xen/arch/arm/xen.lds.S > index 08016948ab..47d09d6cf1 100644 > --- a/xen/arch/arm/xen.lds.S > +++ b/xen/arch/arm/xen.lds.S > @@ -30,9 +30,13 @@ SECTIONS >_start = .; >.text : { > _stext = .;

Re: [PATCH v3 1/2] xen/build: put image header into a separate section

2022-03-08 Thread Jan Beulich
On 08.03.2022 14:49, Roger Pau Monne wrote: > So it can be explicitly placed ahead of the rest of the .text content > in the linker script (and thus the resulting image). This is a > prerequisite for further work that will add a catch-all to the text > section (.text.*). > > Note that placement of

[PATCH v3 1/2] xen/build: put image header into a separate section

2022-03-08 Thread Roger Pau Monne
So it can be explicitly placed ahead of the rest of the .text content in the linker script (and thus the resulting image). This is a prerequisite for further work that will add a catch-all to the text section (.text.*). Note that placement of the sections inside of .text is also slightly adjusted