Re: [PATCH] libelf: Get alignement correct when calling conversion functions.

2018-11-21 Thread Mark Wielaard
On Sun, 2018-11-18 at 15:38 +0100, Mark Wielaard wrote: > When writing out data that needs to be converted we have to make sure > the conversion function is called on correctly aligned buffers. When > using mmap this might mean we have to convert into a temporarily > buffer > if the user wants to w

[PATCH] libelf: Get alignement correct when calling conversion functions.

2018-11-18 Thread Mark Wielaard
When writing out data that needs to be converted we have to make sure the conversion function is called on correctly aligned buffers. When using mmap this might mean we have to convert into a temporarily buffer if the user wants to write out the section at a location that is not correctly aligned f