Re: [Xen-devel] mkelf32 incorrectly filling out the program headers for NOTE

2016-08-24 Thread Sylvain Munaut
Hi Jan, > Indeed, patch in the works. But why did you not provide a patch > yourself, considering that you've done all the diagnosis? I read the code of that tool this morning and couldn't really understand how "offset" was computed. I was seeing : offset = in64_phdr.p_offset; then a bit late

Re: [Xen-devel] mkelf32 incorrectly filling out the program headers for NOTE

2016-08-24 Thread Jan Beulich
>>> On 24.08.16 at 12:07, wrote: > Hi, > > Here's the readelf output (snipped) on a xen-4.7 build : > > Section Headers: > [Nr] Name TypeAddr OffSize ES Flg Lk > Inf Al > [ 0] NULL 00 00 00 0 > 0 0 >

[Xen-devel] mkelf32 incorrectly filling out the program headers for NOTE

2016-08-24 Thread Sylvain Munaut
Hi, Here's the readelf output (snipped) on a xen-4.7 build : Section Headers: [Nr] Name TypeAddr OffSize ES Flg Lk Inf Al [ 0] NULL 00 00 00 0 0 0 [ 1] .text PROGBITS0010 80