]> git.ipfire.org Git - thirdparty/elfutils.git/commit
libdwfl: Fix and test aux_sym address_sync with relocated ELF
authorJosh Stone <jistone@redhat.com>
Mon, 18 Nov 2013 22:29:35 +0000 (14:29 -0800)
committerJosh Stone <jistone@redhat.com>
Mon, 18 Nov 2013 22:29:35 +0000 (14:29 -0800)
commitdb35c87a85aa651b8ea3ed19689c53cefc28e313
treee880f0849642b2772ba4837f6df36d5ebb232026
parent68ce4fc85bbf95441e96fedd76c8bd78f76d8da2
libdwfl: Fix and test aux_sym address_sync with relocated ELF

The aux_sym address_sync already worked with a full prelink, which has
.gnu.prelink_undo, but it failed on plain relocations with prelink -r.

Now it uses the difference in ehdr.e_entry as a first offset guess, and
the tests confirm this seems to work fine.

Signed-off-by: Josh Stone <jistone@redhat.com>
libdwfl/ChangeLog
libdwfl/dwfl_module_getdwarf.c
tests/ChangeLog
tests/Makefile.am
tests/run-dwflsyms.sh
tests/testfilebazdbg_plr.bz2 [new file with mode: 0755]
tests/testfilebazmin_plr.bz2 [new file with mode: 0755]