Re: [Xen-devel] [PATCH v2 19/20] livepatch/elf: Adjust section aligment to word

2016-09-07 Thread Jan Beulich
>>> On 06.09.16 at 23:18, wrote: > On Thu, Aug 25, 2016 at 09:11:15AM -0600, Jan Beulich wrote: >> >>> On 25.08.16 at 15:37, wrote: >> > --- a/xen/common/livepatch_elf.c >> > +++ b/xen/common/livepatch_elf.c >> > @@ -71,7 +71,15 @@ static int elf_resolve_sections(struct livepatch_elf >> > *elf,

Re: [Xen-devel] [PATCH v2 19/20] livepatch/elf: Adjust section aligment to word

2016-09-06 Thread Konrad Rzeszutek Wilk
On Thu, Aug 25, 2016 at 09:11:15AM -0600, Jan Beulich wrote: > >>> On 25.08.16 at 15:37, wrote: > > On most architectures it does not matter what the aligment is. > > > > On ARM32 it is paramount that the aligment is word-size (4) > > otherwise we get a Data Abort when trying to perform ELF > > r

Re: [Xen-devel] [PATCH v2 19/20] livepatch/elf: Adjust section aligment to word

2016-09-01 Thread Julien Grall
Hi, On 25/08/16 16:11, Jan Beulich wrote: On 25.08.16 at 15:37, wrote: On most architectures it does not matter what the aligment is. On ARM32 it is paramount that the aligment is word-size (4) otherwise we get a Data Abort when trying to perform ELF relocations. That is due to ARM 32 only be

Re: [Xen-devel] [PATCH v2 19/20] livepatch/elf: Adjust section aligment to word

2016-08-25 Thread Jan Beulich
>>> On 25.08.16 at 15:37, wrote: > On most architectures it does not matter what the aligment is. > > On ARM32 it is paramount that the aligment is word-size (4) > otherwise we get a Data Abort when trying to perform ELF > relocations. That is due to ARM 32 only being able to write to > word-alig

[Xen-devel] [PATCH v2 19/20] livepatch/elf: Adjust section aligment to word

2016-08-25 Thread Konrad Rzeszutek Wilk
On most architectures it does not matter what the aligment is. On ARM32 it is paramount that the aligment is word-size (4) otherwise we get a Data Abort when trying to perform ELF relocations. That is due to ARM 32 only being able to write to word-aligned addresses. The default section alignments