diff options
author | Mark Wielaard <mjw@redhat.com> | 2015-12-02 16:57:44 +0100 |
---|---|---|
committer | Mark Wielaard <mjw@redhat.com> | 2016-01-02 20:37:45 +0100 |
commit | 70cd907e38757283f3696465771f723a342cc3d1 (patch) | |
tree | 362c997b35d75269767e1f95dfe609824533036e /src/ChangeLog | |
parent | 3fbd857267a6bffc57225857690aaa383ac58426 (diff) | |
download | android_external_elfutils-70cd907e38757283f3696465771f723a342cc3d1.tar.gz android_external_elfutils-70cd907e38757283f3696465771f723a342cc3d1.tar.bz2 android_external_elfutils-70cd907e38757283f3696465771f723a342cc3d1.zip |
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: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'src/ChangeLog')
-rw-r--r-- | src/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index ffc1b294..b5b5e4a4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,15 @@ 2015-12-02 Mark Wielaard <mjw@redhat.com> + * nm.c (process_file): Accept fd and pass it on. + (handle_elf): Likewise. + (find_no_debuginfo): New. + (struct getdbg): Likewise. + (getdbg_dwflmod): Likewise. + (show_symbols): Take fd. If the file is ET_REL use libdwfl to get + the relocated Dwarf. + +2015-12-02 Mark Wielaard <mjw@redhat.com> + * nm.c (get_local_names): Check for duplicates in local_root tree. 2015-12-02 Mark Wielaard <mjw@redhat.com> |