[PATCH] readelf: Handle .debug_info first if any other debug section needs it.
Fri May 11 15:37:00 GMT 2018
On Tue, 2018-05-08 at 16:49 +0200, Mark Wielaard wrote:
> Some debug sections need information from the CU DIEs to properly
> parse the data. Normally the .debug_info section is one of the first.
> But some DWARF producers reorder the sections and put it after some
> other debug sections. Make sure we first handle .debug_info if it
> is needed by any other debug section.
Pushed to master.
The observant reader noticed this patch also "handles" .dwo
files/sections, while the general support for that isn't in yet. I'll
post that patch soon. It is already present as WIP here:
More information about the Elfutils-devel