[PATCH] libdwfl: Handle unaligned Phdr in dwfl_segment_report_module

2021-12-19 Thread Mark Wielaard
The xlate functions only handle correctly aligned buffers. But they do handle src == dest. So if the source buffer isn't aligned correctly just copy it first into the destination (which is already correctly aligned). Signed-off-by: Mark Wielaard --- libdwfl/ChangeLog| 5

[PATCH] libdwfl: Handle unaligned Phdr in dwfl_segment_report_module

2021-12-19 Thread Mark Wielaard
The xlate functions only handle correctly aligned buffers. But they do handle src == dest. So if the source buffer isn't aligned correctly just copy it first into the destination (which is already correctly aligned). Signed-off-by: Mark Wielaard --- libdwfl/ChangeLog| 6