Commit 70cd907e authored by Mark Wielaard's avatar Mark Wielaard
Browse files

nm: If the file is ET_REL and we need Dwarf use libdwfl to get it relocated.



If we need Dwarf and the file is ET_REL use the same trick as in readelf
to get a relocated Dwarf. Otherwise lots of references in the debug_info
will come out as zero.

This also explains the "bogus" Dwarf seen that caused the memory leak in
the local_root that was fixed previously.

Signed-off-by: default avatarMark Wielaard <mjw@redhat.com>
parent 3fbd8572
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment